Re: MIDI note tranformations
Re: MIDI note tranformations
- Subject: Re: MIDI note tranformations
- From: William Stewart <email@hidden>
- Date: Wed, 28 Sep 2005 12:26:38 -0700
On 28/09/2005, at 12:12 PM, Lubor Prikryl - DSound wrote:
Hi Bill,
I haven't seen anything regarding AU in MIDIThruConnections,
furthermore MIDI Thru meant something different for me, so I
stupidly overlooked all the really sophisticated management of
notes there.
Well, now I see, there are MIDI Endpoints there, but what do you
suggest to use to connect them to AU instead of
AUMIDIControllerConnectSource +
AUMIDIControllerMapEventToParameter, as I do now?
Its a more manual process:
You create a callback function for receiving the MIDI packets from
the MIDI Sources (or a MIDI destination can also have a callback
associated with it - see the docs for CoreMIDI on connections,
virtual destinations, etc)
Then you parse through the received MIDI packet and call the MIDI API
on the AUs - MusicDeviceMIDIEvent.
We don't have an example of this in the SDK at this point - we need
to provide one. However, in the 1.3 SDK in the java section there is
an example MIDIGraph - that does do it this way - that could be used
as a guide in the meantime.
Bill
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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