lilypond-user
[Top][All Lists]
Advanced

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

Re: Thanks to David Nalesnik and Jan-Peter Voigt


From: David Nalesnik
Subject: Re: Thanks to David Nalesnik and Jan-Peter Voigt
Date: Wed, 1 Oct 2014 12:07:07 -0500



On Wed, Oct 1, 2014 at 11:52 AM, David Nalesnik <address@hidden> wrote:


"Every time process_music () is called and there are note events, we figure out how long the note to typeset should be.  It should be no longer than what's specified, than what is left to do and it should not cross barlines or sub-bar units."

 
Unfortunately, note- and rest-events do cross added barlines.  So much for a super-simple solution.

\version "2.18.0"

musicA = {
  \compoundMeter #'((3 2 16))
  \relative c' {
    c8 d e f g
    r8 r r r r
  }
}

patterning = {
  \repeat unfold 4 {
    s8. \bar "!"
    s8
  }
}

\score {
  \new Staff <<
    \new Voice \musicA
    \new Voice \patterning
  >>
  \layout {
    \context {
      \Voice
      \remove Note_heads_engraver
      \remove Rest_engraver
      \consists Completion_heads_engraver
      \consists Completion_rest_engraver
    }
  }
}


reply via email to

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