Re: AudioUnitParameterUnit requests
Re: AudioUnitParameterUnit requests
- Subject: Re: AudioUnitParameterUnit requests
- From: Marc Poirier <email@hidden>
- Date: Fri, 18 Oct 2002 22:56:05 +0200 (CEST)
>
Here is the definition of these parameter unit type constants:
>
kAudioUnitParameterUnit_Octaves = 21,
>
/* octaves in relative pitch where a value of 1 is equal to 1200 cents*/
>
kAudioUnitParameterUnit_BPM = 22,
>
/* beats per minute, ie tempo */
>
kAudioUnitParameterUnit_Beats = 23,
>
/* time relative to tempo, ie. 1.0 at 120 BPM would equal 1/2 a second */
>
kAudioUnitParameterUnit_Milliseconds = 24
>
/* parameter is expressed in milliseconds */
Sweet, thanks.
_Beats is actually the unit type that I forgot to suggest (as I go about
porting my VST plugs, I come accross more parameter types), thanks for
reading my mind and adding that, too. :)
>
The only area to clear up is what kind of parameter range do you expect an
>
octave param to express - we're presuming that this parameter indicates a
>
*relative* value - where 1 would change the parameter value UP an octave,
>
and -1 would change the parameter value DOWN an octave... Fractional values?
>
(If so 0.5 would be half an octave - ie. Equivalent to 600 cents)?
I definitely had relative and fractional in mind when I made the
suggestion.
Marc
P.S.- In case I haven't mentioned it before, I really appreciate how you
CoreAudio folks post API changes to the list so that we can integrate them
into our base source files immediately and don't need to wait for public
SDK revision releases.
_______________________________________________
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.