Re: Making aiff file from a Midi Sequence
Re: Making aiff file from a Midi Sequence
- Subject: Re: Making aiff file from a Midi Sequence
- From: Robert Grant <email@hidden>
- Date: Sat, 29 Nov 2003 15:21:04 -0500
Hi Craig,
I haven't played with the MusicPlayer stuff much - but it makes sense
that you have to start the sequencer. If you don't there won't be
anything pushing notes into the Music Devices and thus no sound will be
produced. Also the MusicPlayer is the one that knows when the sequence
has ended. Starting the MusicPlayer will also start the output unit (if
I remember correctly).
Hope that helps,
Robert.
On Nov 29, 2003, at 11:26 AM, Craig Bakalian wrote:
Hi,
I am designing a export to aiff in my midi sequencer. I have read
through DiskWriterAUGraph in the CoreAudio Examples. It is
intimidating. I am trying to simplify the DiskWriterAUGraph, and
convert it to Objective C mixed with C. I do understand much of it,
yet in order to simplify the processing, I have one question - Must I
give the MusicPlayer of a sequence a MusicPlayerStart() call to drive
the data out of an output unit to render it, or can I simply call
AudioUnitRender(,,,,,)? In the DiskWriterAUGraph example there is a
call to MusicPlayerStart(). I would rather pull the data out of the
output unit, instead of pushing it out with the MusicPlayer.
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
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.
_______________________________________________
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.