Write the output of the remote IO Audio Unit to a file offline

I have a program that generates sound using an AUSampler connected to a Remote IO Audio Unit. AUSampler is driven by pre-recorded events that fire in a synchronized loop. I want to write the received sound to a file.

There are a few more questions about writing to a file in the I / O module render callback:

But all this concerns the recording of data in real time. Is there a way to offline render a file in less time than to play it?

+6
source share
1 answer

If you are doing a pre-recorded sequence, then why not just write raw PCM data to disk? The ExtAudioFileWriteAsync function should work in this case.

+1
source

Source: https://habr.com/ru/post/917291/


All Articles