]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/expressive.itely
Merge branch 'master' of carldsorensen@git.sv.gnu.org:/srv/git/lilypond into fret...
[lilypond.git] / Documentation / user / expressive.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9 @c \version "2.12.0"
10
11 @node Expressive marks
12 @section Expressive marks
13
14 @lilypondfile[quote]{expressive-headword.ly}
15
16 This section lists various expressive marks that can be
17 created in a score.
18
19 @menu
20 * Attached to notes::
21 * Curves::
22 * Lines::
23 @end menu
24
25
26 @node Attached to notes
27 @subsection Attached to notes
28
29 This section explains how to create expressive marks that are
30 attached to notes: articulations, ornamentations, and dynamics.
31 Methods to create new dynamic markings are also discussed.
32
33 @menu
34 * Articulations and ornamentations::
35 * Dynamics::
36 * New dynamic marks::
37 @end menu
38
39 @node Articulations and ornamentations
40 @unnumberedsubsubsec Articulations and ornamentations
41
42 @cindex articulations
43 @cindex ornamentation
44 @cindex scripts
45 @cindex ornaments
46 @cindex espressivo
47 @cindex fermata
48 @cindex upbow
49 @cindex downbow
50 @cindex foot marks
51 @cindex organ pedal marks
52 @cindex pedal marks, organ
53 @cindex turn
54 @cindex open
55 @cindex stopped
56 @cindex flageolet
57 @cindex reverseturn
58 @cindex trill
59 @cindex prall
60 @cindex mordent
61 @cindex prallprall
62 @cindex prallmordent
63 @cindex prall, up
64 @cindex prall, down
65 @cindex thumb marking
66 @cindex segno
67 @cindex coda
68 @cindex varcoda
69
70 @funindex -
71
72 A variety of symbols that denote articulations, ornamentations,
73 and other performance indications can be attached to a note using
74 this syntax:
75
76 @example
77 @var{note}\@var{name}
78 @end example
79
80 The possible values for @var{name} are listed in @ref{List of
81 articulations}.  For example:
82
83 @lilypond[verbatim,quote,relative=2]
84 c4\staccato c\mordent b2\turn
85 c1\fermata
86 @end lilypond
87
88 @cindex marcato
89 @cindex tenuto
90 @cindex staccatissimo
91 @cindex accent
92 @cindex staccato
93 @cindex portato
94
95 Some of these articulations have shorthands for easier entry.
96 Shorthands are appended to the note name, and their syntax
97 consists of a dash @code{-} followed by a symbol signifying the
98 articulation.  Predefined shorthands exist for @notation{marcato},
99 @notation{stopped}, @notation{tenuto}, @notation{staccatissimo},
100 @notation{accent}, @notation{staccato}, and @notation{portato}.
101 Their corresponding output appears as follows:
102
103 @lilypond[verbatim,quote,relative=2]
104 c4-^  c-+  c--  c-|
105 c4->  c-.  c2-_
106 @end lilypond
107
108 The rules for the default placement of articulations are defined
109 in @file{scm/@/script@/.scm}.  Articulations and ornamentations
110 may be manually placed above or below the staff, see
111 @ref{Direction and placement}.
112
113
114 @snippets
115
116 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
117 {modifying-default-values-for-articulation-shorthand-notation.ly}
118
119 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
120 {controlling-the-vertical-ordering-of-scripts.ly}
121
122 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
123 {creating-a-delayed-turn.ly}
124
125 @seealso
126 Music Glossary:
127 @rglos{tenuto},
128 @rglos{accent},
129 @rglos{staccato},
130 @rglos{portato}.
131
132 Notation Reference:
133 @ref{Direction and placement},
134 @ref{List of articulations},
135 @ref{Trills}.
136
137 Installed Files:
138 @file{scm/@/script@/.scm}.
139
140 Snippets:
141 @rlsr{Expressive marks}.
142
143 Internals Reference:
144 @rinternals{Script},
145 @rinternals{TextScript}.
146
147
148 @node Dynamics
149 @unnumberedsubsubsec Dynamics
150
151 @cindex absolute dynamics
152 @cindex dynamics
153 @cindex dynamics, absolute
154
155 @funindex \ppppp
156 @funindex ppppp
157 @funindex \pppp
158 @funindex pppp
159 @funindex \ppp
160 @funindex ppp
161 @funindex \pp
162 @funindex pp
163 @funindex \p
164 @funindex p
165 @funindex \mp
166 @funindex mp
167 @funindex \mf
168 @funindex mf
169 @funindex \f
170 @funindex f
171 @funindex \ff
172 @funindex ff
173 @funindex \fff
174 @funindex fff
175 @funindex \ffff
176 @funindex ffff
177 @funindex \fp
178 @funindex fp
179 @funindex \sf
180 @funindex sf
181 @funindex \sff
182 @funindex sff
183 @funindex \sp
184 @funindex sp
185 @funindex \spp
186 @funindex spp
187 @funindex \sfz
188 @funindex sfz
189 @funindex \rfz
190 @funindex rfz
191
192 Absolute dynamic marks are specified using a command after a note,
193 such as @code{c4\ff}.  The available dynamic marks are
194 @code{\ppppp}, @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p},
195 @code{\mp}, @code{\mf}, @code{\f}, @code{\ff}, @code{\fff},
196 @code{\ffff}, @code{\fp}, @code{\sf}, @code{\sff}, @code{\sp},
197 @code{\spp}, @code{\sfz}, and @code{\rfz}.  The dynamic marks may
198 be manually placed above or below the staff, see
199 @ref{Direction and placement}.
200
201 @lilypond[verbatim,quote,relative=2]
202 c2\ppp c\mp
203 c2\rfz c^\mf
204 c2_\spp c^\ff
205 @end lilypond
206
207 @cindex hairpin
208 @cindex crescendo
209 @cindex decrescendo
210 @cindex diminuendo
211
212 @funindex \<
213 @funindex \>
214 @funindex \!
215 @funindex \cr
216 @funindex cr
217 @funindex \decr
218 @funindex decr
219
220 A @notation{crescendo} mark is started with @code{\<} and
221 terminated with @code{\!}, an absolute dynamic, or an additional
222 crescendo or decrescendo mark.  A @notation{decrescendo} mark is
223 started with @code{\>} and is also terminated with @code{\!}, an
224 absolute dynamic, or another crescendo or decrescendo mark.
225 @code{\cr} and @code{\decr} may be used instead of @code{\<} and
226 @code{\>}.  @notation{Hairpins} are engraved by default using this
227 notation.
228
229 @lilypond[verbatim,quote,relative=2]
230 c2\< c\!
231 d2\< d\f
232 e2\< e\>
233 f2\> f\!
234 e2\> e\mp
235 d2\> d\>
236 c1\!
237 @end lilypond
238
239 Spacer rests are needed to engrave multiple marks on one note.
240
241 @cindex multiple dynamic marks on one note
242 @cindex dynamic marks, multiple on one note
243
244 @lilypond[verbatim,quote,relative=2]
245 c4\< c\! d\> e\!
246 << f1 { s4 s4\< s4\> s4\! } >>
247 @end lilypond
248
249 @cindex espressivo articulation
250
251 @funindex \espressivo
252 @funindex espressivo
253
254 In some situations the @code{\espressivo} articulation mark may be
255 the appropriate choice to indicate a crescendo and decrescendo on
256 one note:
257
258 @lilypond[verbatim,quote,relative=2]
259 c2 b4 a
260 g1\espressivo
261 @end lilypond
262
263
264 @funindex \crescTextCresc
265 @funindex crescTextCresc
266 @funindex \dimTextDecresc
267 @funindex dimTextDecresc
268 @funindex \dimTextDecr
269 @funindex dimTextDecr
270 @funindex \dimTextDim
271 @funindex dimTextDim
272 @funindex \crescHairpin
273 @funindex crescHairpin
274 @funindex \dimHairpin
275 @funindex dimHairpin
276
277 Crescendos and decrescendos can be engraved as textual markings
278 instead of hairpins.  Dashed lines are printed to indicate their
279 extent.  The built-in commands that enable these text modes are
280 @code{\crescTextCresc}, @code{\dimTextDecresc},
281 @code{\dimTextDecr}, and @code{\dimTextDim}.  The corresponding
282 @code{\crescHairpin} and @code{\dimHairpin} commands will revert
283 to hairpins again:
284
285 @lilypond[verbatim,quote,relative=2]
286 \crescTextCresc
287 c2\< d | e f\!
288 \dimTextDecresc
289 e2\> d | c b\!
290 \crescHairpin
291 c2\< d | e f\!
292 \dimHairpin
293 e2\> d\!
294 @end lilypond
295
296
297 To create new absolute dynamic marks or text that should be
298 aligned with dynamics, see @ref{New dynamic marks}.
299
300 @cindex dynamics, vertical positioning
301 @cindex vertical positioning of dynamics
302
303 @funindex DynamicLineSpanner
304
305
306 Vertical positioning of dynamics is handled by
307 @rinternals{DynamicLineSpanner}.
308 @funindex \dynamicUp
309 @funindex dynamicUp
310 @funindex \dynamicDown
311 @funindex dynamicDown
312 @funindex \dynamicNeutral
313 @funindex dynamicNeutral
314
315
316 @predefined
317 @code{\dynamicUp},
318 @code{\dynamicDown},
319 @code{\dynamicNeutral},
320 @code{\crescTextCresc},
321 @code{\dimTextDim},
322 @code{\dimTextDecr},
323 @code{\dimTextDecresc},
324 @code{\crescHairpin},
325 @code{\dimHairpin}.
326 @endpredefined
327
328
329 @snippets
330
331 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
332 {setting-hairpin-behavior-at-bar-lines.ly}
333
334 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
335 {setting-the-minimum-length-of-hairpins.ly}
336
337 @cindex al niente
338 @cindex niente, al
339
340 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
341 {printing-hairpins-using-al-niente-notation.ly}
342
343 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
344 {vertically-aligned-dynamics-and-textscripts.ly}
345
346 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
347 {hiding-the-extender-line-for-text-dynamics.ly}
348
349 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
350 {changing-text-and-spanner-styles-for-text-dynamics.ly}
351
352
353 @seealso
354 Music Glossary:
355 @rglos{al niente},
356 @rglos{crescendo},
357 @rglos{decrescendo},
358 @rglos{hairpin}.
359
360 Learning Manual:
361 @rlearning{Articulation and dynamics}.
362
363 Notation Reference:
364 @ref{Direction and placement},
365 @ref{New dynamic marks},
366 @ref{What goes into the MIDI output?},
367 @ref{Controlling MIDI dynamics}.
368
369 Snippets:
370 @rlsr{Expressive marks}.
371
372 Internals Reference:
373 @rinternals{DynamicText},
374 @rinternals{Hairpin},
375 @rinternals{DynamicLineSpanner}.
376
377
378 @node New dynamic marks
379 @unnumberedsubsubsec New dynamic marks
380
381 @cindex new dynamic marks
382 @cindex dynamic marks, new
383
384 The easiest way to create dynamic indications is to use
385 @code{\markup} objects.
386
387 @lilypond[verbatim,quote]
388 moltoF = \markup { molto \dynamic f }
389
390 \relative c' {
391   <d e>16_\moltoF <d e>
392   <d e>2..
393 }
394 @end lilypond
395
396 @cindex dynamics, editorial
397 @cindex dynamics, parenthesis
398 @cindex editorial dynamics
399 @funindex \bracket
400 @funindex bracket
401 @funindex \dynamic
402 @funindex dynamic
403
404 In markup mode, editorial dynamics (within parentheses or square
405 brackets) can be created.  The syntax for markup mode is described
406 in @ref{Formatting text}.
407
408 @lilypond[verbatim,quote]
409 roundF = \markup { \center-align \concat { \bold { \italic ( }
410            \dynamic f \bold { \italic ) } } }
411 boxF = \markup { \bracket { \dynamic f } }
412 \relative c' {
413   c1_\roundF
414   c1_\boxF
415 }
416 @end lilypond
417
418 @cindex make-dynamic-script
419 @funindex make-dynamic-script
420
421 Simple, centered dynamic marks are easily created with the
422 @code{make-dynamic-script} function.  The dynamic font only
423 contains the characters @code{f,m,p,r,s} and @code{z}.
424
425 @lilypond[verbatim,quote]
426 sfzp = #(make-dynamic-script "sfzp")
427 \relative c' {
428   c4 c c\sfzp c
429 }
430 @end lilypond
431
432 In general, @code{make-dynamic-script} takes any markup object as
433 its argument.  In the following example, using
434 @code{make-dynamic-script} ensures the vertical alignment of
435 markup objects and hairpins that are attached to the same note
436 head.
437
438 @lilypond[verbatim,quote]
439 roundF = \markup { \center-align \concat {
440            \normal-text { \bold { \italic ( } }
441            \dynamic f
442            \normal-text { \bold { \italic ) } } } }
443 boxF = \markup { \bracket { \dynamic f } }
444 roundFdynamic = #(make-dynamic-script roundF)
445 boxFdynamic = #(make-dynamic-script boxF)
446 \relative c' {
447   c4_\roundFdynamic\< d e f
448   g,1_\boxFdynamic
449 }
450 @end lilypond
451
452 The Scheme form of markup mode may be used instead.  Its syntax is
453 explained in @ref{Markup construction in Scheme}.
454
455 @lilypond[verbatim,quote]
456 moltoF = #(make-dynamic-script
457             (markup #:normal-text "molto"
458                     #:dynamic "f"))
459 \relative c' {
460   <d e>16 <d e>
461   <d e>2..\moltoF
462 }
463 @end lilypond
464
465 Font settings in markup mode are described in
466 @ref{Selecting font and font size}.
467
468
469 @seealso
470 Notation Reference:
471 @ref{Formatting text},
472 @ref{Selecting font and font size},
473 @ref{Markup construction in Scheme},
474 @ref{What goes into the MIDI output?},
475 @ref{Controlling MIDI dynamics}.
476
477 Snippets:
478 @rlsr{Expressive marks}.
479
480
481 @node Curves
482 @subsection Curves
483
484 This section explains how to create various expressive marks that
485 are curved: normal slurs, phrasing slurs, breath marks, falls, and
486 doits.
487
488 @menu
489 * Slurs::
490 * Phrasing slurs::
491 * Breath marks::
492 * Falls and doits::
493 @end menu
494
495 @node Slurs
496 @unnumberedsubsubsec Slurs
497
498 @cindex slurs
499
500 @notation{Slurs} are entered using parentheses:
501
502 @lilypond[verbatim,quote,relative=2]
503 f4( g a) a8 b(
504 a4 g2 f4)
505 <c e>2( <b d>2)
506 @end lilypond
507
508 @cindex slurs, manual placement
509 @cindex slurs, below notes
510 @cindex slurs, above notes
511 @funindex \slurDown
512 @funindex slurDown
513 @funindex \slurNeutral
514 @funindex slurNeutral
515
516 Slurs may be manually placed above or below the notes, see
517 @ref{Direction and placement}.
518
519 @lilypond[verbatim,quote,relative=2]
520 c2( d)
521 \slurDown
522 c2( d)
523 \slurNeutral
524 c2( d)
525 @end lilypond
526
527 @cindex phrasing slur
528 @cindex multiple slurs
529 @cindex simultaneous slurs
530 @cindex slur, phrasing
531 @cindex slurs, multiple
532 @cindex slurs, simultaneous
533
534 Simultaneous or overlapping slurs are not permitted, but a phrasing
535 slur can overlap a slur.  This permits two slurs to be printed at
536 once.  For details, see @ref{Phrasing slurs}.
537
538 @cindex slur style
539 @cindex solid slur
540 @cindex dotted slur
541 @cindex dashed slur
542 @cindex slur, solid
543 @cindex slur, dotted
544 @cindex slur, dashed
545 @cindex solid slur
546 @cindex dotted slur
547 @cindex dashed slur
548 @cindex sytle, slur
549 @funindex \slurDashed
550 @funindex slurDashed
551 @funindex \slurDotted
552 @funindex slurDotted
553 @funindex \slurSolid
554 @funindex slurSolid
555
556 Slurs can be solid, dotted, or dashed.  Solid is the default slur
557 style:
558
559 @lilypond[verbatim,quote,relative=1]
560 c4( e g2)
561 \slurDashed
562 g4( e c2)
563 \slurDotted
564 c4( e g2)
565 \slurSolid
566 g4( e c2)
567 @end lilypond
568
569 @funindex \slurUp
570 @funindex slurUp
571
572
573 @predefined
574 @code{\slurUp},
575 @code{\slurDown},
576 @code{\slurNeutral},
577 @code{\slurDashed},
578 @code{\slurDotted},
579 @code{\slurSolid}.
580 @endpredefined
581
582
583 @snippets
584
585 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
586 {using-double-slurs-for-legato-chords.ly}
587
588 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
589 {positioning-text-markups-inside-slurs.ly}
590
591 @seealso
592 Music Glossary:
593 @rglos{slur}.
594
595 Learning Manual:
596 @rlearning{On the un-nestedness of brackets and ties}.
597
598 Notation Reference:
599 @ref{Direction and placement},
600 @ref{Phrasing slurs}.
601
602 Snippets:
603 @rlsr{Expressive marks}.
604
605 Internals Reference:
606 @rinternals{Slur}.
607
608
609 @node Phrasing slurs
610 @unnumberedsubsubsec Phrasing slurs
611
612 @cindex phrasing slurs
613 @cindex phrasing marks
614 @cindex slur, phrasing
615 @cindex mark, phrasing
616 @funindex \(
617 @funindex \)
618
619 @notation{Phrasing slurs} (or phrasing marks) that indicate a
620 musical sentence are written using the commands @code{\(} and
621 @code{\)} respectively:
622
623 @lilypond[verbatim,quote,relative=2]
624 c4\( d( e) f(
625 e2) d\)
626 @end lilypond
627
628 @funindex \phrasingSlurUp
629 @funindex phrasingSlurUp
630 @funindex \phrasingSlurDown
631 @funindex phrasingSlurDown
632 @funindex \phrasingSlurNeutral
633 @funindex phrasingSlurNeutral
634 @funindex phrasingSlurDashed
635 @funindex \phrasingSlurDashed
636 @funindex \phrasingSlurDotted
637 @funindex phrasingSlurDotted
638 @funindex \phrasingSlurSolid
639 @funindex phrasingSlurSolid
640
641 Typographically, a phrasing slur behaves almost exactly like a
642 normal slur.  However, they are treated as different objects; a
643 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
644 slurs may be manually placed above or below the notes, see
645 @ref{Direction and placement}.
646
647 @lilypond[verbatim,quote,relative=1]
648 c4\( g' c,( b) | c1\)
649 \phrasingSlurUp
650 c4\( g' c,( b) | c1\)
651 @end lilypond
652
653 @cindex simultaneous phrasing slurs
654 @cindex multiple phrasing slurs
655 @cindex slurs, simultaneous phrasing
656 @cindex slurs, multiple phrasing
657 @cindex phrasing slurs, simultaneous
658 @cindex phrasing slurs, multiple
659
660 Simultaneous or overlapping phrasing slurs are not permitted.
661
662 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
663 style for phrasing slurs:
664
665 @lilypond[verbatim,quote,relative=1]
666 c4\( e g2\)
667 \phrasingSlurDashed
668 g4\( e c2\)
669 \phrasingSlurDotted
670 c4\( e g2\)
671 \phrasingSlurSolid
672 g4\( e c2\)
673 @end lilypond
674
675
676 @predefined
677 @code{\phrasingSlurUp},
678 @code{\phrasingSlurDown},
679 @code{\phrasingSlurNeutral},
680 @code{\phrasingSlurDashed},
681 @code{\phrasingSlurDotted},
682 @code{\phrasingSlurSolid}.
683 @endpredefined
684
685
686 @seealso
687 Learning Manual:
688 @rlearning{On the un-nestedness of brackets and ties}.
689
690 Notation Reference:
691 @ref{Direction and placement}.
692
693 Snippets:
694 @rlsr{Expressive marks}.
695
696 Internals Reference:
697 @rinternals{PhrasingSlur}.
698
699
700 @node Breath marks
701 @unnumberedsubsubsec Breath marks
702
703 @cindex breath marks
704 @cindex pause mark
705 @funindex \breathe
706 @funindex breathe
707
708 Breath marks are entered using @code{\breathe}:
709
710 @lilypond[verbatim,quote,relative=2]
711 c2. \breathe d4
712 @end lilypond
713
714 Musical indicators for breath marks in ancient notation,
715 divisiones, are supported.  For details, see @ref{Divisiones}.
716
717
718 @snippets
719
720 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
721 {changing-the-breath-mark-symbol.ly}
722
723 @cindex caesura
724 @cindex railroad tracks
725
726 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
727 {inserting-a-caesura.ly}
728
729
730 @seealso
731 Music Glossary:
732 @rglos{caesura}.
733
734 Notation Reference:
735 @ref{Divisiones}.
736
737 Snippets:
738 @rlsr{Expressive marks}.
739
740 Internals Reference:
741 @rinternals{BreathingSign}.
742
743
744 @node Falls and doits
745 @unnumberedsubsubsec Falls and doits
746
747 @cindex falls
748 @cindex doits
749 @funindex \bendAfter
750 @funindex bendAfter
751
752 @notation{Falls} and @notation{doits} can be added to notes using
753 the @code{\bendAfter} command.  The direction of the fall or doit
754 is indicated with a plus or minus (up or down).  The number
755 indicates the pitch interval that the fall or doit will extend
756 @emph{beyond} the main note.
757
758 @lilypond[verbatim,quote,relative=2]
759 c2-\bendAfter #+4
760 c2-\bendAfter #-4
761 c2-\bendAfter #+8
762 c2-\bendAfter #-8
763 @end lilypond
764
765 The dash @code{-} immediately preceding the @code{\bendAfter}
766 command is @emph{required} when writing falls and doits.
767
768
769 @snippets
770
771 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
772 {adjusting-the-shape-of-falls-and-doits.ly}
773
774
775 @seealso
776 Music Glossary:
777 @rglos{fall},
778 @rglos{doit}.
779
780 Snippets:
781 @rlsr{Expressive marks}.
782
783
784 @node Lines
785 @subsection Lines
786
787 This section explains how to create various expressive marks that
788 follow a linear path: glissandos, arpeggios, and trills.
789
790 @menu
791 * Glissando::
792 * Arpeggio::
793 * Trills::
794 @end menu
795
796 @node Glissando
797 @unnumberedsubsubsec Glissando
798
799 @cindex glissando
800 @funindex \glissando
801 @funindex glissando
802
803 A @notation{glissando} is created by attaching @code{\glissando}
804 to a note:
805
806 @lilypond[verbatim,quote,relative=2]
807 g2\glissando g'
808 c2\glissando c,
809 @end lilypond
810
811 Different styles of glissandi can be created.  For details, see
812 @ref{Line styles}.
813
814 @snippets
815
816 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
817 {contemporary-glissando.ly}
818
819
820 @seealso
821 Music Glossary:
822 @rglos{glissando}.
823
824 Notation Reference:
825 @ref{Line styles}.
826
827 Snippets:
828 @rlsr{Expressive marks}.
829
830 Internals Reference:
831 @rinternals{Glissando}.
832
833
834 @knownissues
835
836 Printing text over the line (such as @notation{gliss.}) is not
837 supported.
838
839
840 @node Arpeggio
841 @unnumberedsubsubsec Arpeggio
842
843 @cindex arpeggio
844 @cindex broken chord
845 @cindex chord, broken
846
847 @funindex \arpeggio
848 @funindex arpeggio
849 @funindex \arpeggioArrowUp
850 @funindex arpeggioArrowUp
851 @funindex \arpeggioArrowDown
852 @funindex arpeggioArrowDown
853 @funindex \arpeggioNormal
854 @funindex arpeggioNormal
855
856 An @notation{arpeggio} on a chord (also known as a broken chord)
857 is denoted by appending @code{\arpeggio} to the chord construct:
858
859 @lilypond[verbatim,quote,relative=1]
860 <c e g c>1\arpeggio
861 @end lilypond
862
863 Different types of arpeggios may be written.
864 @code{\arpeggioNormal} reverts to a normal arpeggio:
865
866 @lilypond[verbatim,quote,relative=1]
867 <c e g c>2\arpeggio
868 \arpeggioArrowUp
869 <c e g c>2\arpeggio
870 \arpeggioArrowDown
871 <c e g c>2\arpeggio
872 \arpeggioNormal
873 <c e g c>2\arpeggio
874 @end lilypond
875
876 @cindex arpeggio symbols, special
877 @cindex special arpeggio symbols
878
879 @funindex \arpeggioBracket
880 @funindex arpeggioBracket
881 @funindex \arpeggioParenthesis
882 @funindex arpeggioParenthesis
883
884 Special @emph{bracketed} arpeggio symbols can be created:
885
886 @lilypond[verbatim,quote,relative=1]
887 <c e g c>2
888 \arpeggioBracket
889 <c e g c>2\arpeggio
890 \arpeggioParenthesis
891 <c e g c>2\arpeggio
892 \arpeggioNormal
893 <c e g c>2\arpeggio
894 @end lilypond
895
896 Arpeggios can be explicitly written out with ties.  For more
897 information, see @ref{Ties}.
898
899
900 @predefined
901 @code{\arpeggio},
902 @code{\arpeggioArrowUp},
903 @code{\arpeggioArrowDown},
904 @code{\arpeggioNormal},
905 @code{\arpeggioBracket},
906 @code{\arpeggioParenthesis}.
907 @endpredefined
908
909
910 @snippets
911
912 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
913 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
914
915 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
916 {creating-cross-staff-arpeggios-in-other-contexts.ly}
917
918 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
919 {creating-arpeggios-across-notes-in-different-voices.ly}
920
921
922 @seealso
923 Music Glossary:
924 @rglos{arpeggio}.
925
926 Notation Reference:
927 @ref{Ties}.
928
929 Snippets:
930 @rlsr{Expressive marks}.
931
932 Internals Reference:
933 @rinternals{Arpeggio},
934 @rinternals{PianoStaff}.
935
936
937 @knownissues
938
939 @cindex cross-staff parenthesis-style arpeggio
940 @cindex arpeggio, parenthesis-style, cross-staff
941 @cindex arpeggio, cross-staff parenthesis-style
942
943 It is not possible to mix connected arpeggios and unconnected
944 arpeggios in one @code{PianoStaff} at the same point in
945 time.
946
947 The parenthesis-style arpeggio brackets do not work for
948 cross-staff arpeggios.
949
950
951 @node Trills
952 @unnumberedsubsubsec Trills
953
954 @cindex trills
955
956 @funindex \trill
957 @funindex trill
958 @funindex \startTrillSpan
959 @funindex startTrillSpan
960 @funindex \stopTrillSpan
961 @funindex stopTrillSpan
962
963 Short @notation{trills} without an extender line are printed with
964 @code{\trill}; see @ref{Articulations and ornamentations}.
965
966 Longer trills with an extender line are made with
967 @code{\startTrillSpan} and @code{\stopTrillSpan}:
968
969 @lilypond[verbatim,quote,relative=2]
970 d1~\startTrillSpan
971 d1
972 c2\stopTrillSpan r2
973 @end lilypond
974
975 In the following example, a trill is combined with grace notes.
976 The syntax of this construct and the method to precisely position
977 the grace notes are described in @ref{Grace notes}.
978
979 @lilypond[verbatim,quote,relative=2]
980 c1 \afterGrace
981 d1\startTrillSpan { c32[ d]\stopTrillSpan }
982 e2 r2
983 @end lilypond
984
985 @cindex pitched trills
986 @cindex trills, pitched
987 @funindex \pitchedTrill
988 @funindex pitchedTrill
989
990 Trills that require an auxiliary note with an explicit pitch can
991 be typeset with the @code{\pitchedTrill} command.  The first
992 argument is the main note, and the second is the @emph{trilled}
993 note, printed as a stemless note head in parentheses.
994
995 @lilypond[verbatim,quote,relative=1]
996 \pitchedTrill e2\startTrillSpan fis
997 d\stopTrillSpan
998 @end lilypond
999
1000 @cindex pitched trill with forced accidental
1001 @cindex trill, pitched with forced accidental
1002 @cindex accidental, forced for pitched trill
1003
1004 In the following example, the second pitched trill is ambiguous;
1005 the accidental of the trilled note is not printed.  As a
1006 workaround, the accidentals of the trilled notes can be forced.
1007 The second measure illustrates this method:
1008
1009 @lilypond[verbatim,quote,relative=2]
1010 \pitchedTrill eis4\startTrillSpan fis
1011 g\stopTrillSpan
1012 \pitchedTrill eis4\startTrillSpan fis
1013 g\stopTrillSpan
1014 \pitchedTrill eis4\startTrillSpan fis
1015 g\stopTrillSpan
1016 \pitchedTrill eis4\startTrillSpan fis!
1017 g\stopTrillSpan
1018 @end lilypond
1019
1020
1021 @predefined
1022 @code{\startTrillSpan},
1023 @code{\stopTrillSpan}.
1024 @endpredefined
1025
1026
1027 @seealso
1028 Music Glossary:
1029 @rglos{trill}.
1030
1031 Notation Reference:
1032 @ref{Articulations and ornamentations},
1033 @ref{Grace notes}.
1034
1035 Snippets:
1036 @rlsr{Expressive marks}.
1037
1038 Internals Reference:
1039 @rinternals{TrillSpanner}.
1040