0
0

Hi all,

I’m working on an graphical application with models, where a person ‘speaks’ an ogg file. I use the FSOUND_DSP_GetSpectrum function from FMOD to open the mouth based on the average volume of the band [250-2000 Hz]. This works just fine, but when I play more ogg files at the same time (on different channels though), the ‘speaking’ no longer works, ’cause the spectrum is from the final output, not from a single stream.

So my question is:

Is there ANY way to get the spectrum from a single stream?

Marc

  • You must to post comments
0
0

And what is the scheduled release date for FMOD 4? I really like the system and I’m considering using it in a commercial application. But i’m not sure if I’ll do this due to the fact that only global spectrums are possible….

  • You must to post comments
0
0

We do something similar in our games for actors in cutscenes. The difference is that we preprocess the lip syncing by creating a small data file based on the volume of the wave file. Then in the game we play the wave file and use the data file to move the actors mouth.

  • You must to post comments
0
0

[quote="Marc aka Foddex":1ec01xzd]And what is the scheduled release date for FMOD 4? I really like the system and I’m considering using it in a commercial application. But i’m not sure if I’ll do this due to the fact that only global spectrums are possible….[/quote:1ec01xzd]

Like Brett said, you could always use a DSP callback…

  • You must to post comments
0
0

true, but I haven’t got a clue how to do it … but preprocessing is an idea…

  • You must to post comments
0
0

thanks for the suggestions people!

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.