| [ << Notazione specialistica ] | [Top][Contents][Index] | [ Input e output >> ] |
| [ < Modifica automatica del rigo ] | [ Up: Notazione comune per tastiere ] | [ Pianoforte > ] |
Linee del cambio rigo
Quando una voce passa a un altro rigo, è possibile stampare automaticamente una linea connettiva:
\new PianoStaff << \new Staff = "uno" { \showStaffSwitch c'1 \change Staff = "due" b2 a } \new Staff = "due" { \clef bass s1*2 } >>![]()
Una linea di cambio rigo tra accordi collega le “ultime note” degli accordi come sono scritte nel file sorgente; ciò può essere utile per regolare velocemente le posizioni verticali di inizio e fine della linea.
\new PianoStaff << \new Staff = "uno" { <c' e' g'>1 \showStaffSwitch \change Staff = "due" <a c' f>1 \hideStaffSwitch \change Staff = "uno" <e' g' c'>1 \showStaffSwitch \change Staff = "due" <f a c'>1 } \new Staff = "due" { \clef bass s1*4 } >>![]()
Comandi predefiniti
\showStaffSwitch,
\hideStaffSwitch.
Vedi anche
Frammenti: Keyboard and other multi-staff instruments.
Guida al funzionamento interno: Note_head_line_engraver, VoiceFollower.
Frammenti di codice selezionati
Cross-staff stems
This snippet shows how to use Span_stem_engraver and
\crossStaff to connect stems across staves automatically.
The stem lengths need not be specified, as the variable distance between
noteheads and staves is calculated automatically. However, it is
important that \crossStaff is applied to the correct voice or
staff (i.e., on the opposite side of where a beam is or would be
positioned) to get the desired effect.
\layout { \context { \PianoStaff \consists "Span_stem_engraver" } } \new PianoStaff << \new Staff { <b d'>4 r d'16\> e'8. g8 r\! | e'8 f' g'4 \voiceTwo % Down to lower staff \crossStaff { e'8 e'8 } e'4 | } \new Staff { \clef bass \voiceOne % Up to upper staff \crossStaff { <e g>4 e, g16 a8. c8 } d | g8 f g4 \voiceTwo g8 g g4 | } >>![]()
Indicating cross-staff chords with a bracket
An non-arpeggiato bracket can indicate that notes on two different staves
are to be played with the same hand. In order to do this, the
PianoStaff must be set to accept cross-staff brackets.
The following example typesets measure 65 of Debussy’s prelude Les collines d’Anacapri.
\new PianoStaff << \once \set PianoStaff.connectChordBrackets = ##t \new Staff \relative c' { \key b \major \time 6/8 b8-.(\nonArpeggiato fis'-.\> cis-. e-. gis-. b-.)\!\fermata^\laissezVibrer \section } \new Staff \relative c' { \clef bass \key b \major << { <a e cis>2.\nonArpeggiato } \\ { <a, e a,>2. } >> \section } >>![]()
Vedi anche
Frammenti: Keyboard and other multi-staff instruments.
Guida al funzionamento interno: Stem.
| [ << Notazione specialistica ] | [Top][Contents][Index] | [ Input e output >> ] |
| [ < Modifica automatica del rigo ] | [ Up: Notazione comune per tastiere ] | [ Pianoforte > ] |
![[image of music]](../03/lily-f37fa3d9.png)
![[image of music]](../11/lily-34a3b72d.png)
![[image of music]](../3a/lily-fcb094ac.png)
![[image of music]](../15/lily-a2fb2821.png)