]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/expressive.itely
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / notation / 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}.  Dynamic marks may be
198 manually placed above or below the staff; see @ref{Direction and
199 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 staff; see
526 @ref{Direction and placement}.
527
528 @cindex phrasing slur
529 @cindex multiple slurs
530 @cindex simultaneous slurs
531 @cindex slur, phrasing
532 @cindex slurs, multiple
533 @cindex slurs, simultaneous
534
535 Simultaneous or overlapping slurs are not permitted, but a phrasing
536 slur can overlap a slur.  This permits two slurs to be printed at
537 once.  For details, see @ref{Phrasing slurs}.
538
539 @cindex slur style
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 style, 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 \slurHalfDashed
568 @funindex slurHalfDashed
569 @funindex \slurHalfSolid
570 @funindex slurHalfSolid
571 @cindex slur, half dashed and half solid
572
573 Slurs can also be made half-dashed (the first half dashed, the
574 second half solid) or half-solid (the first half solid, the second
575 half dashed):
576
577 @lilypond[verbatim,quote,relative=1]
578 c4( e g2)
579 \slurHalfDashed
580 g4( e c2)
581 \slurHalfSolid
582 c4( e g2)
583 \slurSolid
584 g4( e c2)
585 @end lilypond
586
587 @funindex \slurDashPattern
588 @funindex slurDashPattern
589 @cindex slur, defining dash patterns
590
591 Custom dash patterns for slurs can be defined:
592
593 @lilypond[verbatim,quote,relative=1]
594 c4( e g2)
595 \slurDashPattern #0.7 #0.75
596 g4( e c2)
597 \slurDashPattern #0.5 #2.0
598 c4( e g2)
599 \slurSolid
600 g4( e c2)
601 @end lilypond
602
603
604
605 @funindex \slurUp
606 @funindex slurUp
607
608
609 @predefined
610 @code{\slurUp},
611 @code{\slurDown},
612 @code{\slurNeutral},
613 @code{\slurDashed},
614 @code{\slurDotted},
615 @code{\slurHalfDashed},
616 @code{\slurHalfSolid},
617 @code{\slurDashPattern},
618 @code{\slurSolid}.
619 @endpredefined
620
621
622 @snippets
623
624 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
625 {using-double-slurs-for-legato-chords.ly}
626
627 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
628 {positioning-text-markups-inside-slurs.ly}
629
630 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
631 {making-slurs-with-complex-dash-structure.ly}
632
633 @seealso
634 Music Glossary:
635 @rglos{slur}.
636
637 Learning Manual:
638 @rlearning{On the un-nestedness of brackets and ties}.
639
640 Notation Reference:
641 @ref{Direction and placement},
642 @ref{Phrasing slurs}.
643
644 Snippets:
645 @rlsr{Expressive marks}.
646
647 Internals Reference:
648 @rinternals{Slur}.
649
650
651 @node Phrasing slurs
652 @unnumberedsubsubsec Phrasing slurs
653
654 @cindex phrasing slurs
655 @cindex phrasing marks
656 @cindex slur, phrasing
657 @cindex mark, phrasing
658 @funindex \(
659 @funindex \)
660
661 @notation{Phrasing slurs} (or phrasing marks) that indicate a
662 musical sentence are written using the commands @code{\(} and
663 @code{\)} respectively:
664
665 @lilypond[verbatim,quote,relative=2]
666 c4\( d( e) f(
667 e2) d\)
668 @end lilypond
669
670 @funindex \phrasingSlurUp
671 @funindex phrasingSlurUp
672 @funindex \phrasingSlurDown
673 @funindex phrasingSlurDown
674 @funindex \phrasingSlurNeutral
675 @funindex phrasingSlurNeutral
676
677 Typographically, a phrasing slur behaves almost exactly like a
678 normal slur.  However, they are treated as different objects; a
679 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
680 may be manually placed above or below the staff; see
681 @ref{Direction and placement}.
682
683 @cindex simultaneous phrasing slurs
684 @cindex multiple phrasing slurs
685 @cindex slur, simultaneous phrasing
686 @cindex slur, multiple phrasing
687 @cindex phrasing slur, simultaneous
688 @cindex phrasing slur, multiple
689
690 Simultaneous or overlapping phrasing slurs are not permitted.
691
692 @funindex phrasingSlurDashed
693 @funindex \phrasingSlurDashed
694 @funindex \phrasingSlurDotted
695 @funindex phrasingSlurDotted
696 @funindex \phrasingSlurSolid
697 @funindex phrasingSlurSolid
698 @cindex phrasing slur, dashed
699 @cindex dashed phrasing slur
700 @cindex phrasing slur, dotted
701 @cindex dotted phrasing slurs
702 @cindex slur, dashed phrasing
703 @cindex slur, dotted phrasing
704
705 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
706 style for phrasing slurs:
707
708 @lilypond[verbatim,quote,relative=1]
709 c4\( e g2\)
710 \phrasingSlurDashed
711 g4\( e c2\)
712 \phrasingSlurDotted
713 c4\( e g2\)
714 \phrasingSlurSolid
715 g4\( e c2\)
716 @end lilypond
717
718 @funindex phrasingSlurHalfDashed
719 @funindex \phrasingSlurHalfDashed
720 @funindex \phrasingSlurHalfSolid
721 @funindex phrasingSlurHalfSolid
722 @cindex phrasing slur, half solid and half dashed
723 @cindex slur, half solid and half dashed phrasing
724
725 Phrasing slurs can also be made half-dashed (the first half dashed, the
726 second half solid) or half-solid (the first half solid, the second
727 half dashed):
728
729 @lilypond[verbatim,quote,relative=1]
730 c4\( e g2\)
731 \phrasingSlurHalfDashed
732 g4\( e c2\)
733 \phrasingSlurHalfSolid
734 c4\( e g2\)
735 \phrasingSlurSolid
736 g4\( e c2\)
737 @end lilypond
738
739 @funindex \phrasingSlurDashPattern
740 @funindex phrasingSlurDashPattern
741 @cindex phrasing slur, defining dash patterns
742 @cindex slur, phrasing, defining dash patterns
743 @cindex slur, definind dash patterns for phrasing
744
745 Custom dash patterns for phrasing slurs can be defined:
746
747 @lilypond[verbatim,quote,relative=1]
748 c4\( e g2\)
749 \phrasingSlurDashPattern #0.7 #0.75
750 g4\( e c2\)
751 \phrasingSlurDashPattern #0.5 #2.0
752 c4\( e g2\)
753 \phrasingSlurSolid
754 g4\( e c2\)
755 @end lilypond
756
757 Dash pattern definitions for phrasing slurs have the same structure
758 as dash pattern definitions for slurs.  For more information about
759 complex dash patterns, see the snippets under @ref{Slurs}.
760
761 @predefined
762 @code{\phrasingSlurUp},
763 @code{\phrasingSlurDown},
764 @code{\phrasingSlurNeutral},
765 @code{\phrasingSlurDashed},
766 @code{\phrasingSlurDotted},
767 @code{\phrasingSlurHalfDashed},
768 @code{\phrasingSlurHalfSolid},
769 @code{\phrasingSlurDashPattern},
770 @code{\phrasingSlurSolid}.
771 @endpredefined
772
773
774 @seealso
775 Learning Manual:
776 @rlearning{On the un-nestedness of brackets and ties}.
777
778 Notation Reference:
779 @ref{Direction and placement},
780 @ref{Slurs}.
781
782 Snippets:
783 @rlsr{Expressive marks}.
784
785 Internals Reference:
786 @rinternals{PhrasingSlur}.
787
788
789 @node Breath marks
790 @unnumberedsubsubsec Breath marks
791
792 @cindex breath marks
793 @cindex pause mark
794 @funindex \breathe
795 @funindex breathe
796
797 Breath marks are entered using @code{\breathe}:
798
799 @lilypond[verbatim,quote,relative=2]
800 c2. \breathe d4
801 @end lilypond
802
803 Musical indicators for breath marks in ancient notation,
804 divisiones, are supported.  For details, see @ref{Divisiones}.
805
806
807 @snippets
808
809 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
810 {changing-the-breath-mark-symbol.ly}
811
812 @cindex caesura
813 @cindex railroad tracks
814
815 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
816 {inserting-a-caesura.ly}
817
818
819 @seealso
820 Music Glossary:
821 @rglos{caesura}.
822
823 Notation Reference:
824 @ref{Divisiones}.
825
826 Snippets:
827 @rlsr{Expressive marks}.
828
829 Internals Reference:
830 @rinternals{BreathingSign}.
831
832
833 @node Falls and doits
834 @unnumberedsubsubsec Falls and doits
835
836 @cindex falls
837 @cindex doits
838 @funindex \bendAfter
839 @funindex bendAfter
840
841 @notation{Falls} and @notation{doits} can be added to notes using
842 the @code{\bendAfter} command.  The direction of the fall or doit
843 is indicated with a plus or minus (up or down).  The number
844 indicates the pitch interval that the fall or doit will extend
845 @emph{beyond} the main note.
846
847 @lilypond[verbatim,quote,relative=2]
848 c2-\bendAfter #+4
849 c2-\bendAfter #-4
850 c2-\bendAfter #+8
851 c2-\bendAfter #-8
852 @end lilypond
853
854 The dash @code{-} immediately preceding the @code{\bendAfter}
855 command is @emph{required} when writing falls and doits.
856
857
858 @snippets
859
860 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
861 {adjusting-the-shape-of-falls-and-doits.ly}
862
863
864 @seealso
865 Music Glossary:
866 @rglos{fall},
867 @rglos{doit}.
868
869 Snippets:
870 @rlsr{Expressive marks}.
871
872
873 @node Lines
874 @subsection Lines
875
876 This section explains how to create various expressive marks that
877 follow a linear path: glissandos, arpeggios, and trills.
878
879 @menu
880 * Glissando::
881 * Arpeggio::
882 * Trills::
883 @end menu
884
885 @node Glissando
886 @unnumberedsubsubsec Glissando
887
888 @cindex glissando
889 @funindex \glissando
890 @funindex glissando
891
892 A @notation{glissando} is created by attaching @code{\glissando}
893 to a note:
894
895 @lilypond[verbatim,quote,relative=2]
896 g2\glissando g'
897 c2\glissando c,
898 @end lilypond
899
900 Different styles of glissandi can be created.  For details, see
901 @ref{Line styles}.
902
903 @snippets
904
905 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
906 {contemporary-glissando.ly}
907
908
909 @seealso
910 Music Glossary:
911 @rglos{glissando}.
912
913 Notation Reference:
914 @ref{Line styles}.
915
916 Snippets:
917 @rlsr{Expressive marks}.
918
919 Internals Reference:
920 @rinternals{Glissando}.
921
922
923 @knownissues
924
925 Printing text over the line (such as @notation{gliss.}) is not
926 supported.
927
928
929 @node Arpeggio
930 @unnumberedsubsubsec Arpeggio
931
932 @cindex arpeggio
933 @cindex broken chord
934 @cindex chord, broken
935
936 @funindex \arpeggio
937 @funindex arpeggio
938 @funindex \arpeggioArrowUp
939 @funindex arpeggioArrowUp
940 @funindex \arpeggioArrowDown
941 @funindex arpeggioArrowDown
942 @funindex \arpeggioNormal
943 @funindex arpeggioNormal
944
945 An @notation{arpeggio} on a chord (also known as a broken chord)
946 is denoted by appending @code{\arpeggio} to the chord construct:
947
948 @lilypond[verbatim,quote,relative=1]
949 <c e g c>1\arpeggio
950 @end lilypond
951
952 Different types of arpeggios may be written.
953 @code{\arpeggioNormal} reverts to a normal arpeggio:
954
955 @lilypond[verbatim,quote,relative=1]
956 <c e g c>2\arpeggio
957 \arpeggioArrowUp
958 <c e g c>2\arpeggio
959 \arpeggioArrowDown
960 <c e g c>2\arpeggio
961 \arpeggioNormal
962 <c e g c>2\arpeggio
963 @end lilypond
964
965 @cindex arpeggio symbols, special
966 @cindex special arpeggio symbols
967
968 @funindex \arpeggioBracket
969 @funindex arpeggioBracket
970 @funindex \arpeggioParenthesis
971 @funindex arpeggioParenthesis
972 @funindex \arpeggioParenthesisDashed
973 @funindex arpeggioParenthesisDashed
974
975 Special @emph{bracketed} arpeggio symbols can be created:
976
977 @lilypond[verbatim,quote,relative=1]
978 <c e g c>2
979 \arpeggioBracket
980 <c e g c>2\arpeggio
981 \arpeggioParenthesis
982 <c e g c>2\arpeggio
983 \arpeggioParenthesisDashed
984 <c e g c>2\arpeggio
985 \arpeggioNormal
986 <c e g c>2\arpeggio
987 @end lilypond
988
989 The dash properties of the parenthesis arpeggio are controlled
990 with the @code{'dash-details} property, which is described at @ref{Slurs}.
991
992 Arpeggios can be explicitly written out with ties.  For more
993 information, see @ref{Ties}.
994
995
996 @predefined
997 @code{\arpeggio},
998 @code{\arpeggioArrowUp},
999 @code{\arpeggioArrowDown},
1000 @code{\arpeggioNormal},
1001 @code{\arpeggioBracket},
1002 @code{\arpeggioParenthesis}
1003 @code{\arpeggioParenthesisDashed}.
1004 @endpredefined
1005
1006
1007 @snippets
1008
1009 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1010 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1011
1012 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1013 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1014
1015 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1016 {creating-arpeggios-across-notes-in-different-voices.ly}
1017
1018
1019 @seealso
1020 Music Glossary:
1021 @rglos{arpeggio}.
1022
1023 Notation Reference:
1024 @ref{Slurs},
1025 @ref{Ties}.
1026
1027 Snippets:
1028 @rlsr{Expressive marks}.
1029
1030 Internals Reference:
1031 @rinternals{Arpeggio},
1032 @rinternals{Slur},
1033 @rinternals{PianoStaff}.
1034
1035
1036 @knownissues
1037
1038 @cindex cross-staff parenthesis-style arpeggio
1039 @cindex arpeggio, parenthesis-style, cross-staff
1040 @cindex arpeggio, cross-staff parenthesis-style
1041
1042 It is not possible to mix connected arpeggios and unconnected
1043 arpeggios in one @code{PianoStaff} at the same point in
1044 time.
1045
1046 The parenthesis-style arpeggio brackets do not work for
1047 cross-staff arpeggios.
1048
1049
1050 @node Trills
1051 @unnumberedsubsubsec Trills
1052
1053 @cindex trills
1054
1055 @funindex \trill
1056 @funindex trill
1057 @funindex \startTrillSpan
1058 @funindex startTrillSpan
1059 @funindex \stopTrillSpan
1060 @funindex stopTrillSpan
1061
1062 Short @notation{trills} without an extender line are printed with
1063 @code{\trill}; see @ref{Articulations and ornamentations}.
1064
1065 Longer trills with an extender line are made with
1066 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1067
1068 @lilypond[verbatim,quote,relative=2]
1069 d1~\startTrillSpan
1070 d1
1071 c2\stopTrillSpan r2
1072 @end lilypond
1073
1074 In the following example, a trill is combined with grace notes.
1075 The syntax of this construct and the method to precisely position
1076 the grace notes are described in @ref{Grace notes}.
1077
1078 @lilypond[verbatim,quote,relative=2]
1079 c1 \afterGrace
1080 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1081 e2 r2
1082 @end lilypond
1083
1084 @cindex pitched trills
1085 @cindex trills, pitched
1086 @funindex \pitchedTrill
1087 @funindex pitchedTrill
1088
1089 Trills that require an auxiliary note with an explicit pitch can
1090 be typeset with the @code{\pitchedTrill} command.  The first
1091 argument is the main note, and the second is the @emph{trilled}
1092 note, printed as a stemless note head in parentheses.
1093
1094 @lilypond[verbatim,quote,relative=1]
1095 \pitchedTrill e2\startTrillSpan fis
1096 d\stopTrillSpan
1097 @end lilypond
1098
1099 @cindex pitched trill with forced accidental
1100 @cindex trill, pitched with forced accidental
1101 @cindex accidental, forced for pitched trill
1102
1103 In the following example, the second pitched trill is ambiguous;
1104 the accidental of the trilled note is not printed.  As a
1105 workaround, the accidentals of the trilled notes can be forced.
1106 The second measure illustrates this method:
1107
1108 @lilypond[verbatim,quote,relative=2]
1109 \pitchedTrill eis4\startTrillSpan fis
1110 g\stopTrillSpan
1111 \pitchedTrill eis4\startTrillSpan fis
1112 g\stopTrillSpan
1113 \pitchedTrill eis4\startTrillSpan fis
1114 g\stopTrillSpan
1115 \pitchedTrill eis4\startTrillSpan fis!
1116 g\stopTrillSpan
1117 @end lilypond
1118
1119
1120 @predefined
1121 @code{\startTrillSpan},
1122 @code{\stopTrillSpan}.
1123 @endpredefined
1124
1125
1126 @seealso
1127 Music Glossary:
1128 @rglos{trill}.
1129
1130 Notation Reference:
1131 @ref{Articulations and ornamentations},
1132 @ref{Grace notes}.
1133
1134 Snippets:
1135 @rlsr{Expressive marks}.
1136
1137 Internals Reference:
1138 @rinternals{TrillSpanner}.
1139