Cross-staff tremolos: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
Since <code>\repeat tremolo</code> expects exactly two musical arguments for chord tremolos, the note or chord which changes staff within a cross-staff tremolo should be placed inside curly braces together with its <code>\change Staff</code> command. | Since <code>\repeat tremolo</code> expects exactly two musical arguments for chord tremolos, the note or chord which changes staff within a cross-staff tremolo should be placed inside curly braces together with its <code>\change Staff</code> command. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\new PianoStaff << | \new PianoStaff << | ||
\new Staff = "up" \relative c'' { | \new Staff = "up" \relative c'' { | ||
Revision as of 18:54, 16 November 2025
Since \repeat tremolo expects exactly two musical arguments for chord tremolos, the note or chord which changes staff within a cross-staff tremolo should be placed inside curly braces together with its \change Staff command.
\version "2.24"
\new PianoStaff <<
\new Staff = "up" \relative c'' {
\key a \major
\time 3/8
s4.
}
\new Staff = "down" \relative c'' {
\key a \major
\time 3/8
\voiceOne
\repeat tremolo 6 {
<a e'>32
{
\change Staff = "up"
\voiceTwo
<cis a' dis>32
}
}
}
>>