• 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 to get the MIDI CC in a AU Instrument?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: 64bits cocoa UI issue in Mainstage and Logic
  • Next by Date: Re: Stereo recording with remoteIO - how?
  • Previous by thread: What happened to the Public Utility in Xcode 4.3?
  • Next by thread: Measuring hardware throughput of a physically looped pulse
  • Index(es):
    • Date
    • Thread