I have a prelude I'm transcribing that's got a lot of challenges right in the first bar. I looks like this:
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:
\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 {
}
}