Re: 'beats' are integers?
Re: 'beats' are integers?
- Subject: Re: 'beats' are integers?
- From: William Stewart <email@hidden>
- Date: Mon, 11 Jul 2005 10:41:01 -0700
But wouldn't you want this range to be
0 to 127
0 to 128 actually gives you 129 steps, not 128; so I suspect that is
the problem
Bill
On 10/07/2005, at 5:00 AM, Os wrote:
Hi,
I've come across a problem when using my plug-in with Ableton Live,
and I wonder whose problem it is.
At the root of it is an AU parameter of type
kAudioUnitParameterUnit_Beats.
I expose this to users as a float, min 0.0, max 128.0. When
controlling it via MIDI, I set the value to (1+x) where x is the
MIDI CC value, giving a usable range of 1-128 (integers) via MIDI.
Live exposes the parameter as a value from 0-128 (fair enough) and
displays only integer values to the user. However, the value it is
applying to my plug-in doesn't take integer values - I imagine it's
incrementing in steps of 129/128, as it maps the range 0-128 to a 7
bit controller value.
So, who's right here? Am I wrong for allowing a 'beats' parameter
to take fractional values? Or is Live wrong for showing a
fractional value rounded to the nearest integer?
cheers,
os.
email@hidden
http://www.collective.co.uk/
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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