lilypond-user
[Top][All Lists]
Advanced

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

Dividing a measure with a dotted bar line


From: Knute Snortum
Subject: Dividing a measure with a dotted bar line
Date: Sat, 17 Jan 2015 08:22:06 -0800

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)

reply via email to

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