- Home /
Character Speech
Hi,
Im considering methods to have my characters speak in-game. I have looked briefly at FaceFx, but seems a little heavyweight for my needs. I was wondering whether if, via scripting, I can animated the jaw transform, from analyzing the audio level of the speech sound file. Peaks would open the mouth and silence would shut it. Not very realistic, but I think it would do for me right now. Is this possible? I have scoured the reference but find only 2 obscure things...
GetOutputData
Returns a block of the currently playing source's output data GetSpectrumData
Returns a block of the currently playing source's spectrum data
dunno what that means!
Are there any other methods in use by anyone?
I dont really want to hard animate as my game will involve ALOT of audio speech, infact Im thinking of streaming into the game... is this a problem (hence why im interested that animation that actually happens live, in the client...
Mark
FWIW I'm working on a simple lip sync package but it's nowhere near ready to show any yet. Hope to put in Asset Store in a month or two.
Answer by markfrancombe · Mar 22, 2012 at 09:36 PM
need a beta tester? ;-)
let me know when you are done!
Mark
(You should use 'add new comment') Yeah, that will be great!
Ok, got the 'simple' demo working, see here: http://forum.unity3d.com/threads/131047-Lip-Sync-demo
Your answer
![](https://koobas.hobune.stream/wayback/20220613065424im_/https://answers.unity.com/themes/thub/images/avi.jpg)