Jayson
Jayson

Reputation: 1687

Write the output of a 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. The AUSampler is controlled by pre-recorded events that are triggered in a timed loop. I want to write the resulting sound to a file.

There are some other questions on writing to a file in the render callback of the IO unit:

But these all deal with writing the data in real time. Is there a way to offline render the file in less time it takes than to play it?

Upvotes: 7

Views: 1720

Answers (1)

Nik Reiman
Nik Reiman

Reputation: 40390

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

Upvotes: 0

Related Questions