Hallo, patco hat gesagt: // patco wrote:
--- 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.
As a property of "plot" the function indeed is missing, however a simple trick to achieve a similar result is possible. Basically you set the x-spacing in [plot] to 0, so that all array elements have the same x-position, then you use the y-field of the array-elements to make them appear at different heights. I attached an example to illustrate this.
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".
A similar trick as above could be used, I believe.
Frank Barknecht _ ______footils.org_ __goto10.org__