lilypond-user
[Top][All Lists]
Advanced

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

Need help with voices and staves


From: George_
Subject: Need help with voices and staves
Date: Mon, 29 Nov 2010 22:32:24 -0800 (PST)

I'm transcribing Bach's Fugue No. 20 in A minor from the Well-Tempered
Clavier Bk. 1, and I've run into a bit of a problem:

% Created on Tue Nov 30 08:26:15 NZDT 2010
\version "2.13.40"

\header {
        title = "Fugue XX" 
 subtitle = "A Minor, BWV 865" 
        composer = "J. S. Bach"

}



staffPiano = \new PianoStaff {
        \set PianoStaff.midiInstrument = #"acoustic grand"
                \time 4/4
                                        \override Score.MetronomeMark #'stencil 
= ##f
                        \tempo 4 = 80 
                        <<
                \new Staff = "RH" { << % Right hand 
                        \clef treble
                        \key a \minor
                        \relative c' {
                        <<
                                %This is Voice One
                                {
                                        %1
                                        \change Staff = "LH"
                                        r8 a16 gis a8 b 
                                        \change Staff = "RH"
                                        c c16 b c8 d |
                                        %2
                                        e16 d c d e8 f
                                        \change Staff = "LH"
                                        gis, e r a |
                                        %3
                                        b16 c a b
                                        \change Staff = "RH"
                                        c d b c d8 c b e |
                                        %4
                                        b' \rest e,16 dis e8 fis g g16 fis g8 a 
|
                                        %5
                                        b16 a g a b8 c dis, b b' \rest e, |
                                        %6
                                        \stemUp fis16 g e fis g a fis g a8 g 
fis b |
                                        %7
                                        e, fis16 gis a b c d e8 a, gis4 |
                                        %8
                                        a8 a g f e c' b a |
                                        %9
                                        gis e' d c b16 c d b c b a c |
                                        %10
                                        d e f d e4 ~ e8 a, b16 c d8 ~ |
                                } \\ 
                                %This is Voice Two
                                {
                                        s1 s1 s1
                                        %4
                                        \change Staff = "LH"
                                        a,4 g8 fis e c' b a |
                                        %5
                                        g16 fis e fis g8 a b16 a g a b8 c ~ |
                                        %6
                                        c b16 a b8 \change Staff = "RH" e ~ e 
d16 cis d4 ~ |
                                        %7
                                        d8 c16 b c4 ~ c16 a' g f e d c b |
                                        %8
                                        c16 b c4 d8 e16 d e4 f8 ~ |
                                        %9
                                        f16 fis e fis gis8 a b4 e,8 \rest a |
                                        %10
                                        g4 ~ g16 f e g fis4 gis |
                                        %11
                                        
                                        %12
                                        
                                        %13
                                        
                                        %14
                                        
                                        %15
                                        
                                }
                                >>
                        }
                >>
                }
                \new Staff = "LH" {  % Left hand
                        \clef bass
                        \key a \minor
                        \relative c {
                        <<
                                %This is Voice Three
                                {
                                        \stemDown s1 s1 s1 s1 s1 s1 s1
                                        %8
                                        \change Staff = "LH"
                                        f8 \rest a,16 gis a8 b c c16 b c8 d |
                                        %9
                                        e16 d c d e8 f gis, e d' \rest a |
                                        %10
                                        b16 c a b cis d b cis d8 c b e |
                                        %11
                                        
                                        %12
                                        
                                        %13
                                        
                                        %14
                                        
                                        %15
                                        
                                } \\
                                %This is Voice Four
                                {
                                        s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
                                        %11
                                        \change Staff = "LH"
                                        f8 \rest e16 dis e8 fis g g16 fis g8 a |
                                        %12
                                        b16 a g a b8 c dis, b f' \rest e |
                                        %13
                                        fis16 g e fis g a fis g a8 g fis b |
                                        %14
                                        e,4 b'8 a gis e fis gis |
                                        %15
                                        a e' \rest e4 \rest e8 \rest a, b cis |
                                }
                        >>
                        }
                }
        >>
}



\score {
        <<
                \staffPiano
        >>
        
        \midi {
        }

  \layout {
  }
}

\paper {
}


When I get to bar 11 and the fourth voice comes in the output
becomes...strange. The First voice moves into the bottom staff and the first
note in bar 8 now has the stem coming from the middle of the note - but when
I change the rest to s8 in reference to the error I get, the stem moves back
to its normal position (why is that, anyway?).

I'm using LilypondTool, and I modified the Piano template to get the extra
voice per staff. It's probably not the best in the world, but it's the best
I know how to do with my limited knowledge.
-- 
View this message in context: 
http://old.nabble.com/Need-help-with-voices-and-staves-tp30337315p30337315.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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