How to get the MIDI CC in a AU Instrument?
How to get the MIDI CC in a AU Instrument?
- Subject: How to get the MIDI CC in a AU Instrument?
- From: "herve.noury" <email@hidden>
- Date: Sat, 17 Dec 2011 19:44:18 +0100
My question is maybe simple to resolve, but I did not find today.
How can I catch the values of the MIDI continuous controllers inside the AU render? I tried : float modVal = MidiControls().GetControl(1);
but it does not work. I tried also this :
float modVal = GetGroup()->ChannelMessage(1, 0);
without success. Maybe the group of the SynthNotes must be called, but which void must I invoke? The first lines gives only some 0.000, the second one only some 1.000. The second method is maybe useful to create MIDI CC and not to receive them, isn'i it?
I guess that it is basic, but I did not find today. Could someone give to me the right line of code? Thanks!
Hervé
|
_______________________________________________
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