[linux-audio-dev] XAP: Pitch control

Steve Harris S.W.Harris at ecs.soton.ac.uk
Tue Dec 10 18:35:01 UTC 2002


On Tue, Dec 10, 2002 at 09:10:01PM +0100, David Olofson wrote:
> What I'm trying to say is that (1/12)/note certainly doesn't look 
> nice in note oriented code, considering that there's *not* 
> nescessarilly 12 notes per octave:

No, but if theres not 12 notes per octave then you dont need a twelve...
in 12tET were dealing with 12ths of octaves, so I dont htink the 12 will
be at all supprising.
 
> ...and to avoid both that *and* have 1.0/octave for linear pitch, we 
> have to do actual conversions whenever connecting these two different 
> kinds of controls.

Well, thats unavoidable for the general case. But, as we know the
converter for 12tET is trivial.
 
> The only sensible way of doing that is by using some form of conerter 
> plugins, IMHO. I definitely do not want to force host callbacks into 
> this.

OK, fine, no host callbacks. The host could do implicit conversion though
it doesn't have to virtually insert a plugin. But this is probably a
per-host design decistion, it doesn't have to go in the API. Some users
(eg. me ;) will probably want to insert there own custom scale converter
plugins anyway.

- Steve



More information about the Linux-audio-dev mailing list