• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I access the mod wheel with MusicDeviceMIDIEvent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: advice for becoming less clueless about thread safety?
  • Next by Date: Building the SinSynth example project in Xcode 4.3.1
  • Previous by thread: Re: advice for becoming less clueless about thread safety?
  • Next by thread: Building the SinSynth example project in Xcode 4.3.1
  • Index(es):
    • Date
    • Thread