0
0

I have a sound file that contains data (captured from a polar watch, containing the exercise information). I need to run it through several filters (normalize, highpass, median, dilate) and then process the data.
I thought of using fmod for capturing the sound (either from sound card or file) and running it through the filters in a platform independent way (also saves me from writing the filters).
I tried opening a sound file with System::createSound and then read the data using Sound::readData but this skips using the filters (dsp). Is there any other way to do this or is fmod not the right tool for the job?

Thanks

  • You must to post comments
0
0

You could try FMOD_OUTPUT_NOSOUND_NRT

  • You must to post comments
0
0

That would allow the dsp to operate on the sound, but how do I attach to the output?
The only thing I can think of is to create a dsp whose only perpose is to tap in on the output. Is this the right approach or is there an easier way?

  • You must to post comments
0
0

yes you would create your own dsp, then call system->addDSP or channel->addDSP.

If you just want it dumped to a wave file or something you could use FMOD_OUTPUT_WAVEWRITER_NRT instead.

  • You must to post comments
0
0

can anyone point me to documentation on how to write my own dsp? I tried searching for something but there is nothing in the help file as far as I could find, nor examples or sources to look though

  • You must to post comments
0
0

There is an exmaple called dsp_custom, have a look in the examples directory again :)

  • You must to post comments
0
0

It doesn’t exist in the linux fmodapi40424linux or fmodapi40425linux downloads (the stable and development versions of the linux fmod 4 ex api)

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.