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