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

need a beta tester?
:wink:

let me know when you are done!

Mark