You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\version"2.19.82"#(define (rhythmic-location grob)
"Return the musical/rhythmical position of a given grob as a pair of a measure number and a moment in that measure. If the position can't be determined return an 'impossible' value in measure 0."
(if (ly:grob? grob)
(or (grob::rhythmic-location grob)
(cons0 (ly:make-moment 0/4)))
(ly:error "Requested rhythmic-location of a grob, but ~a is not a grob," grob)))
{
\overrideNoteHead.after-line-breaking =#(lambda (grob)
(ly:message "Location: ~a" (rhythmic-location grob)))
c'1\setScore.currentBarNumber =12
c'1
}
prints
Location: (1 . #<Mom 0>)
Location: (2 . #<Mom 0>)
(instead of 1 and 12).
Obviously this is due to grob::rhythmic-location, and I'll ask on bug-lilypond whether that's a bug or wrong usage.
The text was updated successfully, but these errors were encountered:
This is the actual issue behind openlilylib/scholarly#67.
prints
(instead of 1 and 12).
Obviously this is due to
grob::rhythmic-location
, and I'll ask on bug-lilypond whether that's a bug or wrong usage.The text was updated successfully, but these errors were encountered: