--- Frank Barknecht fbar@footils.org a écrit :
I think it would be interesting to have a more general struct definition for notes instead of one defintion for each possible note type like half, quarter, dotted etc.
Well, it would be already done if I've found a procedure to plot with "y spacing", but that fonction is cruelly missing or I haven't found this in the docs, or my understanding of arrays is cruelly limited.
I'm not sure how many definitions would be necessary, but for example half (blanche-h) and quarter (noire-h) notes only differ in the interior color. If the interior color would be a struct field, like "float filled", then the same struct could be used for both, and on creation, the half note would be created with "filled" set to "999" and the quarter not would get "filled" set to "0".
Very good!
Flags would be a candidate for an array, too. Depending on the length of the "flags" array, we would get 1/16, 1/32,... notes.
Flags also need "y spacing".
Oh, and the flags for the low-notes are on the wrong side again. The flags of notes always wave to the right side. ;)
Shame on me...it blows...:")
Patco.
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com