I am using fmod to create a graphics program that reacts to computationally detectable properties of sound. I have been able to get frequency and amplitude values from an mp3.
float l = 0;
float r = 0;
int pos = FSOUND_GetCurrentPosition(channel2);
// get audio data
FSOUND_GetCurrentLevels(channel2, &l, &r);
My question is filtering amplitude data. Setting graphics to a pure amplitude tends to create very jittery, jumpy graphics.
What is the best way to filter this data? Is there an fmod function that does this or do I need to do it in C++? Would I have to set a certain regular intervals in the audio data?
Thanks in advance.
- eye30 asked 15 years ago
- You must login to post comments