Passthru AudioUnit that saves its input to file?
Passthru AudioUnit that saves its input to file?
- Subject: Passthru AudioUnit that saves its input to file?
- From: "Michael Lawler" <email@hidden>
- Date: Sat, 28 Feb 2004 14:32:06 +1100
Hi there,
What would be the issues in writing a "passthru" AudioUnit effect that
writes its input to an AIFF file?
Could you save up enough buffers and then do your write to the file at
callback time, or is an expensive operation like writing to the file a bad
idea while handling a buffer of audio?
Would you have to have a background thread that takes care of writing the
data to the file?
I have written an AudioUnit to do look-ahead peak limiting I want Logic to
be able to record individual Rewire'd tracks. It doesn't look like it
supports this easily. I tried Jack, but I couldnt get it to work, so I
thought , hey I'll just write it...
Has anyone written an AudioUnit that does this? Can anyone see any issues
that would prevent me from whipping this up in a nite or two?
My thoughts are that the AudioUnit effect would open a new file everytime it
starts receiving an audiostream, and close the file when the stream stops.
regards,
Michael
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.