0
0

When I looked at the FMod site for the first time I noticed the volume envelope chart of a sound in the logo at the top. I want one for my project, but I dont see anything like it in the API.

What I want is to be able to follow the audio amplitude for a little mixer. What I imagine is a routine to give me the volume envelope at a specified interval.

This is easy, just take the ‘biggest’ value of the samples in a set range.

Question is how do I follow the playing position of that sample as easily as possible? Which call back routine(s) would be the easiest to implement this in?

Also is there a way to get the sample volumes, or volume averages regardless of which mixer is selected in a single format?

Thanks,

Michael

  • You must to post comments
0
0

The easiest, but not very accurate way is by calling FSOUND_GetVU or something like that. It will give you the volume and is updated every 25 ms I think.
The more accurate way is to use a dsp.
The problem is that it will give you different kind of values depending of the selected mixer.
The dsp will give you all sample values so you can sort out the data yourself.
There is an example of a dsp included with the fmod sdk.

  • You must to post comments
0
0

It is possible to have the source code also please ?

I am also working on winamp vis plugins, I get it to work with winamp in and out plugins, but not yet in FMOD

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.