]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/expressive.itely
062723812345198fe8af77b187b51d632f85c163
[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.  For details, see the Contributors'
7     Guide, node Updating translation committishes..
8 @end ignore
9
10 @c \version "2.14.0"
11
12 @node Expressive marks
13 @section Expressive marks
14
15 @lilypondfile[quote]{expressive-headword.ly}
16
17 This section lists various expressive marks that can be
18 created in a score.
19
20 @menu
21 * Expressive marks attached to notes::
22 * Expressive marks as curves::
23 * Expressive marks as lines::
24 @end menu
25
26
27 @node Expressive marks attached to notes
28 @subsection Expressive marks attached to notes
29
30 This section explains how to create expressive marks that are
31 attached to notes: articulations, ornamentations, and dynamics.
32 Methods to create new dynamic markings are also discussed.
33
34 @menu
35 * Articulations and ornamentations::
36 * Dynamics::
37 * New dynamic marks::
38 @end menu
39
40 @node Articulations and ornamentations
41 @unnumberedsubsubsec Articulations and ornamentations
42
43 @cindex articulations
44 @cindex ornamentation
45 @cindex scripts
46 @cindex ornaments
47 @cindex espressivo
48 @cindex fermata
49 @cindex upbow
50 @cindex downbow
51 @cindex foot marks
52 @cindex organ pedal marks
53 @cindex pedal marks, organ
54 @cindex turn
55 @cindex open
56 @cindex stopped
57 @cindex flageolet
58 @cindex reverseturn
59 @cindex trill
60 @cindex prall
61 @cindex mordent
62 @cindex prallprall
63 @cindex prallmordent
64 @cindex prall, up
65 @cindex prall, down
66 @cindex mordent, up
67 @cindex mordent, down
68 @cindex thumb marking
69 @cindex segno
70 @cindex coda
71 @cindex varcoda
72
73 @funindex \accent
74 @funindex \marcato
75 @funindex \staccatissimo
76 @funindex \espressivo
77 @funindex \staccato
78 @funindex \tenuto
79 @funindex \portato
80 @funindex \upbow
81 @funindex \downbow
82 @funindex \flageolet
83 @funindex \thumb
84 @funindex \lheel
85 @funindex \rheel
86 @funindex \ltoe
87 @funindex \rtoe
88 @funindex \open
89 @funindex \halfopen
90 @funindex \stopped
91 @funindex \snappizzicato
92 @funindex \turn
93 @funindex \reverseturn
94 @funindex \trill
95 @funindex \prall
96 @funindex \mordent
97 @funindex \prallprall
98 @funindex \prallmordent
99 @funindex \upprall
100 @funindex \downprall
101 @funindex \upmordent
102 @funindex \downmordent
103 @funindex \pralldown
104 @funindex \prallup
105 @funindex \lineprall
106 @funindex \signumcongruentiae
107 @funindex \shortfermata
108 @funindex \fermata
109 @funindex \longfermata
110 @funindex \verylongfermata
111 @funindex \fermataMarkup
112 @funindex \segno
113 @funindex \coda
114 @funindex \varcoda
115
116
117 @funindex -
118
119 A variety of symbols that denote articulations, ornamentations,
120 and other performance indications can be attached to a note using
121 this syntax:
122
123 @example
124 @var{note}\@var{name}
125 @end example
126
127 The possible values for @code{@var{name}} are listed in
128 @ref{List of articulations}.  For example:
129
130 @lilypond[verbatim,quote,relative=2]
131 c4\staccato c\mordent b2\turn
132 c1\fermata
133 @end lilypond
134
135 @cindex marcato
136 @cindex tenuto
137 @cindex staccatissimo
138 @cindex accent
139 @cindex staccato
140 @cindex portato
141
142 Some of these articulations have shorthands for easier entry.
143 Shorthands are appended to the note name, and their syntax
144 consists of a dash @code{-} followed by a symbol signifying the
145 articulation.  Predefined shorthands exist for @notation{marcato},
146 @notation{stopped}, @notation{tenuto}, @notation{staccatissimo},
147 @notation{accent}, @notation{staccato}, and @notation{portato}.
148 Their corresponding output appears as follows:
149
150 @lilypond[verbatim,quote,relative=2]
151 c4-^ c-+ c-- c-|
152 c4-> c-. c2-_
153 @end lilypond
154
155 The rules for the default placement of articulations are defined
156 in @file{scm/script.scm}.  Articulations and ornamentations
157 may be manually placed above or below the staff; see
158 @ref{Direction and placement}.
159
160 Articulations are @code{Script} objects.  Their properties are
161 described more fully in @rinternals{Script}.
162
163 Articulations can be attached to rests as well as notes but they
164 cannot be attached to multi-measure rests.  A special predefined
165 command, @code{\fermataMarkup}, is available for attaching a fermata
166 to a multi-measure rest (and only a multi-measure rest).  This
167 creates a @code{MultiMeasureRestText} object.
168
169 @lilypond[verbatim,quote,relative=2]
170 \override Script #'color = #red
171 \override MultiMeasureRestText #'color = #blue
172 a2\fermata r\fermata
173 R1\fermataMarkup
174 @end lilypond
175
176 In addition to articulations, text and markups can be attached to
177 notes.  See @ref{Text scripts}.
178
179 For more information about the ordering of Scripts and TextScripts that
180 are attached to the notes, see @rlearning{Placement of objects}.
181
182 @snippets
183
184 @lilypondfile[verbatim,quote,texidoc,doctitle]
185 {modifying-default-values-for-articulation-shorthand-notation.ly}
186
187 @lilypondfile[verbatim,quote,texidoc,doctitle]
188 {controlling-the-vertical-ordering-of-scripts.ly}
189
190 @lilypondfile[verbatim,quote,texidoc,doctitle]
191 {creating-a-delayed-turn.ly}
192
193 @seealso
194 Music Glossary:
195 @rglos{tenuto},
196 @rglos{accent},
197 @rglos{staccato},
198 @rglos{portato}.
199
200 Learning Manual:
201 @rlearning{Placement of objects}.
202
203 Notation Reference:
204 @ref{Text scripts},
205 @ref{Direction and placement},
206 @ref{List of articulations},
207 @ref{Trills}.
208
209 Installed Files:
210 @file{scm/script.scm}.
211
212 Snippets:
213 @rlsr{Expressive marks}.
214
215 Internals Reference:
216 @rinternals{Script},
217 @rinternals{TextScript}.
218
219
220 @node Dynamics
221 @unnumberedsubsubsec Dynamics
222
223 @cindex absolute dynamics
224 @cindex dynamics
225 @cindex dynamics, absolute
226
227 @funindex \ppppp
228 @funindex ppppp
229 @funindex \pppp
230 @funindex pppp
231 @funindex \ppp
232 @funindex ppp
233 @funindex \pp
234 @funindex pp
235 @funindex \p
236 @funindex p
237 @funindex \mp
238 @funindex mp
239 @funindex \mf
240 @funindex mf
241 @funindex \f
242 @funindex f
243 @funindex \ff
244 @funindex ff
245 @funindex \fff
246 @funindex fff
247 @funindex \ffff
248 @funindex ffff
249 @funindex \fffff
250 @funindex fffff
251 @funindex \fp
252 @funindex fp
253 @funindex \sf
254 @funindex sf
255 @funindex \sff
256 @funindex sff
257 @funindex \sp
258 @funindex sp
259 @funindex \spp
260 @funindex spp
261 @funindex \sfz
262 @funindex sfz
263 @funindex \rfz
264 @funindex rfz
265
266 Absolute dynamic marks are specified using a command after a note,
267 such as @code{c4\ff}.  The available dynamic marks are
268 @code{\ppppp}, @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p},
269 @code{\mp}, @code{\mf}, @code{\f}, @code{\ff}, @code{\fff},
270 @code{\ffff}, @code{\fffff}, @code{\fp}, @code{\sf}, @code{\sff},
271 @code{\sp}, @code{\spp}, @code{\sfz}, and @code{\rfz}.  Dynamic
272 marks may be manually placed above or below the staff; see
273 @ref{Direction and placement}.
274
275 @lilypond[verbatim,quote,relative=2]
276 c2\ppp c\mp
277 c2\rfz c^\mf
278 c2_\spp c^\ff
279 @end lilypond
280
281 @cindex hairpin
282 @cindex crescendo
283 @cindex decrescendo
284 @cindex diminuendo
285
286 @funindex \<
287 @funindex \>
288 @funindex \!
289 @funindex \cr
290 @funindex cr
291 @funindex \decr
292 @funindex decr
293
294 A @notation{crescendo} mark is started with @code{\<} and
295 terminated with @code{\!}, an absolute dynamic, or an additional
296 crescendo or decrescendo mark.  A @notation{decrescendo} mark is
297 started with @code{\>} and is also terminated with @code{\!}, an
298 absolute dynamic, or another crescendo or decrescendo mark.
299 @code{\cr} and @code{\decr} may be used instead of @code{\<} and
300 @code{\>}.  @notation{Hairpins} are engraved by default using this
301 notation.
302
303 @lilypond[verbatim,quote,relative=2]
304 c2\< c\!
305 d2\< d\f
306 e2\< e\>
307 f2\> f\!
308 e2\> e\mp
309 d2\> d\>
310 c1\!
311 @end lilypond
312
313 A hairpin that is terminated with @code{\!} will end at the
314 right edge of the note that has the @code{\!} assigned to it.  In the
315 case where it is terminated with the start of another @notation{crescendo}
316 or @notation{decrescendo} mark, it will end at the centre of the note
317 that has the next @code{\<} or @code{\>} assigned to it.  The next
318 hairpin will then start at the right edge of the same note
319 instead of the usual left edge had it been terminated with @code{\!}
320 before.
321
322 @lilypond[verbatim,quote,relative=2]
323 c1\< | c4 a c\< a | c4 a c\! a\< | c4 a c a\!
324 @end lilypond
325
326 Hairpins that are terminated with absolute dynamic marks instead of
327 @code{\!} will also be engraved in a similar way.  However, the length
328 of the absolute dynamic itself can alter where the preceding hairpin
329 ends.
330
331 @lilypond[verbatim,quote,relative=2]
332 c1\< | c4 a c\mf a | c1\< | c4 a c\ffff a
333 @end lilypond
334
335 @cindex multiple dynamic marks on one note
336 @cindex dynamic marks, multiple on one note
337 Spacer rests are needed to engrave multiple marks on one note.
338 This is particularly useful when adding a @notation{crescendo} and
339 @notation{decrescendo} to the same note:
340
341 @lilypond[verbatim,quote,relative=2]
342 c4\< c\! d\> e\!
343 << f1 { s4 s4\< s4\> s4\! } >>
344 @end lilypond
345
346 @cindex espressivo articulation
347
348 @funindex \espressivo
349 @funindex espressivo
350
351 The @code{\espressivo} command can be used to indicate a crescendo
352 and decrescendo on the same note.  However, be warned that this is
353 implemented as an articulation, not a dynamic.
354
355 @lilypond[verbatim,quote,relative=2]
356 c2 b4 a
357 g1\espressivo
358 @end lilypond
359
360 @funindex \cresc
361 @funindex cresc
362 @funindex \decresc
363 @funindex decresc
364 @funindex \dim
365 @funindex dim
366 Textual crescendo marks begin with @code{\cresc}.
367 Textual decrescendos begin with @code{\decresc} or @code{\dim}.
368 Extender lines are engraved as required.
369
370 @lilypond[verbatim,quote,relative=2]
371 g8\cresc a b c b c d e\mf |
372 f8\decresc e d c e\> d c b |
373 a1\dim ~ |
374 a2. r4\! |
375 @end lilypond
376
377 @funindex \crescTextCresc
378 @funindex crescTextCresc
379 @funindex \dimTextDecresc
380 @funindex dimTextDecresc
381 @funindex \dimTextDecr
382 @funindex dimTextDecr
383 @funindex \dimTextDim
384 @funindex dimTextDim
385 @funindex \crescHairpin
386 @funindex crescHairpin
387 @funindex \dimHairpin
388 @funindex dimHairpin
389
390 Textual marks for dynamic changes can also replace hairpins:
391 @lilypond[verbatim,quote,relative=2]
392 \crescTextCresc
393 c4\< d e f\! |
394 \dimTextDecresc
395 g4\> e d c\! |
396 \dimTextDecr
397 e4\> d c b\! |
398 \dimTextDim
399 d4\> c b a\! |
400 \crescHairpin
401 \dimHairpin
402 c4\< d\! e\> d\! |
403 @end lilypond
404
405
406 To create new absolute dynamic marks or text that should be
407 aligned with dynamics, see @ref{New dynamic marks}.
408
409 @cindex dynamics, vertical positioning
410 @cindex vertical positioning of dynamics
411
412 @funindex DynamicLineSpanner
413
414
415 Vertical positioning of dynamics is handled by
416 @rinternals{DynamicLineSpanner}.
417 @funindex \dynamicUp
418 @funindex dynamicUp
419 @funindex \dynamicDown
420 @funindex dynamicDown
421 @funindex \dynamicNeutral
422 @funindex dynamicNeutral
423
424 A @code{Dynamics} context is available to engrave dynamics on
425 their own horizontal line.  Use spacer rests to indicate timing.
426 (Notes in a @code{Dynamics} context will also take up
427 musical time, but will not be engraved.)
428 The @code{Dynamics} context can usefully contain some other
429 items such as text scripts, text spanners, and piano pedal marks.
430
431 @lilypond[verbatim,quote]
432 <<
433   \new Staff \relative c' {
434     c2 d4 e |
435     c4 e e,2 |
436     g'4 a g a |
437     c1 |
438   }
439   \new Dynamics {
440     s1\< |
441     s1\f |
442     s2\dim s2-"rit." |
443     s1\p |
444   }
445 >>
446 @end lilypond
447
448 @predefined
449 @code{\dynamicUp},
450 @code{\dynamicDown},
451 @code{\dynamicNeutral},
452 @code{\crescTextCresc},
453 @code{\dimTextDim},
454 @code{\dimTextDecr},
455 @code{\dimTextDecresc},
456 @code{\crescHairpin},
457 @code{\dimHairpin}.
458 @endpredefined
459
460
461 @snippets
462
463 @lilypondfile[verbatim,quote,texidoc,doctitle]
464 {setting-hairpin-behavior-at-bar-lines.ly}
465
466 @lilypondfile[verbatim,quote,texidoc,doctitle]
467 {setting-the-minimum-length-of-hairpins.ly}
468
469 @cindex al niente
470 @cindex niente, al
471
472 @lilypondfile[verbatim,quote,texidoc,doctitle]
473 {printing-hairpins-using-al-niente-notation.ly}
474
475 @lilypondfile[verbatim,quote,texidoc,doctitle]
476 {vertically-aligned-dynamics-and-textscripts.ly}
477
478 @lilypondfile[verbatim,quote,texidoc,doctitle]
479 {hiding-the-extender-line-for-text-dynamics.ly}
480
481 @lilypondfile[verbatim,quote,texidoc,doctitle]
482 {changing-text-and-spanner-styles-for-text-dynamics.ly}
483
484
485 @seealso
486 Music Glossary:
487 @rglos{al niente},
488 @rglos{crescendo},
489 @rglos{decrescendo},
490 @rglos{hairpin}.
491
492 Learning Manual:
493 @rlearning{Articulation and dynamics}.
494
495 Notation Reference:
496 @ref{Direction and placement},
497 @ref{New dynamic marks},
498 @ref{What goes into the MIDI output?},
499 @ref{Controlling MIDI dynamics}.
500
501 Snippets:
502 @rlsr{Expressive marks}.
503
504 Internals Reference:
505 @rinternals{DynamicText},
506 @rinternals{Hairpin},
507 @rinternals{DynamicLineSpanner},
508 @rinternals{Dynamics}.
509
510
511 @node New dynamic marks
512 @unnumberedsubsubsec New dynamic marks
513
514 @cindex new dynamic marks
515 @cindex dynamic marks, new
516
517 The easiest way to create dynamic indications is to use
518 @code{\markup} objects.
519
520 @lilypond[verbatim,quote]
521 moltoF = \markup { molto \dynamic f }
522
523 \relative c' {
524   <d e>16_\moltoF <d e>
525   <d e>2..
526 }
527 @end lilypond
528
529 @cindex dynamics, editorial
530 @cindex dynamics, parenthesis
531 @cindex editorial dynamics
532 @funindex \bracket
533 @funindex bracket
534 @funindex \dynamic
535 @funindex dynamic
536
537 In markup mode, editorial dynamics (within parentheses or square
538 brackets) can be created.  The syntax for markup mode is described
539 in @ref{Formatting text}.
540
541 @lilypond[verbatim,quote]
542 roundF = \markup {
543     \center-align \concat { \bold { \italic ( }
544            \dynamic f \bold { \italic ) } } }
545 boxF = \markup { \bracket { \dynamic f } }
546 \relative c' {
547   c1_\roundF
548   c1_\boxF
549 }
550 @end lilypond
551
552 @cindex make-dynamic-script
553 @funindex make-dynamic-script
554
555 Simple, centered dynamic marks are easily created with the
556 @code{make-dynamic-script} function.
557
558 @lilypond[verbatim,quote]
559 sfzp = #(make-dynamic-script "sfzp")
560 \relative c' {
561   c4 c c\sfzp c
562 }
563 @end lilypond
564
565 In general, @code{make-dynamic-script} takes any markup object as its
566 argument.  The dynamic font only contains the characters
567 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
568 plain text or punctuation symbols is desired, markup commands that
569 reverts font family and font encoding to normal text should be used,
570 for example @code{\normal-text}.  The interest of using
571 @code{make-dynamic-script} instead of an ordinary markup is ensuring
572 the vertical alignment of markup objects and hairpins that are
573 attached to the same note head.
574
575 @lilypond[verbatim,quote]
576 roundF = \markup { \center-align \concat {
577            \normal-text { \bold { \italic ( } }
578            \dynamic f
579            \normal-text { \bold { \italic ) } } } }
580 boxF = \markup { \bracket { \dynamic f } }
581 mfEspress = \markup { \center-align \line {
582               \hspace #3.7 mf \normal-text \italic espress. } }
583 roundFdynamic = #(make-dynamic-script roundF)
584 boxFdynamic = #(make-dynamic-script boxF)
585 mfEspressDynamic = #(make-dynamic-script mfEspress)
586 \relative c' {
587   c4_\roundFdynamic\< d e f
588   g,1~_\boxFdynamic\>
589   g1
590   g'1~\mfEspressDynamic
591   g1
592 }
593 @end lilypond
594
595 The Scheme form of markup mode may be used instead.  Its syntax is
596 explained in @rextend{Markup construction in Scheme}.
597
598 @lilypond[verbatim,quote]
599 moltoF = #(make-dynamic-script
600             (markup #:normal-text "molto"
601                     #:dynamic "f"))
602 \relative c' {
603   <d e>16 <d e>
604   <d e>2..\moltoF
605 }
606 @end lilypond
607
608 Font settings in markup mode are described in
609 @ref{Selecting font and font size}.
610
611
612 @seealso
613 Notation Reference:
614 @ref{Formatting text},
615 @ref{Selecting font and font size},
616 @ref{What goes into the MIDI output?},
617 @ref{Controlling MIDI dynamics}.
618
619 Snippets:
620 @rlsr{Expressive marks}.
621
622 Extend:
623 @rextend{Markup construction in Scheme}.
624
625
626
627 @node Expressive marks as curves
628 @subsection Expressive marks as curves
629
630 This section explains how to create various expressive marks that
631 are curved: normal slurs, phrasing slurs, breath marks, falls, and
632 doits.
633
634 @menu
635 * Slurs::
636 * Phrasing slurs::
637 * Breath marks::
638 * Falls and doits::
639 @end menu
640
641 @node Slurs
642 @unnumberedsubsubsec Slurs
643
644 @cindex slurs
645
646 @notation{Slurs} are entered using parentheses:
647
648 @warning{In polyphonic music, a slur must be terminated
649 in the same voice it began.}
650
651 @lilypond[verbatim,quote,relative=2]
652 f4( g a) a8 b(
653 a4 g2 f4)
654 <c e>2( <b d>2)
655 @end lilypond
656
657 @cindex slurs, manual placement
658 @cindex slurs, below notes
659 @cindex slurs, above notes
660 @funindex \slurDown
661 @funindex slurDown
662 @funindex \slurNeutral
663 @funindex slurNeutral
664
665 Slurs may be manually placed above or below the staff; see
666 @ref{Direction and placement}.
667
668 @cindex phrasing slur
669 @cindex multiple slurs
670 @cindex simultaneous slurs
671 @cindex slur, phrasing
672 @cindex slurs, multiple
673 @cindex slurs, simultaneous
674
675 Simultaneous or overlapping slurs are not permitted, but a phrasing
676 slur can overlap a slur.  This permits two slurs to be printed at
677 once.  For details, see @ref{Phrasing slurs}.
678
679 @cindex slur style
680 @cindex slur, solid
681 @cindex slur, dotted
682 @cindex slur, dashed
683 @cindex solid slur
684 @cindex dotted slur
685 @cindex dashed slur
686 @cindex style, slur
687 @funindex \slurDashed
688 @funindex slurDashed
689 @funindex \slurDotted
690 @funindex slurDotted
691 @funindex \slurSolid
692 @funindex slurSolid
693
694 Slurs can be solid, dotted, or dashed.  Solid is the default slur
695 style:
696
697 @lilypond[verbatim,quote,relative=1]
698 c4( e g2)
699 \slurDashed
700 g4( e c2)
701 \slurDotted
702 c4( e g2)
703 \slurSolid
704 g4( e c2)
705 @end lilypond
706
707 @funindex \slurHalfDashed
708 @funindex slurHalfDashed
709 @funindex \slurHalfSolid
710 @funindex slurHalfSolid
711 @cindex slur, half dashed and half solid
712
713 Slurs can also be made half-dashed (the first half dashed, the
714 second half solid) or half-solid (the first half solid, the second
715 half dashed):
716
717 @lilypond[verbatim,quote,relative=1]
718 c4( e g2)
719 \slurHalfDashed
720 g4( e c2)
721 \slurHalfSolid
722 c4( e g2)
723 \slurSolid
724 g4( e c2)
725 @end lilypond
726
727 @funindex \slurDashPattern
728 @funindex slurDashPattern
729 @cindex slur, defining dash patterns
730
731 Custom dash patterns for slurs can be defined:
732
733 @lilypond[verbatim,quote,relative=1]
734 c4( e g2)
735 \slurDashPattern #0.7 #0.75
736 g4( e c2)
737 \slurDashPattern #0.5 #2.0
738 c4( e g2)
739 \slurSolid
740 g4( e c2)
741 @end lilypond
742
743
744
745 @funindex \slurUp
746 @funindex slurUp
747
748
749 @predefined
750 @code{\slurUp},
751 @code{\slurDown},
752 @code{\slurNeutral},
753 @code{\slurDashed},
754 @code{\slurDotted},
755 @code{\slurHalfDashed},
756 @code{\slurHalfSolid},
757 @code{\slurDashPattern},
758 @code{\slurSolid}.
759 @endpredefined
760
761
762 @snippets
763
764 @lilypondfile[verbatim,quote,texidoc,doctitle]
765 {using-double-slurs-for-legato-chords.ly}
766
767 @lilypondfile[verbatim,quote,texidoc,doctitle]
768 {positioning-text-markups-inside-slurs.ly}
769
770 @lilypondfile[verbatim,quote,texidoc,doctitle]
771 {making-slurs-with-complex-dash-structure.ly}
772
773
774 @seealso
775 Music Glossary:
776 @rglos{slur}.
777
778 Learning Manual:
779 @rlearning{On the un-nestedness of brackets and ties}.
780
781 Notation Reference:
782 @ref{Direction and placement},
783 @ref{Phrasing slurs}.
784
785 Snippets:
786 @rlsr{Expressive marks}.
787
788 Internals Reference:
789 @rinternals{Slur}.
790
791
792 @node Phrasing slurs
793 @unnumberedsubsubsec Phrasing slurs
794
795 @cindex phrasing slurs
796 @cindex phrasing marks
797 @cindex slur, phrasing
798 @cindex mark, phrasing
799 @funindex \(
800 @funindex \)
801
802 @notation{Phrasing slurs} (or phrasing marks) that indicate a
803 musical sentence are written using the commands @code{\(} and
804 @code{\)} respectively:
805
806 @lilypond[verbatim,quote,relative=2]
807 c4\( d( e) f(
808 e2) d\)
809 @end lilypond
810
811 @funindex \phrasingSlurUp
812 @funindex phrasingSlurUp
813 @funindex \phrasingSlurDown
814 @funindex phrasingSlurDown
815 @funindex \phrasingSlurNeutral
816 @funindex phrasingSlurNeutral
817
818 Typographically, a phrasing slur behaves almost exactly like a
819 normal slur.  However, they are treated as different objects; a
820 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
821 may be manually placed above or below the staff; see
822 @ref{Direction and placement}.
823
824 @cindex simultaneous phrasing slurs
825 @cindex multiple phrasing slurs
826 @cindex slur, simultaneous phrasing
827 @cindex slur, multiple phrasing
828 @cindex phrasing slur, simultaneous
829 @cindex phrasing slur, multiple
830
831 Simultaneous or overlapping phrasing slurs are not permitted.
832
833 @funindex phrasingSlurDashed
834 @funindex \phrasingSlurDashed
835 @funindex \phrasingSlurDotted
836 @funindex phrasingSlurDotted
837 @funindex \phrasingSlurSolid
838 @funindex phrasingSlurSolid
839 @cindex phrasing slur, dashed
840 @cindex dashed phrasing slur
841 @cindex phrasing slur, dotted
842 @cindex dotted phrasing slurs
843 @cindex slur, dashed phrasing
844 @cindex slur, dotted phrasing
845
846 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
847 style for phrasing slurs:
848
849 @lilypond[verbatim,quote,relative=1]
850 c4\( e g2\)
851 \phrasingSlurDashed
852 g4\( e c2\)
853 \phrasingSlurDotted
854 c4\( e g2\)
855 \phrasingSlurSolid
856 g4\( e c2\)
857 @end lilypond
858
859 @funindex phrasingSlurHalfDashed
860 @funindex \phrasingSlurHalfDashed
861 @funindex \phrasingSlurHalfSolid
862 @funindex phrasingSlurHalfSolid
863 @cindex phrasing slur, half solid and half dashed
864 @cindex slur, half solid and half dashed phrasing
865
866 Phrasing slurs can also be made half-dashed (the first half dashed, the
867 second half solid) or half-solid (the first half solid, the second
868 half dashed):
869
870 @lilypond[verbatim,quote,relative=1]
871 c4\( e g2\)
872 \phrasingSlurHalfDashed
873 g4\( e c2\)
874 \phrasingSlurHalfSolid
875 c4\( e g2\)
876 \phrasingSlurSolid
877 g4\( e c2\)
878 @end lilypond
879
880 @funindex \phrasingSlurDashPattern
881 @funindex phrasingSlurDashPattern
882 @cindex phrasing slur, defining dash patterns
883 @cindex slur, phrasing, defining dash patterns
884 @cindex slur, defining dash patterns for phrasing
885
886 Custom dash patterns for phrasing slurs can be defined:
887
888 @lilypond[verbatim,quote,relative=1]
889 c4\( e g2\)
890 \phrasingSlurDashPattern #0.7 #0.75
891 g4\( e c2\)
892 \phrasingSlurDashPattern #0.5 #2.0
893 c4\( e g2\)
894 \phrasingSlurSolid
895 g4\( e c2\)
896 @end lilypond
897
898 Dash pattern definitions for phrasing slurs have the same structure
899 as dash pattern definitions for slurs.  For more information about
900 complex dash patterns, see the snippets under @ref{Slurs}.
901
902 @predefined
903 @code{\phrasingSlurUp},
904 @code{\phrasingSlurDown},
905 @code{\phrasingSlurNeutral},
906 @code{\phrasingSlurDashed},
907 @code{\phrasingSlurDotted},
908 @code{\phrasingSlurHalfDashed},
909 @code{\phrasingSlurHalfSolid},
910 @code{\phrasingSlurDashPattern},
911 @code{\phrasingSlurSolid}.
912 @endpredefined
913
914
915 @seealso
916 Learning Manual:
917 @rlearning{On the un-nestedness of brackets and ties}.
918
919 Notation Reference:
920 @ref{Direction and placement},
921 @ref{Slurs}.
922
923 Snippets:
924 @rlsr{Expressive marks}.
925
926 Internals Reference:
927 @rinternals{PhrasingSlur}.
928
929
930 @node Breath marks
931 @unnumberedsubsubsec Breath marks
932
933 @cindex breath marks
934 @cindex pause mark
935 @funindex \breathe
936 @funindex breathe
937
938 Breath marks are entered using @code{\breathe}:
939
940 @lilypond[verbatim,quote,relative=2]
941 c2. \breathe d4
942 @end lilypond
943
944 A breath mark will end an automatic beam; to override this behavior, see
945 @ref{Manual beams}.
946
947 @lilypond[verbatim,quote,relative=2]
948 c8 \breathe d e f g2
949 @end lilypond
950
951 Musical indicators for breath marks in ancient notation,
952 divisiones, are supported.  For details, see @ref{Divisiones}.
953
954
955 @snippets
956
957 @lilypondfile[verbatim,quote,texidoc,doctitle]
958 {changing-the-breath-mark-symbol.ly}
959
960 @cindex caesura
961 @cindex railroad tracks
962
963 @lilypondfile[verbatim,quote,texidoc,doctitle]
964 {inserting-a-caesura.ly}
965
966
967 @seealso
968 Music Glossary:
969 @rglos{caesura}.
970
971 Notation Reference:
972 @ref{Divisiones}.
973
974 Snippets:
975 @rlsr{Expressive marks}.
976
977 Internals Reference:
978 @rinternals{BreathingEvent},
979 @rinternals{BreathingSign},
980 @rinternals{Breathing_sign_engraver}.
981
982
983 @node Falls and doits
984 @unnumberedsubsubsec Falls and doits
985
986 @cindex falls
987 @cindex doits
988 @funindex \bendAfter
989 @funindex bendAfter
990
991 @notation{Falls} and @notation{doits} can be added to notes using
992 the @code{\bendAfter} command.  The direction of the fall or doit
993 is indicated with a plus or minus (up or down).  The number
994 indicates the pitch interval that the fall or doit will extend
995 @emph{beyond} the main note.
996
997 @lilypond[verbatim,quote,relative=2]
998 c2-\bendAfter #+4
999 c2-\bendAfter #-4
1000 c2-\bendAfter #+6.5
1001 c2-\bendAfter #-6.5
1002 c2-\bendAfter #+8
1003 c2-\bendAfter #-8
1004 @end lilypond
1005
1006 The dash @code{-} immediately preceding the @code{\bendAfter}
1007 command is @emph{required} when writing falls and doits.
1008
1009
1010 @snippets
1011
1012 @lilypondfile[verbatim,quote,texidoc,doctitle]
1013 {adjusting-the-shape-of-falls-and-doits.ly}
1014
1015
1016 @seealso
1017 Music Glossary:
1018 @rglos{fall},
1019 @rglos{doit}.
1020
1021 Snippets:
1022 @rlsr{Expressive marks}.
1023
1024
1025 @node Expressive marks as lines
1026 @subsection Expressive marks as lines
1027
1028 This section explains how to create various expressive marks that
1029 follow a linear path: glissandos, arpeggios, and trills.
1030
1031 @menu
1032 * Glissando::
1033 * Arpeggio::
1034 * Trills::
1035 @end menu
1036
1037 @node Glissando
1038 @unnumberedsubsubsec Glissando
1039
1040 @cindex glissando
1041 @funindex \glissando
1042 @funindex glissando
1043
1044 A @notation{glissando} is created by attaching @code{\glissando}
1045 to a note:
1046
1047 @lilypond[verbatim,quote,relative=2]
1048 g2\glissando g'
1049 c2\glissando c,
1050 @end lilypond
1051
1052 Different styles of glissandi can be created.  For details, see
1053 @ref{Line styles}.
1054
1055 @snippets
1056
1057 @lilypondfile[verbatim,quote,texidoc,doctitle]
1058 {glissandi-can-skip-grobs.ly}
1059
1060 @lilypondfile[verbatim,quote,texidoc,doctitle]
1061 {contemporary-glissando.ly}
1062
1063
1064 @seealso
1065 Music Glossary:
1066 @rglos{glissando}.
1067
1068 Notation Reference:
1069 @ref{Line styles}.
1070
1071 Snippets:
1072 @rlsr{Expressive marks}.
1073
1074 Internals Reference:
1075 @rinternals{Glissando}.
1076
1077
1078 @knownissues
1079
1080 Printing text over the line (such as @notation{gliss.}) is not
1081 supported.
1082
1083
1084 @node Arpeggio
1085 @unnumberedsubsubsec Arpeggio
1086
1087 @cindex arpeggio
1088 @cindex broken chord
1089 @cindex chord, broken
1090
1091 @funindex \arpeggio
1092 @funindex arpeggio
1093 @funindex \arpeggioArrowUp
1094 @funindex arpeggioArrowUp
1095 @funindex \arpeggioArrowDown
1096 @funindex arpeggioArrowDown
1097 @funindex \arpeggioNormal
1098 @funindex arpeggioNormal
1099
1100 An @notation{arpeggio} on a chord (also known as a broken chord)
1101 is denoted by appending @code{\arpeggio} to the chord construct:
1102
1103 @lilypond[verbatim,quote,relative=1]
1104 <c e g c>1\arpeggio
1105 @end lilypond
1106
1107 Different types of arpeggios may be written.
1108 @code{\arpeggioNormal} reverts to a normal arpeggio:
1109
1110 @lilypond[verbatim,quote,relative=1]
1111 <c e g c>2\arpeggio
1112
1113 \arpeggioArrowUp
1114 <c e g c>2\arpeggio
1115
1116 \arpeggioArrowDown
1117 <c e g c>2\arpeggio
1118
1119 \arpeggioNormal
1120 <c e g c>2\arpeggio
1121 @end lilypond
1122
1123 @cindex arpeggio symbols, special
1124 @cindex special arpeggio symbols
1125
1126 @funindex \arpeggioBracket
1127 @funindex arpeggioBracket
1128 @funindex \arpeggioParenthesis
1129 @funindex arpeggioParenthesis
1130 @funindex \arpeggioParenthesisDashed
1131 @funindex arpeggioParenthesisDashed
1132
1133 Special @emph{bracketed} arpeggio symbols can be created:
1134
1135 @lilypond[verbatim,quote,relative=1]
1136 <c e g c>2
1137
1138 \arpeggioBracket
1139 <c e g c>2\arpeggio
1140
1141 \arpeggioParenthesis
1142 <c e g c>2\arpeggio
1143
1144 \arpeggioParenthesisDashed
1145 <c e g c>2\arpeggio
1146
1147 \arpeggioNormal
1148 <c e g c>2\arpeggio
1149 @end lilypond
1150
1151 The dash properties of the parenthesis arpeggio are controlled
1152 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1153
1154 Arpeggios can be explicitly written out with ties.  For more
1155 information, see @ref{Ties}.
1156
1157
1158 @predefined
1159 @code{\arpeggio},
1160 @code{\arpeggioArrowUp},
1161 @code{\arpeggioArrowDown},
1162 @code{\arpeggioNormal},
1163 @code{\arpeggioBracket},
1164 @code{\arpeggioParenthesis}
1165 @code{\arpeggioParenthesisDashed}.
1166 @endpredefined
1167
1168
1169 @snippets
1170
1171 @lilypondfile[verbatim,quote,texidoc,doctitle]
1172 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1173
1174 @lilypondfile[verbatim,quote,texidoc,doctitle]
1175 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1176
1177 @lilypondfile[verbatim,quote,texidoc,doctitle]
1178 {creating-arpeggios-across-notes-in-different-voices.ly}
1179
1180
1181 @seealso
1182 Music Glossary:
1183 @rglos{arpeggio}.
1184
1185 Notation Reference:
1186 @ref{Slurs},
1187 @ref{Ties}.
1188
1189 Snippets:
1190 @rlsr{Expressive marks}.
1191
1192 Internals Reference:
1193 @rinternals{Arpeggio},
1194 @rinternals{Slur},
1195 @rinternals{PianoStaff}.
1196
1197
1198 @knownissues
1199
1200 @cindex cross-staff parenthesis-style arpeggio
1201 @cindex arpeggio, parenthesis-style, cross-staff
1202 @cindex arpeggio, cross-staff parenthesis-style
1203
1204 It is not possible to mix connected arpeggios and unconnected
1205 arpeggios in one @code{PianoStaff} at the same point in
1206 time.
1207
1208 The parenthesis-style arpeggio brackets do not work for
1209 cross-staff arpeggios.
1210
1211
1212 @node Trills
1213 @unnumberedsubsubsec Trills
1214
1215 @cindex trills
1216
1217 @funindex \trill
1218 @funindex trill
1219 @funindex \startTrillSpan
1220 @funindex startTrillSpan
1221 @funindex \stopTrillSpan
1222 @funindex stopTrillSpan
1223
1224 Short trills without an extender line are printed with
1225 @code{\trill}; see @ref{Articulations and ornamentations}.
1226
1227 Longer trills with an extender line are made with
1228 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1229
1230 @lilypond[verbatim,quote,relative=2]
1231 d1\startTrillSpan
1232 d1
1233 c2\stopTrillSpan
1234 r2
1235 @end lilypond
1236
1237 A trill spanner crossing a line break will restart exactly above
1238 the first note on the new line.
1239
1240 @lilypond[ragged-right,verbatim,quote,relative=2]
1241 d1\startTrillSpan
1242 \break
1243 d1
1244 c2\stopTrillSpan
1245 r2
1246 @end lilypond
1247
1248 Consecutive trill spans will work without explicit
1249 @code{\stopTrillSpan} commands, since successive trill spanners will
1250 automatically become the right bound of the previous trill.
1251
1252 @lilypond[verbatim,quote,relative=2]
1253 d1\startTrillSpan
1254 d1
1255 b1\startTrillSpan
1256 d2\stopTrillSpan
1257 r2
1258 @end lilypond
1259
1260 Trills can also be combined with grace notes.  The syntax of this
1261 construct and the method to precisely position the grace notes are
1262 described in @ref{Grace notes}.
1263
1264 @lilypond[verbatim,quote,relative=2]
1265 d1~\afterGrace
1266 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1267 c2 r2
1268 @end lilypond
1269
1270 @cindex pitched trills
1271 @cindex trills, pitched
1272 @funindex \pitchedTrill
1273 @funindex pitchedTrill
1274
1275 Trills that require an auxiliary note with an explicit pitch can
1276 be typeset with the @code{\pitchedTrill} command.  The first
1277 argument is the main note, and the second is the @emph{trilled}
1278 note, printed as a stemless note head in parentheses.
1279
1280 @lilypond[verbatim,quote,relative=2]
1281 \pitchedTrill
1282 d2\startTrillSpan fis
1283 d2
1284 c2\stopTrillSpan
1285 r2
1286 @end lilypond
1287
1288 @cindex pitched trill with accidental
1289 @cindex trill with accidental
1290
1291 Subsequent accidentals of the same note in the same measure will need
1292 to be added manually.  Only the accidental of the first pitched trill
1293 in a measure is printed.
1294
1295 @lilypond[verbatim,quote,relative=2]
1296 \pitchedTrill
1297 eis4\startTrillSpan fis
1298 eis4\stopTrillSpan
1299 \pitchedTrill
1300 eis4\startTrillSpan cis
1301 eis4\stopTrillSpan
1302 \pitchedTrill
1303 eis4\startTrillSpan fis
1304 eis4\stopTrillSpan
1305 \pitchedTrill
1306 eis4\startTrillSpan fis!
1307 eis4\stopTrillSpan
1308 @end lilypond
1309
1310
1311 @predefined
1312 @code{\startTrillSpan},
1313 @code{\stopTrillSpan}.
1314 @endpredefined
1315
1316 @seealso
1317 Music Glossary:
1318 @rglos{trill}.
1319
1320 Notation Reference:
1321 @ref{Articulations and ornamentations},
1322 @ref{Grace notes}.
1323
1324 Snippets:
1325 @rlsr{Expressive marks}.
1326
1327 Internals Reference:
1328 @rinternals{TrillSpanner}.
1329