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: Thu, 2 Oct 2014 07:30:57 -0500



On Thu, Oct 2, 2014 at 7:11 AM, Jay Vara <address@hidden> wrote:
David,

I tried your snippet with a different meter and it gives some weird results. It seems to produce additional bars - I changed the bar after the compound meter to double bar so we can see the extraneous bars. And the notes are not placed properly. Am I doing something totally foolish here?

%%%%%%%%%%%%%%%%

\version "2.18.2"

musicA = {

\compoundMeter #'((2 4) (4 4))

\relative c' {

c'2. d4 b2. c4 a2. b4 g2. a4 f2. g4

}


The problem is here: you need to change the durations of the spacer rests to reflect your measure divisions:

 patterning = {
  \repeat unfold 8 {
    \set Staff.completionUnit = #(ly:make-moment 2 4)
    s2 \bar "!"
    \set Staff.completionUnit = #(ly:make-moment 4 4)
    s1 \bar "||"
  }
}

Then it works just fine!

David

reply via email to

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