lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

key-change-event listener in 2.20


From: Maurits Lamers
Subject: key-change-event listener in 2.20
Date: Mon, 31 Aug 2020 17:15:22 +0200

Hi all,

I just noticed that in Lilypond 2.20 the key signature listener in my braille 
system doesn't get called anymore, where under 2.18.2 it does.
I added a code sample below where I show how I attach the listeners. All the 
other events seem to be called in the normal way. Did anything change in the 
mean time?

thanks

Maurits

====

\layout {
  \context {
    \Voice
    \consists #(list
         (cons 'listeners
               (list
                (cons 'tempo-change-event format-tempo)
                (cons 'rest-event format-rest)
                (cons 'note-event format-note)
                (cons 'tie-event format-tie)
                (cons 'articulation-event format-articulation)
                (cons 'text-script-event format-text)
                (cons 'slur-event format-slur)
                (cons 'phrasing-slur-event format-phrasing-slur)
                (cons 'breathing-event format-breathe)
                (cons 'key-change-event format-key-change)
                ;(cons 'dynamic-event format-dynamic)
                ;(cons 'crescendo-event format-cresc)
                ;(cons 'decrescendo-event format-decresc)
                ;(cons 'text-span-event format-textspan)
                ))
         )
  }
  \context {
    \Lyrics
    \consists #(list
      (cons 'listeners
        (list
          (cons 'lyric-event format-lyric)
          (cons 'hyphen-event format-hyphen)
        )
      )
    )
  }
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]