SamuKata
sgthale
sgthale

patreon


Beginning Voice And Sound Implementation

The poll results for feature schedule change was 8 for nay and 22 for yey. So I have begun implementing the voice lines! I finished a big chunk of the preparations required to start putting them into my code.

To start, the production studio gave me one 17 minute long .wav file that included all of the voice lines. I went in and cut each sound out and saved them to their own file. A grand total of 338 reusable sound effects:

Because of the volume of all of these assets, I needed to make a Unity tool that would help me group up these sounds into useful sets for specific actions. And thus I added onto my Shinobu Editor dialog box:

It mostly handles the automatic creation and validation of the ScriptableObjects, VoiceSets as they are called. Each VoiceSet is then called by a simple shinobu.Speak( VOICE_SET_ENUM ). This helped tremendously organize the stuff into my game rather quickly.

There is lots to do to implement these voice lines. Some behaviors may need new logic to fire the sound at regular intervals or at specific moments outside of an animation. But the hardest part is matching her lips with the voice lines. I may need to revisit some animations to re-animate Shinobu's lips. Ideally she would lip sync the waveform of the .wave file but I think that would be better for further down the road once she starts saying words. You can download a very early test run video of a sound implementation below. Most actions don't have sound yet. I have to go back and implement sound for each logic module. One by one. I'll probably make another YouTube video when I finish most of it.

Also going to fix some of her look at logic since she stares oddly sometimes.

Beginning Voice And Sound Implementation

More Creators