Re: Understanding offline MIDI MusicDevice render
Re: Understanding offline MIDI MusicDevice render
- Subject: Re: Understanding offline MIDI MusicDevice render
- From: Paul Davis <email@hidden>
- Date: Fri, 08 Mar 2013 23:39:13 -0500
On Fri, Mar 8, 2013 at 10:56 PM, Rob Nikander
<email@hidden> wrote:
Hi,
I'm trying to do an offline render of some music from a MIDI synth (MusicDevice) AudioUnit. Is there a way to feed MIDI events to the synth unit without using MusicPlayer?
I see the "PlaySequence" sample, but I don't understand how the MusicPlayer/MusicSequence part works, so I wanted to get it out of the way. If that's not possible can anyone explain it, or point me to the right docs? I'd like to know how the the synth unit is connected to and getting MIDI events from the MusicSequence. I thought I'd find a callback property on the synth that I could use to feed it midi events, but I don't see anything like that.
a suitable type of AudioUnit has a functioning MIDIEvent() method that can be called just before you call Render, to deliver MIDI Data to the plugin. there are other MIDI-related methods to deliver non-channel MIDI messages.
--p
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden