Folks,

I want to say

  On = \sustainOn
  Off = \sustainOff
  Ch = { \sustainOff \sustainOn }

  \relative {
    c1\On c\Ch c\Off
  }

However, this definition of \Ch fails with

  sustain.ly:3:17: error: syntax error, unexpected EVENT_IDENTIFIER

If I replace it with

  Ch = { #(make-span-event 'SustainEvent STOP)
         #(make-span-event 'SustainEvent START) }

lilypond compiles the snippet, but the result is incorrect (\Ch seems
to be ignored completely).

What's the right way to do it?


    Werner

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to