[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with autochange
From: |
Helge Kruse |
Subject: |
Help with autochange |
Date: |
Sun, 8 Jan 2012 17:41:18 +0100 |
Hello,
corresponding to the NR 2.2.1, page 285 "Changing staff automatically" I
have to add the \autochange before the \relative. I wrote four measures of
the pieces and add the \autochange. But this breaks it completely. What am I
doing wrong here?
The complete example below has one line with the \autochange in question
inactivated with a comment.
Thanks,
Helge
\version "2.14.2"
\include "deutsch.ly"
staffHarp = \new PianoStaff {
<<
\context Staff = "up" { % Right hand
\clef treble \key es \major \time 3/8
\relative c'' { es4.( d b8 c d c4.) }
}
\context Staff = "down" { % Left hand
\clef bass \key es \major \time 3/8
% \autochange
\relative c' {
c,16 g' c es g r |
c,,16 g' b d g r |
g,,16 d' b' d g r |
as,,16 es' as c es r |
}
}
>>
}
\score {
<<
\staffHarp
>>
\layout { }
\midi { }
}
- Help with autochange,
Helge Kruse <=