1 @c -*- coding: utf-8; mode: texinfo; -*-
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. For details, see the Contributors'
7 Guide, node Updating translation committishes..
12 @node Keyboard and other multi-staff instruments
13 @section Keyboard and other multi-staff instruments
15 @lilypondfile[quote]{keyboard-headword.ly}
17 This section discusses several aspects of music notation that are
18 unique to keyboard instruments and other instruments notated on
19 many staves, such as harps and vibraphones. For the purposes of
20 this section this entire group of multi-staff instruments is called
21 @qq{keyboards} for short, even though some of them do not have a
25 * Common notation for keyboards::
31 @node Common notation for keyboards
32 @subsection Common notation for keyboards
34 This section discusses notation issues that may arise for most
38 * References for keyboards::
39 * Changing staff manually::
40 * Changing staff automatically::
41 * Staff-change lines::
45 @node References for keyboards
46 @unnumberedsubsubsec References for keyboards
50 @cindex staves, keyboard instruments
51 @cindex staves, keyed instruments
52 @cindex keyboard instrument staves
53 @cindex keyed instrument staves
57 Keyboard instruments are usually notated with Piano staves. These
58 are two or more normal staves coupled with a brace. The same
59 notation is also used for other keyed instruments.
60 Organ music is normally written with two staves inside a
61 @code{PianoStaff} group and third, normal staff for the pedals.
63 The staves in keyboard music are largely independent, but
64 sometimes voices can cross between the two staves. This
65 section discusses notation techniques particular to keyboard
68 Several common issues in keyboard music are covered elsewhere:
72 @item Keyboard music usually contains multiple voices and the
73 number of voices may change regularly; this is described in
74 @ref{Collision resolution}.
76 @item Keyboard music can be written in parallel, as described in
77 @ref{Writing music in parallel}.
79 @item Fingerings are indicated with @ref{Fingering instructions}.
81 @item Organ pedal indications are inserted as articulations, see
82 @ref{List of articulations}.
84 @item Vertical grid lines can be shown with @ref{Grid lines}.
86 @item Keyboard music often contains @notation{Laissez vibrer} ties
87 as well as ties on arpeggios and tremolos, described in
90 @item Placing arpeggios across multiple voices and staves is
91 covered in @ref{Arpeggio}.
93 @item Tremolo marks are described in @ref{Tremolo repeats}.
95 @item Several of the tweaks that can occur in keyboard music are
96 demonstrated in @rlearning{Real music example}.
98 @item Hidden notes can be used to produce ties that cross voices,
99 as shown in @rlearning{Other uses for tweaks}.
104 @c @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
105 @c {forcing-visibility-of-systems-with-multi-bar-rests-when-using-\RemoveEmptyStaffContext.ly}
106 @c http://lsr.dsi.unimi.it/LSR/Item?u=1&id=312
110 @rlearning{Real music example},
111 @rlearning{Other uses for tweaks}.
114 @ref{Grouping staves},
115 @ref{Instrument names},
116 @ref{Collision resolution},
117 @ref{Writing music in parallel},
118 @ref{Fingering instructions},
119 @ref{List of articulations},
123 @ref{Tremolo repeats}.
126 @rinternals{PianoStaff}.
134 @cindex keyboard music, centering dynamics
135 @cindex dynamics, centered in keyboard music
136 @cindex piano music, centering dynamics
137 @cindex centered dynamics in piano music
138 @funindex staff-padding
140 Dynamics are not automatically centered, but workarounds do exist. One
141 option is the @q{piano centered dynamics} template under
142 @rlearning{Piano templates}; another option is to increase the
143 @code{staff-padding} of dynamics as discussed in @rlearning{Moving
146 @node Changing staff manually
147 @unnumberedsubsubsec Changing staff manually
149 @cindex changing staff manually
150 @cindex manual staff changes
151 @cindex staff changes, manual
152 @cindex cross-staff notes
153 @cindex notes, cross-staff
154 @cindex cross-staff beams
155 @cindex beams, cross-staff
160 Voices can be switched between staves manually, using the command
163 \change Staff = @var{staffname}
167 The string @var{staffname} is the name of the staff. It switches
168 the current voice from its current staff to the staff called
169 @var{staffname}. Typical values for @var{staffname} are
170 @code{"up"} and @code{"down"}, or @code{"RH"} and @code{"LH"}.
172 The staff to which the voice is being switched must exist at the
173 time of the switch. If necessary, staves should be @qq{kept alive},
174 see @ref{Keeping contexts alive}.
176 Cross-staff notes are beamed automatically:
178 @lilypond[verbatim,quote]
182 \change Staff = "down"
186 \change Staff = "down"
190 \new Staff = "down" {
198 If the beaming needs to be tweaked, make any changes to the stem
199 directions first. The beam positions are then measured from the
200 center of the staff that is closest to the beam. For a simple
201 example of beam tweaking, see @rlearning{Fixing overlapping
207 @rlearning{Fixing overlapping notation}.
211 @ref{Automatic beams},
212 @ref{Keeping contexts alive}.
219 @rinternals{ContextChange}.
222 @node Changing staff automatically
223 @unnumberedsubsubsec Changing staff automatically
225 @cindex changing staff automatically
226 @cindex automatic staff changes
227 @cindex staff changes, automatic
229 @funindex \autochange
233 Voices can be made to switch automatically between the top and the
234 bottom staff. The syntax for this is
237 \autochange @dots{}@var{music}@dots{}
241 This will create two staves inside the current staff group
242 (usually a @code{PianoStaff}), called @code{"up"} and
243 @code{"down"}. The lower staff will be in the bass clef by default.
244 The autochanger switches on the basis of the pitch (middle@tie{}C is the
245 turning point), and it looks ahead skipping over rests to switch
248 @lilypond[quote,verbatim]
257 @cindex relative music and autochange
258 @cindex autochange and relative music
263 A @code{\relative} section that is outside of @code{\autochange}
264 has no effect on the pitches of the music, so if necessary, put
265 @code{\relative} inside @code{\autochange}.
267 If additional control is needed over the individual staves, they
268 can be created manually with the names @code{"up"} and
269 @code{"down"}. The @code{\autochange} command will then switch
270 its voice between the existing staves.
272 @warning{If staves are created manually, they @emph{must} be named
273 @code{"up"} and @code{"down"}.}
275 For example, staves must be created manually in order to place a
276 key signature in the lower staff:
278 @lilypond[quote,verbatim]
281 \new Voice = "melOne" {
283 \autochange \relative c' {
289 \new Staff = "down" {
299 @ref{Changing staff manually}.
305 @rinternals{AutoChangeMusic}.
310 @cindex chords, splitting across staves with \autochange
312 The staff switches may not end up in optimal places. For high
313 quality output, staff switches should be specified manually.
315 Chords will not be split across the staves; they will be assigned to a
316 staff based on the first note named in the chord construct.
318 @node Staff-change lines
319 @unnumberedsubsubsec Staff-change lines
321 @cindex staff-change line
322 @cindex staff change line
323 @cindex cross-staff line
324 @cindex cross staff line
325 @cindex line, staff-change follower
326 @cindex line, cross-staff
327 @cindex line, staff-change
329 @cindex voice, following
330 @cindex staff switching
333 @funindex followVoice
334 @funindex \showStaffSwitch
335 @funindex showStaffSwitch
336 @funindex \hideStaffSwitch
337 @funindex hideStaffSwitch
339 Whenever a voice switches to another staff, a line connecting the
340 notes can be printed automatically:
342 @lilypond[quote,verbatim,relative=1]
347 \change Staff = "two"
359 @code{\showStaffSwitch},
360 @code{\hideStaffSwitch}.
369 @rinternals{Note_head_line_engraver},
370 @rinternals{VoiceFollower}.
373 @node Cross-staff stems
374 @unnumberedsubsubsec Cross-staff stems
376 @cindex cross-staff notes
377 @cindex cross staff notes
378 @cindex notes, cross-staff
379 @cindex cross-staff stems
380 @cindex cross staff stems
381 @cindex stems, cross-staff
382 @cindex chords, cross-staff
383 @cindex cross-staff chords
384 @cindex cross staff chords
387 @funindex cross-staff
391 Chords that cross staves may be produced:
393 @lilypond[verbatim,quote]
404 % stems may overlap the other staff
405 \override Stem #'cross-staff = ##t
406 % extend the stems to reach the other staff
407 \override Stem #'length = #12
408 % do not print extra flags
409 \override Stem #'flag-style = #'no-flag
410 % prevent beaming as needed
411 a8 g4 f8 f bes\noBeam g4
423 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
424 {indicating-cross-staff-chords-with-arpeggio-bracket.ly}
438 This section discusses notation issues that relate most directly to the
446 @unnumberedsubsubsec Piano pedals
449 @cindex pedals, piano
450 @cindex sustain pedal
451 @cindex pedal, sustain
452 @cindex sostenuto pedal
453 @cindex pedal, sostenuto
461 @funindex \sustainOff
463 @funindex \sostenutoOn
464 @funindex sostenutoOn
465 @funindex \sostenutoOff
466 @funindex sostenutoOff
472 Pianos generally have three pedals that alter the way sound is
473 produced: @notation{sustain}, @notation{sostenuto}
474 (@notation{sos.}), and @notation{una corda} (@notation{U.C.}).
475 Sustain pedals are also found on vibraphones and celestas.
477 @lilypond[quote,verbatim,relative=2]
480 c4\sostenutoOn e g c,
481 <bes d f>1\sostenutoOff
486 @cindex pedal indication styles
487 @cindex pedal indication, text
488 @cindex pedal indication, bracket
489 @cindex pedal indication, mixed
490 @cindex pedal sustain style
491 @cindex sustain pedal style
493 @funindex pedalSustainStyle
498 There are three styles of pedal indications: text, bracket, and mixed.
499 The sustain pedal and the una corda pedal use the text style by default
500 while the sostenuto pedal uses mixed by default.
502 @lilypond[quote,verbatim,relative=2]
503 c4\sustainOn g c2\sustainOff
504 \set Staff.pedalSustainStyle = #'mixed
506 d\sustainOff\sustainOn g, c2\sustainOff
507 \set Staff.pedalSustainStyle = #'bracket
509 d\sustainOff\sustainOn g, c2
513 The placement of the pedal commands matches the physical movement of the
514 sustain pedal during piano performance. Pedalling to the final bar line
515 is indicated by omitting the final pedal off command.
526 @rinternals{SustainPedal},
527 @rinternals{SustainPedalLineSpanner},
528 @rinternals{SustainEvent},
529 @rinternals{SostenutoPedal},
530 @rinternals{SostenutoPedalLineSpanner},
531 @rinternals{SostenutoEvent},
532 @rinternals{UnaCordaPedal},
533 @rinternals{UnaCordaPedalLineSpanner},
534 @rinternals{UnaCordaEvent},
535 @rinternals{PianoPedalBracket},
536 @rinternals{Piano_pedal_engraver}.
540 @subsection Accordion
544 This section discusses notation that is unique to the accordion.
550 @node Discant symbols
551 @unnumberedsubsubsec Discant symbols
553 @cindex accordion discant symbols
554 @cindex discant symbols, accordion
555 @cindex accordion shifts
556 @cindex accordion shift symbols
558 Accordions are often built with more than one set of reeds that may be
559 in unison with, an octave above, or an octave below the written pitch.
560 Each accordion maker has different names for the @notation{shifts} that
561 select the various reed combinations, such as @notation{oboe},
562 @notation{musette}, or @notation{bandonium}, so a system of symbols has
563 come into use to simplify the performance instructions.
567 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
568 {accordion-discant-symbols.ly}
579 This section discusses notation issues that are unique to the harp.
582 * References for harps::
586 @node References for harps
587 @unnumberedsubsubsec References for harps
591 Some common characteristics of harp music are covered elsewhere:
595 @item The glissando is the most characterisic harp technique,
598 @item A @notation{bisbigliando} is written as a tremelo @ref{Tremolo
601 @item Natural harmonics are covered under @ref{Harmonics}.
603 @item For directional arpeggios and non-arpeggios, see @ref{Arpeggio}.
609 @ref{Tremolo repeats},
615 @unnumberedsubsubsec Harp pedals
618 @cindex harp pedal diagrams
620 @cindex pedal diagrams, harp
622 Harps have seven strings per octave that may be sounded at the natural,
623 flattened, or sharpened pitch. In lever harps, each string is adjusted
624 individually, but in pedal harps every string with the same pitch name
625 is controlled by a single pedal. From the player's left to right, the
626 pedals are D, C, and B on the left and E, F, G, and A on the right.
627 The position of the pedals may be indicated with text marks:
629 @lilypond[quote,verbatim,relative=2]
631 cis1_\markup \concat \vcenter {
632 [D \flat C \sharp B|E \sharp F \sharp G A \flat] }
633 c!1_\markup \concat \vcenter {
639 @lilypond[quote,verbatim,relative=2]
641 cis1_\markup { \harp-pedal #"^v-|vv-^" }
642 c!1_\markup { \harp-pedal #"^o--|vv-^" }
645 The @code{\harp-pedal} command accepts a string of characters, where
646 @code{^} is the highest pedal position (flattened pitch), @code{-} is
647 the middle pedal postion (natural pitch), @code{v} is the lowest pedal
648 position (sharpened pitch), and @code{|} is the divider. A prefixed
649 @code{o} will circle the following pedal symbol.
654 @ref{Instrument Specific Markup}.