> > \musicalpitch statement counts shifts in semitones. Assuming that the
> > shift argument must be an integer, all possible values already have a
> > meaning and there is no way to add quarter tones.
>
> Yes, but we can change the definition of mudela. We can just count
> chromatics using quarter tones instead of half tones. That's just
> adding a
>
> *= 2
>
> here and there. (I don't consider \musicalpitch to be part of the
> core of the language, and I think it may be changed.)
OK, then it looks doable. But then I'd take the next step and use
cents (100ths of a semitone) as the basic unit. This is already a
widely used unit in musical theory, and it will be sufficient even
when someone wants to implement 1/16 tones in the future (not me!).
There are more applications interesting more for MIDI generation than
for typesetting: one could define other than well-tempered scales, by
a simple redefinition of the note names. For typesetting the values
should be then be "rounded" to whatever the smallest displayable unit
is, probably quartertones.
Looks like a nice project for my christmas vacations...
Konrad.
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: [EMAIL PROTECTED]
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------