I am not top-posting
I tried to build in a way to get the measurePosition and measureLength
in a user defined engraver (lines 13 and 14). The idea was to change
them as needed. As a first step, I wanted to print the values - I tried
putting in a format statement (line 23).
The program runs
Hi Jay,
to output something, you have to display it. The format function returns
the formatted string. If you insert #t (true) prior the format string,
it will output the result to stdout:
(format #t length ~a position ~a note-names ~a ~% measure-len
measure-pos note-names)
HTH
Jan
Hi Jay,
to output something, you have to display it. The format function
returns the formatted string. If you insert #t (true) prior the
format string, it will output the result to stdout:
(format #t length ~a position ~a note-names ~a ~% measure-len