How do I access the mod wheel with MusicDeviceMIDIEvent
How do I access the mod wheel with MusicDeviceMIDIEvent
- Subject: How do I access the mod wheel with MusicDeviceMIDIEvent
- From: Espen Kluge <email@hidden>
- Date: Sun, 18 Mar 2012 14:15:56 +0000
This is how I do it with pitch, I'm confused as to what the parameters need to be when accessing the mod wheel.
My patch has a lfo vibrato effect on the mod wheel (default in au lab).
-(void)changePitch:(float)pitch{
newPich = (UInt32)pitch;
UInt32 midiStatus;
UInt32 note = 0;
midiStatus = 0xE0; // pitch wheel
CheckError(MusicDeviceMIDIEvent (auSamplerUnitTwo,
midiStatus,
note,
newPich,
1),
"Couldn't send MIDI event");
}
Is MusicDeviceMIDIEvent even the right way to do it?
Thanks
E
_______________________________________________
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