Re: [linux-audio-dev] XAP: Pitch control

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] XAP: Pitch control
From: David Olofson (david_AT_olofson.net)
Date: Wed Dec 11 2002 - 17:41:27 EET


On Wed, Dec 11, 2002 at 12:40:18 +0000, Nathaniel Virgo wrote:
> I can't really say I can think of a better way though.
> Personally I'd leave scales out of the API and let the host deal
> with it, sticking to 1.0/octave throughout, but I can see the
> advantages of this as well.

Problem with letting the host worry about it is that the host would
normally not understand anything of this whatsoever, since the normal
case would be that a sequencer *plugin* controls the synths. It would
be a hack.

As to API, all there is to it is the existence of a note_pitch hint
for pitch controls, that suggests that the value *could* be
interpretted as something else than 1.0/octave. If you want
1.0/octave throughout, just ignore it and think of any pitch control
you see as 1.0/octave.

//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
.- M A I A -------------------------------------------------.
| The Multimedia Application Integration Architecture |
`----------------------------> http://www.linuxdj.com/maia -'
   --- http://olofson.net --- http://www.reologica.se ---


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Dec 11 2002 - 17:45:49 EET