How to get MIDIThruConnection to the "built-in endpoint"?
How to get MIDIThruConnection to the "built-in endpoint"?
- Subject: How to get MIDIThruConnection to the "built-in endpoint"?
- From: Jay Koutavas <email@hidden>
- Date: Thu, 27 Mar 2008 10:34:19 -0400
Okay, admittedly I've not grokked all there is to know about core
audio and midi. I'm doing my first Core Audio project. Here's what
I'm trying to do:
track --> myEndpoint --> built-in synth
Or, this (a Y-connector):
track --> myEndpoint
|
+-----> built-in synth
I'm trying to use MusicPlayer to push midi not only to the sequence's
AU graph for the Mac's built-in synth (which was quite easy to setup,
thanks), but ALSO to an endpoint. The endpoint looks at the notes and
does something interesting with it, as the song plays.
I understand from example code (SimpleSDK/PlaySequence) that's its
either one or the other, not both. So, I figure I'd be all set if I
could determine how to add my endpoint some how magically into the AU
graph, or better yet, using MIDIThruConnection I could use my
endpoint as a passthrough. However, to use MIDIThruConnection I need
to pass the midi along the chain to the built-in synth. But, there's
the rub... is there such an endpoint to be found?
How do I glue this together?
Thank you,
/Jay
--
--------------------------------------------------------
Jay Koutavas mailto:email@hidden
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
_______________________________________________
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