lilypond-user
[Top][All Lists]
Advanced

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

Re: Dividing a measure with a dotted bar line


From: Urs Liska
Subject: Re: Dividing a measure with a dotted bar line
Date: Sat, 17 Jan 2015 17:39:07 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

What about adding a Dynamics context and change that to print the time signature? Then parenthesize that and display the time sigs in the visible staves as 3/4.

Can't try this out currently so I don't know if it works.

But in any case I think you should use a real 5/4 time signature and add the rest.

HTH
Urs

Am 17.01.2015 um 17:22 schrieb Knute Snortum:
I have a prelude I'm transcribing that's got a lot of challenges right
in the first bar.  I looks like this:


​So far what I have is this:


​(The "minimal" lilypond file is at the end.)

What I don't have is the barline between the third and fourth beat, the
parenthesized time signature lowered, and a (fake?) time signature of
3/4  (or do use 3/4 and 2/4 measures and fake the 5/4?)  The time
signature is just at the beginning of the piece; the dotted barline will
show up several times.  Here's the lilypond source file:

%%% -- Begin
\version "2.19.15"
\language "english"

timeSigParenth = \once \override Staff.TimeSignature.stencil =
   #(lambda (grob) (parenthesize-stencil
       (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 ))

upperStaffTop = \relative c' {
   \timeSigParenth \time 5/4
   \oneVoice r4
   \voiceOne <e e'>8 ( <a a'> <bf d e bf'>4 <e, e'> )
   \oneVoice r |
}

upperStaffBottom = \relative c'' {
   s4 <a cs>4 s2. |
}

lowerStaffTop = \relative c' {
   r4 <a cs> <d e g> e, r |
}

lowerStaffBottom = \relative c, {
   a4-. e''8 ( a bf4 e, ) e,-. ( |
   a,4-. )
}

dynamics = {
   \tempo "Modéré" 4 = 84
   s4 \pp s s \> s \! s |
}

%% --- Boilerplate

upperStaff = {
   \clef treble
   \key a \major
   <<
     \new Voice { \voiceOne \upperStaffTop }
     \new Voice { \voiceTwo \upperStaffBottom }
   >>
}

lowerStaff = {
   \clef bass
   \key a \major
   <<
     \new Voice { \voiceThree \lowerStaffTop }
     \new Voice { \voiceFour \lowerStaffBottom }
   >>
}

\score {
   \removeWithTag #'played
   \new PianoStaff <<
     \new Staff = "upper" { \upperStaff }
     \new Dynamics = "dyns" { \dynamics }
     \new Staff = "lower" { \lowerStaff }
   >>
   \layout {
   }
}
%%% -- End

Knute Snortum
(via Gmail)


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



--
Urs Liska
www.openlilylib.org



reply via email to

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