lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-user Digest, Vol 142, Issue 80


From: address@hidden
Subject: Re: lilypond-user Digest, Vol 142, Issue 80
Date: Thu, 18 Sep 2014 22:01:53 -0400 (EDT)

Hi, Jay--

i'm not sure of everything you're trying to do, but change your layout block to this:

\layout {
  \context {
    \Voice
    \remove Note_heads_engraver
    \remove Rest_engraver
    \consists Completion_heads_engraver
    \consists Completion_rest_engraver
  }
  \context {
    \Staff
    \remove Time_signature_engraver
  }
}

You'll get rid of all time signatures--err, at least i did, and i'm not the most advanced user.  You can also erase your \override command for the time signature.

i recently used the compound meter.  i thought that Lilypond added the "in between" barlines by default and used bar checks inside the compound meter, only to find that i was getting time signature errors when compiling the file.  The output didn't have any of those "in between" barlines, so i deleted the bar checks and added the missing lines manually.  i did this all in my music variable.  i suspect there is a way to get Lilypond to change its default behavior and add those barlines, itself, but as i said, i'm not the most advanced of users.  i hope this little bit helps, though.

Take care,
bill



> Message: 6
> Date: Thu, 18 Sep 2014 19:00:33 +0000 (UTC)
> From: Jay Vara <address@hidden>
> To: address@hidden
> Subject: compoundMeter - how to get lilypond to recognize the bar line
> in the middle
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> >I am not top-posting
>
> I am using a compoundMeter - 5/4 + 2/4. I would like to see a bar line
> after 5 quarter notes (and after 7 quarter notes). Plus I would like
> Completion_heads_engraver to recognize the bar line after the 5 quarter
> notes.
>
> I was able to artificially achieve getting the bar lines by adding a
> silent voice with those bar lines.
>
> However I was not able to find anything that would make the fifth note
> g2 in the following example to be automatically replaced by g4~g4 [tied
> quarter notes] as happens for the seventh note where a2 is replaced by
> a4~a4.
>
> Also, in the code below, I tried to prevent the time signature from
> printing - does not seem to work for compoundMeter. Also not sure why I
> got a couple of extra staff lines, plus how it got the 7/4 meter for the
> extra staves.
>
> \version "2.18.2"
> fooBar = { s1 s4\bar "!" s2 \bar "||" }
> music = \relative c' {c4 d e f g2 a b4 c c b a g2 f4 e d c b a g a b}
> \score {
>
> <<
> \override Staff.TimeSignature #'stencil = ##f
> \compoundMeter #'((5 4) (2 4) )
> \set Timing.beatStructure = #'(5 2 )
>
> \new Voice = "theBarLines" { \fooBar \fooBar \bar "|." }
>
> \new voice \music
> \shiftDurations #1 #0 {\music}
> >>
> }
> \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]