0
0

Im writing an audio processing program.
I read blok of wav file as a raw data then process it with my own filters and use FMOD to play this stream. And my question is how to use FMOD to process mp3 ? – to decode a compressed mp3 to raw samples and then play this block after processing.

  • You must to post comments
0
0

Have a look at the DSP documentation and examples. It is very powerful and quite easy to use.

Ciao
Davide

  • You must to post comments
0
0

Alternatively you could use Stream_Create.
There you can define a callback-function, that is frequently called by fmod and requested to overgive a buffer filled with the actual stream-data.

At http://fmod.2mal2mal.de you can find some fmod-examples.
An example of how to use Stream_Create is SineMouse.
The DSP-functions are used by Simple_LPF_HPF_Gain.

  • You must to post comments
0
0

Thanks for reply. Now i solve the problem using the FSOUND_Sample_Load to load mp3 into memory and next FSOUND_Sample_Lock to get the decompressed pcm data.
I dont wanna use DSP callback because processed pcm data will be used in different ways for ex. hdd recording or direct mp3 encoding without playing it.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.