lilypond-user
[Top][All Lists]
Advanced

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

Time signature and event-listener


From: Karim Haddad
Subject: Time signature and event-listener
Date: Tue, 21 Oct 2014 18:42:47 +0200

Hi 

Did somebody knows or succeeded in retrieving (outputting) the Time signatures 
using the event-listener.ly ?

I tried this :

#(define (format-measure engraver event)
   (print-line engraver
               "timesig"    
               (list (ly:event-property event 'numerator )
                   (ly:event-property event 'denominator ))))          

but don't seem to find any event accepting it. It seems there's no event that 
interacts with the time signature. (timeSignature Engraver ???)
In this case, re there anyways to retrieve this info specially if thee are 
TimeSignature changes?

I only succeeded in using music-event but this is not working since it prints 
out each event (not on time signature calls) and outputs :

Unsupported SCM value for format: ()



Thank you

Karim


reply via email to

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