Hello!

If I put the \sustainOff event in music function after variable I
receive the following error message:

<string>:2:13: error: syntax error, unexpected EVENT_IDENTIFIER
\lilyvartmpb 
             \sustainOff \lilyvartmpc \sustainOn

Please, help me. How to write the following function correctly?

tst =
#(define-music-function (parser location note)
(ly:music?)
(ly:music-compress note (ly:make-moment 1 2))
#{
$note \sustainOff $note \sustainOn
#})

Thanks!
-- 
Michael Pozhidaev. E-mail: m...@altlinux.ru.
Tomsk State University. http://www.csd.tsu.ru
ALT Linux Team. http://www.altlinux.ru



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to