[Top][All Lists]

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

Re: triple stop warnings

From: Jay Anderson
Subject: Re: triple stop warnings
Date: Sat, 12 Dec 2009 08:58:45 -0700

Just to sum up:

stop =
#(define-music-function (parser location music) (ly:music?)
  (set! (ly:music-property music 'tweaks)
        (acons 'before-line-breaking
               (lambda (grob)
                 (let ((dots (ly:grob-object grob 'dot)))
                   (ly:grob-set-property! grob 'duration-log 2)
                   (and (ly:grob? dots)
                        (ly:grob-set-property! dots 'dot-count 0))))
               (ly:music-property music 'tweaks)))

\relative c {
  \clef alto
  \time 3/4
  <\stop c g' e'>2.\fermata
  << c4 <g' e'>2.\fermata >>
  \once \override NoteColumn #'ignore-collision = ##t
  << c,4 <g' e'>2.\fermata >>
  << c,4*3 <g' e'>2.\fermata >>
  \once \override NoteColumn #'ignore-collision = ##t
  << c,4*3 <g' e'>2.\fermata >>

I think the \stop function works fine and doesn't have any warnings.
The chords with c4 in the bass have some undesirable extra space in
the measure. The c4*3 examples look the same (as far as I could tell)
as the \stop example just with the warnings. Thanks all.


reply via email to

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