The armature could be set by telling which scale is played from C major 0 then is no alteration, let says we follow the fifth cycle, then 1 would be one sharp, and then G major, 2 two sharps and then D major, etc, when we arrive after F sharp we come to bémols, so 7 would be like -6 the D bémol major scale, 8 or -5 A bémol, etc, ... is that clear?
If you have exotic scale, the structure will have to be set somwhere like the major scale, for setting the armature the same way.
If you have an accidental alteration, just use another flag or message than for setting armature.
----- "Mathieu Bouchard" matju@artengine.ca a écrit :
On Sun, 7 Nov 2010, Mathieu Bouchard wrote:
Well, normally I use midi note numbers or a transposed version
thereof
(especially : midi note minus a multiple of 12), but in this case, I
have only implemented «white keys»,
Oupse, to be clear, I mean that I numbered them
0=Do 1=Ré 2=Mi 3=Fa 4=Sol 5=La 6=Si 7=Do
but that I intend to change that.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list