[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with autochange
From: |
-Eluze |
Subject: |
Re: Help with autochange |
Date: |
Sun, 8 Jan 2012 10:15:54 -0800 (PST) |
hi
iirc the \autochange is not perfect…
but in your example i would suggest to pack the notes of the upper staff in
a \new Voice so that they are treated independent of the switching notes.
you will also have to introduce some voice directives (\voiceTwo) to prevent
them to behave like \oneVoice!
hth
Eluze
Helge Kruse-2 wrote:
>
> 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 { }
> }
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
--
View this message in context:
http://old.nabble.com/Help-with-autochange-tp33102979p33103288.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.