]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/expressive.itely
Merge branch 'master' into lilypond/translation
[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.
423
424 @lilypond[verbatim,quote]
425 sfzp = #(make-dynamic-script "sfzp")
426 \relative c' {
427   c4 c c\sfzp c
428 }
429 @end lilypond
430
431 In general, @code{make-dynamic-script} takes any markup object as its
432 argument.  The dynamic font only contains the characters
433 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
434 plain text or punctuation symbols is desired, markup commands that
435 reverts font family and font encoding to normal text should be used,
436 for example @code{\normal-text}.  The interest of using
437 @code{make-dynamic-script} instead of an ordinary markup is ensuring
438 the vertical alignment of markup objects and hairpins that are
439 attached to the same note head.
440
441 @lilypond[verbatim,quote]
442 roundF = \markup { \center-align \concat {
443            \normal-text { \bold { \italic ( } }
444            \dynamic f
445            \normal-text { \bold { \italic ) } } } }
446 boxF = \markup { \bracket { \dynamic f } }
447 mfEspress = \markup { \center-align \line {
448               \hspace #3.7 mf \normal-text \italic espress. } }
449 roundFdynamic = #(make-dynamic-script roundF)
450 boxFdynamic = #(make-dynamic-script boxF)
451 mfEspressDynamic = #(make-dynamic-script mfEspress)
452 \relative c' {
453   c4_\roundFdynamic\< d e f
454   g,1~_\boxFdynamic\>
455   g
456   g'~\mfEspressDynamic
457   g
458 }
459 @end lilypond
460
461 The Scheme form of markup mode may be used instead.  Its syntax is
462 explained in @ref{Markup construction in Scheme}.
463
464 @lilypond[verbatim,quote]
465 moltoF = #(make-dynamic-script
466             (markup #:normal-text "molto"
467                     #:dynamic "f"))
468 \relative c' {
469   <d e>16 <d e>
470   <d e>2..\moltoF
471 }
472 @end lilypond
473
474 Font settings in markup mode are described in
475 @ref{Selecting font and font size}.
476
477
478 @seealso
479 Notation Reference:
480 @ref{Formatting text},
481 @ref{Selecting font and font size},
482 @ref{Markup construction in Scheme},
483 @ref{What goes into the MIDI output?},
484 @ref{Controlling MIDI dynamics}.
485
486 Snippets:
487 @rlsr{Expressive marks}.
488
489
490 @node Curves
491 @subsection Curves
492
493 This section explains how to create various expressive marks that
494 are curved: normal slurs, phrasing slurs, breath marks, falls, and
495 doits.
496
497 @menu
498 * Slurs::
499 * Phrasing slurs::
500 * Breath marks::
501 * Falls and doits::
502 @end menu
503
504 @node Slurs
505 @unnumberedsubsubsec Slurs
506
507 @cindex slurs
508
509 @notation{Slurs} are entered using parentheses:
510
511 @lilypond[verbatim,quote,relative=2]
512 f4( g a) a8 b(
513 a4 g2 f4)
514 <c e>2( <b d>2)
515 @end lilypond
516
517 @cindex slurs, manual placement
518 @cindex slurs, below notes
519 @cindex slurs, above notes
520 @funindex \slurDown
521 @funindex slurDown
522 @funindex \slurNeutral
523 @funindex slurNeutral
524
525 Slurs may be manually placed above or below the notes, see
526 @ref{Direction and placement}.
527
528 @lilypond[verbatim,quote,relative=2]
529 c2( d)
530 \slurDown
531 c2( d)
532 \slurNeutral
533 c2( d)
534 @end lilypond
535
536 @cindex phrasing slur
537 @cindex multiple slurs
538 @cindex simultaneous slurs
539 @cindex slur, phrasing
540 @cindex slurs, multiple
541 @cindex slurs, simultaneous
542
543 Simultaneous or overlapping slurs are not permitted, but a phrasing
544 slur can overlap a slur.  This permits two slurs to be printed at
545 once.  For details, see @ref{Phrasing slurs}.
546
547 @cindex slur style
548 @cindex solid slur
549 @cindex dotted slur
550 @cindex dashed slur
551 @cindex slur, solid
552 @cindex slur, dotted
553 @cindex slur, dashed
554 @cindex solid slur
555 @cindex dotted slur
556 @cindex dashed slur
557 @cindex sytle, slur
558 @funindex \slurDashed
559 @funindex slurDashed
560 @funindex \slurDotted
561 @funindex slurDotted
562 @funindex \slurSolid
563 @funindex slurSolid
564
565 Slurs can be solid, dotted, or dashed.  Solid is the default slur
566 style:
567
568 @lilypond[verbatim,quote,relative=1]
569 c4( e g2)
570 \slurDashed
571 g4( e c2)
572 \slurDotted
573 c4( e g2)
574 \slurSolid
575 g4( e c2)
576 @end lilypond
577
578 @funindex \slurHalfDashed
579 @funindex slurHalfDashed
580 @funindex \slurHalfSolid
581 @funindex slurHalfSolid
582
583 Slurs can also be made half-dashed (the first half dashed, the
584 second half solid) or half-solid (the first half solid, the second
585 half dashed):
586
587 @lilypond[verbatim,quote,relative=1]
588 \slurHalfDashed
589 g4( e c2)
590 \slurHalfSolid
591 c4( e g2)
592 \slurSolid
593 g4( e c2)
594 @end lilypond
595
596
597
598 @funindex \slurUp
599 @funindex slurUp
600
601
602 @predefined
603 @code{\slurUp},
604 @code{\slurDown},
605 @code{\slurNeutral},
606 @code{\slurDashed},
607 @code{\slurDotted},
608 @code{\slurHaldDashed},
609 @code{\slurHalfSolid},
610 @code{\slurSolid}.
611 @endpredefined
612
613
614 @snippets
615
616 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
617 {using-double-slurs-for-legato-chords.ly}
618
619 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
620 {positioning-text-markups-inside-slurs.ly}
621
622 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
623 {making-slurs-with-complex-dash-structure.ly}
624
625 @seealso
626 Music Glossary:
627 @rglos{slur}.
628
629 Learning Manual:
630 @rlearning{On the un-nestedness of brackets and ties}.
631
632 Notation Reference:
633 @ref{Direction and placement},
634 @ref{Phrasing slurs}.
635
636 Snippets:
637 @rlsr{Expressive marks}.
638
639 Internals Reference:
640 @rinternals{Slur}.
641
642
643 @node Phrasing slurs
644 @unnumberedsubsubsec Phrasing slurs
645
646 @cindex phrasing slurs
647 @cindex phrasing marks
648 @cindex slur, phrasing
649 @cindex mark, phrasing
650 @funindex \(
651 @funindex \)
652
653 @notation{Phrasing slurs} (or phrasing marks) that indicate a
654 musical sentence are written using the commands @code{\(} and
655 @code{\)} respectively:
656
657 @lilypond[verbatim,quote,relative=2]
658 c4\( d( e) f(
659 e2) d\)
660 @end lilypond
661
662 @funindex \phrasingSlurUp
663 @funindex phrasingSlurUp
664 @funindex \phrasingSlurDown
665 @funindex phrasingSlurDown
666 @funindex \phrasingSlurNeutral
667 @funindex phrasingSlurNeutral
668 @funindex phrasingSlurDashed
669 @funindex \phrasingSlurDashed
670 @funindex \phrasingSlurDotted
671 @funindex phrasingSlurDotted
672 @funindex \phrasingSlurSolid
673 @funindex phrasingSlurSolid
674
675 Typographically, a phrasing slur behaves almost exactly like a
676 normal slur.  However, they are treated as different objects; a
677 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
678 slurs may be manually placed above or below the notes, see
679 @ref{Direction and placement}.
680
681 @lilypond[verbatim,quote,relative=1]
682 c4\( g' c,( b) | c1\)
683 \phrasingSlurUp
684 c4\( g' c,( b) | c1\)
685 @end lilypond
686
687 @cindex simultaneous phrasing slurs
688 @cindex multiple phrasing slurs
689 @cindex slurs, simultaneous phrasing
690 @cindex slurs, multiple phrasing
691 @cindex phrasing slurs, simultaneous
692 @cindex phrasing slurs, multiple
693
694 Simultaneous or overlapping phrasing slurs are not permitted.
695
696 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
697 style for phrasing slurs:
698
699 @lilypond[verbatim,quote,relative=1]
700 c4\( e g2\)
701 \phrasingSlurDashed
702 g4\( e c2\)
703 \phrasingSlurDotted
704 c4\( e g2\)
705 \phrasingSlurSolid
706 g4\( e c2\)
707 @end lilypond
708
709
710 @predefined
711 @code{\phrasingSlurUp},
712 @code{\phrasingSlurDown},
713 @code{\phrasingSlurNeutral},
714 @code{\phrasingSlurDashed},
715 @code{\phrasingSlurDotted},
716 @code{\phrasingSlurSolid}.
717 @endpredefined
718
719
720 @seealso
721 Learning Manual:
722 @rlearning{On the un-nestedness of brackets and ties}.
723
724 Notation Reference:
725 @ref{Direction and placement}.
726
727 Snippets:
728 @rlsr{Expressive marks}.
729
730 Internals Reference:
731 @rinternals{PhrasingSlur}.
732
733
734 @node Breath marks
735 @unnumberedsubsubsec Breath marks
736
737 @cindex breath marks
738 @cindex pause mark
739 @funindex \breathe
740 @funindex breathe
741
742 Breath marks are entered using @code{\breathe}:
743
744 @lilypond[verbatim,quote,relative=2]
745 c2. \breathe d4
746 @end lilypond
747
748 Musical indicators for breath marks in ancient notation,
749 divisiones, are supported.  For details, see @ref{Divisiones}.
750
751
752 @snippets
753
754 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
755 {changing-the-breath-mark-symbol.ly}
756
757 @cindex caesura
758 @cindex railroad tracks
759
760 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
761 {inserting-a-caesura.ly}
762
763
764 @seealso
765 Music Glossary:
766 @rglos{caesura}.
767
768 Notation Reference:
769 @ref{Divisiones}.
770
771 Snippets:
772 @rlsr{Expressive marks}.
773
774 Internals Reference:
775 @rinternals{BreathingSign}.
776
777
778 @node Falls and doits
779 @unnumberedsubsubsec Falls and doits
780
781 @cindex falls
782 @cindex doits
783 @funindex \bendAfter
784 @funindex bendAfter
785
786 @notation{Falls} and @notation{doits} can be added to notes using
787 the @code{\bendAfter} command.  The direction of the fall or doit
788 is indicated with a plus or minus (up or down).  The number
789 indicates the pitch interval that the fall or doit will extend
790 @emph{beyond} the main note.
791
792 @lilypond[verbatim,quote,relative=2]
793 c2-\bendAfter #+4
794 c2-\bendAfter #-4
795 c2-\bendAfter #+8
796 c2-\bendAfter #-8
797 @end lilypond
798
799 The dash @code{-} immediately preceding the @code{\bendAfter}
800 command is @emph{required} when writing falls and doits.
801
802
803 @snippets
804
805 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
806 {adjusting-the-shape-of-falls-and-doits.ly}
807
808
809 @seealso
810 Music Glossary:
811 @rglos{fall},
812 @rglos{doit}.
813
814 Snippets:
815 @rlsr{Expressive marks}.
816
817
818 @node Lines
819 @subsection Lines
820
821 This section explains how to create various expressive marks that
822 follow a linear path: glissandos, arpeggios, and trills.
823
824 @menu
825 * Glissando::
826 * Arpeggio::
827 * Trills::
828 @end menu
829
830 @node Glissando
831 @unnumberedsubsubsec Glissando
832
833 @cindex glissando
834 @funindex \glissando
835 @funindex glissando
836
837 A @notation{glissando} is created by attaching @code{\glissando}
838 to a note:
839
840 @lilypond[verbatim,quote,relative=2]
841 g2\glissando g'
842 c2\glissando c,
843 @end lilypond
844
845 Different styles of glissandi can be created.  For details, see
846 @ref{Line styles}.
847
848 @snippets
849
850 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
851 {contemporary-glissando.ly}
852
853
854 @seealso
855 Music Glossary:
856 @rglos{glissando}.
857
858 Notation Reference:
859 @ref{Line styles}.
860
861 Snippets:
862 @rlsr{Expressive marks}.
863
864 Internals Reference:
865 @rinternals{Glissando}.
866
867
868 @knownissues
869
870 Printing text over the line (such as @notation{gliss.}) is not
871 supported.
872
873
874 @node Arpeggio
875 @unnumberedsubsubsec Arpeggio
876
877 @cindex arpeggio
878 @cindex broken chord
879 @cindex chord, broken
880
881 @funindex \arpeggio
882 @funindex arpeggio
883 @funindex \arpeggioArrowUp
884 @funindex arpeggioArrowUp
885 @funindex \arpeggioArrowDown
886 @funindex arpeggioArrowDown
887 @funindex \arpeggioNormal
888 @funindex arpeggioNormal
889
890 An @notation{arpeggio} on a chord (also known as a broken chord)
891 is denoted by appending @code{\arpeggio} to the chord construct:
892
893 @lilypond[verbatim,quote,relative=1]
894 <c e g c>1\arpeggio
895 @end lilypond
896
897 Different types of arpeggios may be written.
898 @code{\arpeggioNormal} reverts to a normal arpeggio:
899
900 @lilypond[verbatim,quote,relative=1]
901 <c e g c>2\arpeggio
902 \arpeggioArrowUp
903 <c e g c>2\arpeggio
904 \arpeggioArrowDown
905 <c e g c>2\arpeggio
906 \arpeggioNormal
907 <c e g c>2\arpeggio
908 @end lilypond
909
910 @cindex arpeggio symbols, special
911 @cindex special arpeggio symbols
912
913 @funindex \arpeggioBracket
914 @funindex arpeggioBracket
915 @funindex \arpeggioParenthesis
916 @funindex arpeggioParenthesis
917
918 Special @emph{bracketed} arpeggio symbols can be created:
919
920 @lilypond[verbatim,quote,relative=1]
921 <c e g c>2
922 \arpeggioBracket
923 <c e g c>2\arpeggio
924 \arpeggioParenthesis
925 <c e g c>2\arpeggio
926 \arpeggioNormal
927 <c e g c>2\arpeggio
928 @end lilypond
929
930 Arpeggios can be explicitly written out with ties.  For more
931 information, see @ref{Ties}.
932
933
934 @predefined
935 @code{\arpeggio},
936 @code{\arpeggioArrowUp},
937 @code{\arpeggioArrowDown},
938 @code{\arpeggioNormal},
939 @code{\arpeggioBracket},
940 @code{\arpeggioParenthesis}.
941 @endpredefined
942
943
944 @snippets
945
946 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
947 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
948
949 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
950 {creating-cross-staff-arpeggios-in-other-contexts.ly}
951
952 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
953 {creating-arpeggios-across-notes-in-different-voices.ly}
954
955
956 @seealso
957 Music Glossary:
958 @rglos{arpeggio}.
959
960 Notation Reference:
961 @ref{Ties}.
962
963 Snippets:
964 @rlsr{Expressive marks}.
965
966 Internals Reference:
967 @rinternals{Arpeggio},
968 @rinternals{PianoStaff}.
969
970
971 @knownissues
972
973 @cindex cross-staff parenthesis-style arpeggio
974 @cindex arpeggio, parenthesis-style, cross-staff
975 @cindex arpeggio, cross-staff parenthesis-style
976
977 It is not possible to mix connected arpeggios and unconnected
978 arpeggios in one @code{PianoStaff} at the same point in
979 time.
980
981 The parenthesis-style arpeggio brackets do not work for
982 cross-staff arpeggios.
983
984
985 @node Trills
986 @unnumberedsubsubsec Trills
987
988 @cindex trills
989
990 @funindex \trill
991 @funindex trill
992 @funindex \startTrillSpan
993 @funindex startTrillSpan
994 @funindex \stopTrillSpan
995 @funindex stopTrillSpan
996
997 Short @notation{trills} without an extender line are printed with
998 @code{\trill}; see @ref{Articulations and ornamentations}.
999
1000 Longer trills with an extender line are made with
1001 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1002
1003 @lilypond[verbatim,quote,relative=2]
1004 d1~\startTrillSpan
1005 d1
1006 c2\stopTrillSpan r2
1007 @end lilypond
1008
1009 In the following example, a trill is combined with grace notes.
1010 The syntax of this construct and the method to precisely position
1011 the grace notes are described in @ref{Grace notes}.
1012
1013 @lilypond[verbatim,quote,relative=2]
1014 c1 \afterGrace
1015 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1016 e2 r2
1017 @end lilypond
1018
1019 @cindex pitched trills
1020 @cindex trills, pitched
1021 @funindex \pitchedTrill
1022 @funindex pitchedTrill
1023
1024 Trills that require an auxiliary note with an explicit pitch can
1025 be typeset with the @code{\pitchedTrill} command.  The first
1026 argument is the main note, and the second is the @emph{trilled}
1027 note, printed as a stemless note head in parentheses.
1028
1029 @lilypond[verbatim,quote,relative=1]
1030 \pitchedTrill e2\startTrillSpan fis
1031 d\stopTrillSpan
1032 @end lilypond
1033
1034 @cindex pitched trill with forced accidental
1035 @cindex trill, pitched with forced accidental
1036 @cindex accidental, forced for pitched trill
1037
1038 In the following example, the second pitched trill is ambiguous;
1039 the accidental of the trilled note is not printed.  As a
1040 workaround, the accidentals of the trilled notes can be forced.
1041 The second measure illustrates this method:
1042
1043 @lilypond[verbatim,quote,relative=2]
1044 \pitchedTrill eis4\startTrillSpan fis
1045 g\stopTrillSpan
1046 \pitchedTrill eis4\startTrillSpan fis
1047 g\stopTrillSpan
1048 \pitchedTrill eis4\startTrillSpan fis
1049 g\stopTrillSpan
1050 \pitchedTrill eis4\startTrillSpan fis!
1051 g\stopTrillSpan
1052 @end lilypond
1053
1054
1055 @predefined
1056 @code{\startTrillSpan},
1057 @code{\stopTrillSpan}.
1058 @endpredefined
1059
1060
1061 @seealso
1062 Music Glossary:
1063 @rglos{trill}.
1064
1065 Notation Reference:
1066 @ref{Articulations and ornamentations},
1067 @ref{Grace notes}.
1068
1069 Snippets:
1070 @rlsr{Expressive marks}.
1071
1072 Internals Reference:
1073 @rinternals{TrillSpanner}.
1074