LSR/742
< LSR
Der Inhalt dieser Seite wurde aus dem LilyPond Snippet Repository übernommen und steht unter folgender Lizenz: CC0. See Public Domain Help Pages for more info. |
Beschreibung
If you need to notate a glissando going across staves, it is very simple to do so with LilyPond's voice-change functions
%% http://lsr.di.unimi.it/LSR/Item?id=742
%% see also http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lines
staffPiano = \new PianoStaff {
\time 3/4
<<
\context Staff = "RH" {
\clef treble
\relative c' {
c4 r4 \skip 4
}
}
\context Staff = "LH" {
\clef bass
\relative c {
\override VoiceFollower.style = #'zigzag
g2
\showStaffSwitch
\change Staff = "RH"
<b'' d>4
\hideStaffSwitch
\change Staff = "LH"
}
}
>>
}
\score {
<<
\staffPiano
>>
}
%% http://lsr.di.unimi.it/LSR/Item?id=742
%% see also http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lines
staffPiano = \new PianoStaff {
\time 3/4
<<
\context Staff = "RH" {
\clef treble
\relative c' {
c4 r4 \skip 4
}
}
\context Staff = "LH" {
\clef bass
\relative c {
\override VoiceFollower.style = #'zigzag
g2
\showStaffSwitch
\change Staff = "RH"
<b'' d>4
\hideStaffSwitch
\change Staff = "LH"
}
}
>>
}
\score {
<<
\staffPiano
>>
}