Fwd: Re: [linux-audio-dev] XAP: Pitch control
David Olofson
david at olofson.net
Thu Dec 12 07:52:00 UTC 2002
On Thursday 12 December 2002 13.26, Steve Harris wrote:
> On Wed, Dec 11, 2002 at 09:31:52 +0100, David Olofson wrote:
> > > A synth could still have a built in event
> > > processor, but it should only process linear_pitch events.
> >
> > Yes - but you could not implement a useful arpeggiator that way,
> > for example. It would do the wrong thing as soon as you're not
> > using 12tET anymore - and *now*, users wouldn't have clue as to
> > why this happens, because the synth *lies* and says that it cares
> > only about linear_pitch...
>
> I dont think thats true, all ET scales can be arpegiated trivially
> from the octave number,
Yes, but where do you get the octave number...?
> and arpegiate for non ET scales is a hard
> problem anyway, providing note numbers doesn't help.
Yes it does, since you need to deal *only* with the note number. The
scale converter then generates the correct pitch for the notes in the
scale that you reference. That's the whole point with using
note_pitch and scale converters at all.
Obviously, this is *exactly* why you should not take note_input to a
synth, and why arpeggiators should be separate plugins. Put a
suitable scale converter *in between*, and "weird" scales are trivial
to handle.
//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 ---
More information about the Linux-audio-dev
mailing list