kAudioUnitParameterUnit_MidiController vs kAudioUnitParameterFlag_CanRamp vs Logic
kAudioUnitParameterUnit_MidiController vs kAudioUnitParameterFlag_CanRamp vs Logic
- Subject: kAudioUnitParameterUnit_MidiController vs kAudioUnitParameterFlag_CanRamp vs Logic
- From: John Pitcairn <email@hidden>
- Date: Sun, 17 Aug 2003 17:57:55 +1200
Hi - I've made a little AU plug, based on the SampleEffectUnit
example, to work around a Logic automation shortcoming - basically,
Logic can't automate midi CCs other than volume or pan, so I'm using
an automatable "do nothing" plugin to spit out midi I can work with
in Logic's environment, provide sensible user-definable control
names, user-definable min/max/default/indexed values, and
user-defined number of controls - it's all loaded from a .strings
file so no user-compilation is needed. Seems to work pretty well,
though I'm not sure if I should be releasing anything(?)
I'm specifying all parameters as
kAudioUnitParameterUnit_MidiController, and setting the
kAudioUnitParameterFlag_CanRamp flag.
In Logic, the resulting automatable parameters cannot be drawn as
ramped points, ie I can't draw an automation node with value 90, then
a little later draw a node with value 30 and have a smooth linear
ramp down. Logic continues at 90 then jumps down to 30 when it hits
that node, no interpolation of values takes place either visually or
functionally.
If I specify parameters as kAudioUnitParameterUnit_Generic, it all
works fine, with rampable drawn automation.
Are kAudioUnitParameterUnit_MidiController and
kAudioUnitParameterFlag_CanRamp mutually exclusive? Or is this a
decision that Logic is making for some reason?
--
John Pitcairn
--------------------------------------------------------------------------
Revolver Design | Opus Locus | Auckland, New Zealand
http://www.revolver.co.nz/forsale.phtml - updated 8 August 2003
--------------------------------------------------------------------------
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.