I am using FMOD to record voice and add some effects at the same time base on examples/record_realtimeplayback and examples/recordtodisk.
But the output "record.wav" doesn’t include the effects.
How can I save recorded wave data with effects?
- FandyM asked 4 years ago
record to disk I think calls lock/unlock on a sound. That does not include effects or playback.
To apply an effect you have to play the sound, and use addDSP, but to record that to disk you have to either add a capture DSP at the system level (System::addDSP with your own code that writes to disk) or if you dont mind not hearing the output, use FMOD_OUTPUT_WAVEWRITER output which automatically writes the output to the disk.
Hi brett, thanks for your answer.
I get wave data with effects through the use of custom DSP(refer to examples/dsp_custom).
Now, there is another question : when I play a wave without any effect, the samples of the wave I get are greater than the original wave, how can I get the same samples?
My code is revised on the basis of examples/loadfrommemory and examples/dsp_custom.
The attachments include code, original wave(test.wav) and saved wave(record.wav).
I uploaded attachments, but cannot find them. Why?
- FandyM answered 4 years ago
Please login first to submit.