[linux-audio-dev] XAP: Pitch control
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Mon Dec 9 08:48:01 UTC 2002
On Mon, Dec 09, 2002 at 01:45:22PM +0100, David Olofson wrote:
> Hmm... As to having a synth support *both* note_pitch and
> linear_pitch controls, I suppose that would effectively just be a
> dual interface to a single internal control value. Send something to
> linear_pitch, and it goes directly into the internal pitch variable.
> Send it as note_pitch, and it gets multiplied by (1.0/12.0) or is
> passed through an interpolated "weird scale" table first. Makes sense?
I think it makes sense to just standardise on 1.0 per octave for all pitch
values, that is relevant to most (all?) scales and as you pointed out the
conversion to 12 tone per note maths is trivial.
For an apregiate in 12 tne you just add 1/12 per semitone, not 1.0, I dont
think thats hard.
- Steve
More information about the Linux-audio-dev
mailing list