0
0

Hi all.

I’m looking for a way to record and playback with minimal delay. After taking a peek at the very helpful ‘recording’ example application, I’ve now got recording and playback working.

At present, just to test the water, I have a call to System::recordStart immediately followed by a call to System::playSound. As I was expecting, this produces some skipping/stuttering due to buffer underrun.

I’m just looking for some general direction with this really. What would be the best way to record and playback audio with minimal delay whilst retaining quality and clarity? Would something like this even be best done with FMOD? Ultimately, I aim to playback the recorded audio with DSP effects; will this be possible?

Any help at all is hugely appreciated.

  • You must to post comments
0
0

You can control the delay between recording and playing by sleeping in between your calls to recordStart and playSound. The most accurate way to control the distance between the two is by checking system::getRecordPosition in a loop with very short sleeps. Once the record position has reached a value you are happy with you continue on, to get a value that reliably gives no stuttering will require some testing.

And yes, you can apply DSP effects to your recorded channel to get realtime voice modification.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.