Re: Controller mapping
Re: Controller mapping
- Subject: Re: Controller mapping
- From: William Stewart <email@hidden>
- Date: Thu, 6 May 2010 20:02:39 -0700
Hi Michael
Yes.
If you have a look in the base classes, there is an CA_AUTO_MIDI_MAP define. What this does is enable you to map a MIDI message to a parameter, store that mapping and re-constitute it later.
Your effect becomes an "aumf" type (which is an audio unit that implements the MIDI message/API). A host then can notice this, and will route MIDI messages to your AU. You could provide a hot-map type facility in your UI using the audio unit properties that are defined for this (see <AudioUnit/AudioUnitProperties.h> (kAudioUnitProperty_AllParameterMIDIMappings, etc)
AULab provides some support for these as well, so that can be a good test bed for you to use for development.
Bill
On May 6, 2010, at 7:52 AM, john smith wrote:
>
> Brian,
>
> thanks for the reply, but I think there's a misunderstanding.
>
> This is about a plug-in I'm developing. Just because its shipping doesn't mean we should stop development, and not improve the product :-)
>
> I'm sure Logic supports the HUI, the question is rather this:
>
> Can the plug-in map it's parametes, in order to decide which parameters are shown at which "positions" in the HUI (a "position" being a page and switch / rotary index).
>
> If this is not clear, please let me know.
>
>
> Thanks,
>
> Michael Olsen
> PhonoXone
>
> > CC: email@hidden
> > From: email@hidden
> > Subject: Re: Controller mapping
> > Date: Thu, 6 May 2010 03:18:47 -0700
> > To: email@hidden
> >
> >
> > On May 6, 2010, at 01:14, john smith wrote:
> > > I have a client who wants to map their parameters in their AU plug-
> > > in to a (Mackie) HUI controller, so you can connect the controller
> > > to Logic, and control the parameters.
> > >
> > > I'm wondering, are there any facilities in AU for mapping
> > > parameters to the proper pages and switches/rotaries?
> > >
> > > Please note that the plug-in is already available on the market, so
> > > we cannot switch the order of the parameters at this point; what we
> > > need is a mapping, something like what's available for an RTAS plug-
> > > in.
> > >
> > > Michael Olsen
> >
> > Control Surfaces like the Mackie send MIDI messages. An AudioUnit
> > can receive MIDI messages through CoreMIDI, but not if the AU is
> > already on the market. The AudioUnit specification does not tie MIDI
> > to parameters unless the AU programmer does so, or the AU host. In
> > nearly every case, what you're talking about is handled uniformly by
> > the host, not each plugin.
> >
> > Logic (the AU host in this case) allows mapping as part of its
> > feature set. In addition to elaborate MIDI mapping, Logic also
> > supports the Mackie control surface directly, without requiring each
> > plug developer to manually handle the mapping individually. You can
> > scroll through existing plugins, see the parameters on the LCD, and
> > alter them. Thanks to AudioUnits using real values like Hertz and dB
> > instead of the generic 0.0 through 1.0 of VST, you see the actual
> > value of the parameters on the Control Surface. I'm not sure whether
> > this is limited to built-in Logic plugs or if it fully supports third-
> > party AUs. As one example, I have used the Mackie MCU Pro to
> > manipulate the 9-band linear phase EQ.
> >
> > In any event, since your question is about a shipping AU and not one
> > that you're developing yourself, then your question is more
> > appropriate for a Logic user's forum. The CoreAudio mailing list is
> > intended to help developers who are working on CoreAudio programming,
> > of which AudioUnits is one part.
> >
> > Brian Willoughby
> > Sound Consulting
> >
>
> Hotmail: Powerful Free email with security by Microsoft. Get it now. _______________________________________________
> 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
_______________________________________________
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