]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/expressive.itely
Run scripts/auxiliar/update-with-convert-ly.sh
[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.16.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 @seealso
485 Music Glossary:
486 @rglos{al niente},
487 @rglos{crescendo},
488 @rglos{decrescendo},
489 @rglos{hairpin}.
490
491 Learning Manual:
492 @rlearning{Articulation and dynamics}.
493
494 Notation Reference:
495 @ref{Direction and placement},
496 @ref{New dynamic marks},
497 @ref{What goes into the MIDI output?},
498 @ref{Controlling MIDI dynamics}.
499
500 Snippets:
501 @rlsr{Expressive marks}.
502
503 Internals Reference:
504 @rinternals{DynamicText},
505 @rinternals{Hairpin},
506 @rinternals{DynamicLineSpanner},
507 @rinternals{Dynamics}.
508
509
510 @node New dynamic marks
511 @unnumberedsubsubsec New dynamic marks
512
513 @cindex new dynamic marks
514 @cindex dynamic marks, new
515
516 The easiest way to create dynamic indications is to use
517 @code{\markup} objects.
518
519 @lilypond[verbatim,quote]
520 moltoF = \markup { molto \dynamic f }
521
522 \relative c' {
523   <d e>16_\moltoF <d e>
524   <d e>2..
525 }
526 @end lilypond
527
528 @cindex dynamics, editorial
529 @cindex dynamics, parenthesis
530 @cindex editorial dynamics
531 @funindex \bracket
532 @funindex bracket
533 @funindex \dynamic
534 @funindex dynamic
535
536 In markup mode, editorial dynamics (within parentheses or square
537 brackets) can be created.  The syntax for markup mode is described
538 in @ref{Formatting text}.
539
540 @lilypond[verbatim,quote]
541 roundF = \markup {
542     \center-align \concat { \bold { \italic ( }
543            \dynamic f \bold { \italic ) } } }
544 boxF = \markup { \bracket { \dynamic f } }
545 \relative c' {
546   c1_\roundF
547   c1_\boxF
548 }
549 @end lilypond
550
551 @cindex make-dynamic-script
552 @funindex make-dynamic-script
553
554 Simple, centered dynamic marks are easily created with the
555 @code{make-dynamic-script} function.
556
557 @lilypond[verbatim,quote]
558 sfzp = #(make-dynamic-script "sfzp")
559 \relative c' {
560   c4 c c\sfzp c
561 }
562 @end lilypond
563
564 In general, @code{make-dynamic-script} takes any markup object as its
565 argument.  The dynamic font only contains the characters
566 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
567 plain text or punctuation symbols is desired, markup commands that
568 reverts font family and font encoding to normal text should be used,
569 for example @code{\normal-text}.  The interest of using
570 @code{make-dynamic-script} instead of an ordinary markup is ensuring
571 the vertical alignment of markup objects and hairpins that are
572 attached to the same note head.
573
574 @lilypond[verbatim,quote]
575 roundF = \markup { \center-align \concat {
576            \normal-text { \bold { \italic ( } }
577            \dynamic f
578            \normal-text { \bold { \italic ) } } } }
579 boxF = \markup { \bracket { \dynamic f } }
580 mfEspress = \markup { \center-align \line {
581               \hspace #3.7 mf \normal-text \italic espress. } }
582 roundFdynamic = #(make-dynamic-script roundF)
583 boxFdynamic = #(make-dynamic-script boxF)
584 mfEspressDynamic = #(make-dynamic-script mfEspress)
585 \relative c' {
586   c4_\roundFdynamic\< d e f
587   g,1~_\boxFdynamic\>
588   g1
589   g'1~\mfEspressDynamic
590   g1
591 }
592 @end lilypond
593
594 The Scheme form of markup mode may be used instead.  Its syntax is
595 explained in @rextend{Markup construction in Scheme}.
596
597 @lilypond[verbatim,quote]
598 moltoF = #(make-dynamic-script
599             (markup #:normal-text "molto"
600                     #:dynamic "f"))
601 \relative c' {
602   <d e>16 <d e>
603   <d e>2..\moltoF
604 }
605 @end lilypond
606
607 Font settings in markup mode are described in
608 @ref{Selecting font and font size}.
609
610 @seealso
611 Notation Reference:
612 @ref{Formatting text},
613 @ref{Selecting font and font size},
614 @ref{What goes into the MIDI output?},
615 @ref{Controlling MIDI dynamics}.
616
617 Extending LilyPond:
618 @rextend{Markup construction in Scheme}.
619
620 Snippets:
621 @rlsr{Expressive marks}.
622
623
624 @node Expressive marks as curves
625 @subsection Expressive marks as curves
626
627 This section explains how to create various expressive marks that
628 are curved: normal slurs, phrasing slurs, breath marks, falls, and
629 doits.
630
631 @menu
632 * Slurs::
633 * Phrasing slurs::
634 * Breath marks::
635 * Falls and doits::
636 @end menu
637
638 @node Slurs
639 @unnumberedsubsubsec Slurs
640
641 @cindex slurs
642
643 @notation{Slurs} are entered using parentheses:
644
645 @warning{In polyphonic music, a slur must be terminated
646 in the same voice it began.}
647
648 @lilypond[verbatim,quote,relative=2]
649 f4( g a) a8 b(
650 a4 g2 f4)
651 <c e>2( <b d>2)
652 @end lilypond
653
654 @cindex slurs, manual placement
655 @cindex slurs, below notes
656 @cindex slurs, above notes
657 @funindex \slurDown
658 @funindex slurDown
659 @funindex \slurNeutral
660 @funindex slurNeutral
661
662 Slurs may be manually placed above or below the staff; see
663 @ref{Direction and placement}.
664
665 @cindex phrasing slur
666 @cindex multiple slurs
667 @cindex simultaneous slurs
668 @cindex slur, phrasing
669 @cindex slurs, multiple
670 @cindex slurs, simultaneous
671
672 Simultaneous or overlapping slurs are not permitted, but a phrasing
673 slur can overlap a slur.  This permits two slurs to be printed at
674 once.  For details, see @ref{Phrasing slurs}.
675
676 @cindex slur style
677 @cindex slur, solid
678 @cindex slur, dotted
679 @cindex slur, dashed
680 @cindex solid slur
681 @cindex dotted slur
682 @cindex dashed slur
683 @cindex style, slur
684 @funindex \slurDashed
685 @funindex slurDashed
686 @funindex \slurDotted
687 @funindex slurDotted
688 @funindex \slurSolid
689 @funindex slurSolid
690
691 Slurs can be solid, dotted, or dashed.  Solid is the default slur
692 style:
693
694 @lilypond[verbatim,quote,relative=1]
695 c4( e g2)
696 \slurDashed
697 g4( e c2)
698 \slurDotted
699 c4( e g2)
700 \slurSolid
701 g4( e c2)
702 @end lilypond
703
704 @funindex \slurHalfDashed
705 @funindex slurHalfDashed
706 @funindex \slurHalfSolid
707 @funindex slurHalfSolid
708 @cindex slur, half dashed and half solid
709
710 Slurs can also be made half-dashed (the first half dashed, the
711 second half solid) or half-solid (the first half solid, the second
712 half dashed):
713
714 @lilypond[verbatim,quote,relative=1]
715 c4( e g2)
716 \slurHalfDashed
717 g4( e c2)
718 \slurHalfSolid
719 c4( e g2)
720 \slurSolid
721 g4( e c2)
722 @end lilypond
723
724 @funindex \slurDashPattern
725 @funindex slurDashPattern
726 @cindex slur, defining dash patterns
727
728 Custom dash patterns for slurs can be defined:
729
730 @lilypond[verbatim,quote,relative=1]
731 c4( e g2)
732 \slurDashPattern #0.7 #0.75
733 g4( e c2)
734 \slurDashPattern #0.5 #2.0
735 c4( e g2)
736 \slurSolid
737 g4( e c2)
738 @end lilypond
739
740
741
742 @funindex \slurUp
743 @funindex slurUp
744
745
746 @predefined
747 @code{\slurUp},
748 @code{\slurDown},
749 @code{\slurNeutral},
750 @code{\slurDashed},
751 @code{\slurDotted},
752 @code{\slurHalfDashed},
753 @code{\slurHalfSolid},
754 @code{\slurDashPattern},
755 @code{\slurSolid}.
756 @endpredefined
757
758
759 @snippets
760
761 @lilypondfile[verbatim,quote,texidoc,doctitle]
762 {using-double-slurs-for-legato-chords.ly}
763
764 @lilypondfile[verbatim,quote,texidoc,doctitle]
765 {positioning-text-markups-inside-slurs.ly}
766
767 @lilypondfile[verbatim,quote,texidoc,doctitle]
768 {making-slurs-with-complex-dash-structure.ly}
769
770 @seealso
771 Music Glossary:
772 @rglos{slur}.
773
774 Learning Manual:
775 @rlearning{On the un-nestedness of brackets and ties}.
776
777 Notation Reference:
778 @ref{Direction and placement},
779 @ref{Phrasing slurs}.
780
781 Snippets:
782 @rlsr{Expressive marks}.
783
784 Internals Reference:
785 @rinternals{Slur}.
786
787
788 @node Phrasing slurs
789 @unnumberedsubsubsec Phrasing slurs
790
791 @cindex phrasing slurs
792 @cindex phrasing marks
793 @cindex slur, phrasing
794 @cindex mark, phrasing
795 @funindex \(
796 @funindex \)
797
798 @notation{Phrasing slurs} (or phrasing marks) that indicate a
799 musical sentence are written using the commands @code{\(} and
800 @code{\)} respectively:
801
802 @lilypond[verbatim,quote,relative=2]
803 c4\( d( e) f(
804 e2) d\)
805 @end lilypond
806
807 @funindex \phrasingSlurUp
808 @funindex phrasingSlurUp
809 @funindex \phrasingSlurDown
810 @funindex phrasingSlurDown
811 @funindex \phrasingSlurNeutral
812 @funindex phrasingSlurNeutral
813
814 Typographically, a phrasing slur behaves almost exactly like a
815 normal slur.  However, they are treated as different objects; a
816 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
817 may be manually placed above or below the staff; see
818 @ref{Direction and placement}.
819
820 @cindex simultaneous phrasing slurs
821 @cindex multiple phrasing slurs
822 @cindex slur, simultaneous phrasing
823 @cindex slur, multiple phrasing
824 @cindex phrasing slur, simultaneous
825 @cindex phrasing slur, multiple
826
827 Simultaneous or overlapping phrasing slurs are not permitted.
828
829 @funindex phrasingSlurDashed
830 @funindex \phrasingSlurDashed
831 @funindex \phrasingSlurDotted
832 @funindex phrasingSlurDotted
833 @funindex \phrasingSlurSolid
834 @funindex phrasingSlurSolid
835 @cindex phrasing slur, dashed
836 @cindex dashed phrasing slur
837 @cindex phrasing slur, dotted
838 @cindex dotted phrasing slurs
839 @cindex slur, dashed phrasing
840 @cindex slur, dotted phrasing
841
842 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
843 style for phrasing slurs:
844
845 @lilypond[verbatim,quote,relative=1]
846 c4\( e g2\)
847 \phrasingSlurDashed
848 g4\( e c2\)
849 \phrasingSlurDotted
850 c4\( e g2\)
851 \phrasingSlurSolid
852 g4\( e c2\)
853 @end lilypond
854
855 @funindex phrasingSlurHalfDashed
856 @funindex \phrasingSlurHalfDashed
857 @funindex \phrasingSlurHalfSolid
858 @funindex phrasingSlurHalfSolid
859 @cindex phrasing slur, half solid and half dashed
860 @cindex slur, half solid and half dashed phrasing
861
862 Phrasing slurs can also be made half-dashed (the first half dashed, the
863 second half solid) or half-solid (the first half solid, the second
864 half dashed):
865
866 @lilypond[verbatim,quote,relative=1]
867 c4\( e g2\)
868 \phrasingSlurHalfDashed
869 g4\( e c2\)
870 \phrasingSlurHalfSolid
871 c4\( e g2\)
872 \phrasingSlurSolid
873 g4\( e c2\)
874 @end lilypond
875
876 @funindex \phrasingSlurDashPattern
877 @funindex phrasingSlurDashPattern
878 @cindex phrasing slur, defining dash patterns
879 @cindex slur, phrasing, defining dash patterns
880 @cindex slur, defining dash patterns for phrasing
881
882 Custom dash patterns for phrasing slurs can be defined:
883
884 @lilypond[verbatim,quote,relative=1]
885 c4\( e g2\)
886 \phrasingSlurDashPattern #0.7 #0.75
887 g4\( e c2\)
888 \phrasingSlurDashPattern #0.5 #2.0
889 c4\( e g2\)
890 \phrasingSlurSolid
891 g4\( e c2\)
892 @end lilypond
893
894 Dash pattern definitions for phrasing slurs have the same structure
895 as dash pattern definitions for slurs.  For more information about
896 complex dash patterns, see the snippets under @ref{Slurs}.
897
898 @predefined
899 @code{\phrasingSlurUp},
900 @code{\phrasingSlurDown},
901 @code{\phrasingSlurNeutral},
902 @code{\phrasingSlurDashed},
903 @code{\phrasingSlurDotted},
904 @code{\phrasingSlurHalfDashed},
905 @code{\phrasingSlurHalfSolid},
906 @code{\phrasingSlurDashPattern},
907 @code{\phrasingSlurSolid}.
908 @endpredefined
909
910 @seealso
911 Learning Manual:
912 @rlearning{On the un-nestedness of brackets and ties}.
913
914 Notation Reference:
915 @ref{Direction and placement},
916 @ref{Slurs}.
917
918 Snippets:
919 @rlsr{Expressive marks}.
920
921 Internals Reference:
922 @rinternals{PhrasingSlur}.
923
924
925 @node Breath marks
926 @unnumberedsubsubsec Breath marks
927
928 @cindex breath marks
929 @cindex pause mark
930 @funindex \breathe
931 @funindex breathe
932
933 Breath marks are entered using @code{\breathe}:
934
935 @lilypond[verbatim,quote,relative=2]
936 c2. \breathe d4
937 @end lilypond
938
939 A breath mark will end an automatic beam; to override this behavior, see
940 @ref{Manual beams}.
941
942 @lilypond[verbatim,quote,relative=2]
943 c8 \breathe d e f g2
944 @end lilypond
945
946 Musical indicators for breath marks in ancient notation,
947 divisiones, are supported.  For details, see @ref{Divisiones}.
948
949
950 @snippets
951
952 @lilypondfile[verbatim,quote,texidoc,doctitle]
953 {changing-the-breath-mark-symbol.ly}
954
955 @cindex caesura
956 @cindex railroad tracks
957
958 @lilypondfile[verbatim,quote,texidoc,doctitle]
959 {inserting-a-caesura.ly}
960
961 @seealso
962 Music Glossary:
963 @rglos{caesura}.
964
965 Notation Reference:
966 @ref{Divisiones}.
967
968 Snippets:
969 @rlsr{Expressive marks}.
970
971 Internals Reference:
972 @rinternals{BreathingEvent},
973 @rinternals{BreathingSign},
974 @rinternals{Breathing_sign_engraver}.
975
976
977 @node Falls and doits
978 @unnumberedsubsubsec Falls and doits
979
980 @cindex falls
981 @cindex doits
982 @funindex \bendAfter
983 @funindex bendAfter
984
985 @notation{Falls} and @notation{doits} can be added to notes using
986 the @code{\bendAfter} command.  The direction of the fall or doit
987 is indicated with a plus or minus (up or down).  The number
988 indicates the pitch interval that the fall or doit will extend
989 @emph{beyond} the main note.
990
991 @lilypond[verbatim,quote,relative=2]
992 c2\bendAfter #+4
993 c2\bendAfter #-4
994 c2\bendAfter #+6.5
995 c2\bendAfter #-6.5
996 c2\bendAfter #+8
997 c2\bendAfter #-8
998 @end lilypond
999
1000 @snippets
1001
1002 @lilypondfile[verbatim,quote,texidoc,doctitle]
1003 {adjusting-the-shape-of-falls-and-doits.ly}
1004
1005 @seealso
1006 Music Glossary:
1007 @rglos{fall},
1008 @rglos{doit}.
1009
1010 Snippets:
1011 @rlsr{Expressive marks}.
1012
1013
1014 @node Expressive marks as lines
1015 @subsection Expressive marks as lines
1016
1017 This section explains how to create various expressive marks that
1018 follow a linear path: glissandos, arpeggios, and trills.
1019
1020 @menu
1021 * Glissando::
1022 * Arpeggio::
1023 * Trills::
1024 @end menu
1025
1026 @node Glissando
1027 @unnumberedsubsubsec Glissando
1028
1029 @cindex glissando
1030 @funindex \glissando
1031 @funindex glissando
1032
1033 A @notation{glissando} is created by attaching @code{\glissando}
1034 to a note:
1035
1036 @lilypond[verbatim,quote,relative=2]
1037 g2\glissando g'
1038 c2\glissando c,
1039 @end lilypond
1040
1041 Different styles of glissandi can be created.  For details, see
1042 @ref{Line styles}.
1043
1044 @snippets
1045
1046 @lilypondfile[verbatim,quote,texidoc,doctitle]
1047 {glissandi-can-skip-grobs.ly}
1048
1049 @lilypondfile[verbatim,quote,texidoc,doctitle]
1050 {contemporary-glissando.ly}
1051
1052 @seealso
1053 Music Glossary:
1054 @rglos{glissando}.
1055
1056 Notation Reference:
1057 @ref{Line styles}.
1058
1059 Snippets:
1060 @rlsr{Expressive marks}.
1061
1062 Internals Reference:
1063 @rinternals{Glissando}.
1064
1065 @knownissues
1066 Printing text over the line (such as @notation{gliss.}) is not
1067 supported.
1068
1069
1070 @node Arpeggio
1071 @unnumberedsubsubsec Arpeggio
1072
1073 @cindex arpeggio
1074 @cindex broken chord
1075 @cindex chord, broken
1076
1077 @funindex \arpeggio
1078 @funindex arpeggio
1079 @funindex \arpeggioArrowUp
1080 @funindex arpeggioArrowUp
1081 @funindex \arpeggioArrowDown
1082 @funindex arpeggioArrowDown
1083 @funindex \arpeggioNormal
1084 @funindex arpeggioNormal
1085
1086 An @notation{arpeggio} on a chord (also known as a broken chord)
1087 is denoted by appending @code{\arpeggio} to the chord construct:
1088
1089 @lilypond[verbatim,quote,relative=1]
1090 <c e g c>1\arpeggio
1091 @end lilypond
1092
1093 Different types of arpeggios may be written.
1094 @code{\arpeggioNormal} reverts to a normal arpeggio:
1095
1096 @lilypond[verbatim,quote,relative=1]
1097 <c e g c>2\arpeggio
1098
1099 \arpeggioArrowUp
1100 <c e g c>2\arpeggio
1101
1102 \arpeggioArrowDown
1103 <c e g c>2\arpeggio
1104
1105 \arpeggioNormal
1106 <c e g c>2\arpeggio
1107 @end lilypond
1108
1109 @cindex arpeggio symbols, special
1110 @cindex special arpeggio symbols
1111
1112 @funindex \arpeggioBracket
1113 @funindex arpeggioBracket
1114 @funindex \arpeggioParenthesis
1115 @funindex arpeggioParenthesis
1116 @funindex \arpeggioParenthesisDashed
1117 @funindex arpeggioParenthesisDashed
1118
1119 Special @emph{bracketed} arpeggio symbols can be created:
1120
1121 @lilypond[verbatim,quote,relative=1]
1122 <c e g c>2
1123
1124 \arpeggioBracket
1125 <c e g c>2\arpeggio
1126
1127 \arpeggioParenthesis
1128 <c e g c>2\arpeggio
1129
1130 \arpeggioParenthesisDashed
1131 <c e g c>2\arpeggio
1132
1133 \arpeggioNormal
1134 <c e g c>2\arpeggio
1135 @end lilypond
1136
1137 The dash properties of the parenthesis arpeggio are controlled
1138 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1139
1140 Arpeggios can be explicitly written out with ties.  For more
1141 information, see @ref{Ties}.
1142
1143
1144 @predefined
1145 @code{\arpeggio},
1146 @code{\arpeggioArrowUp},
1147 @code{\arpeggioArrowDown},
1148 @code{\arpeggioNormal},
1149 @code{\arpeggioBracket},
1150 @code{\arpeggioParenthesis}
1151 @code{\arpeggioParenthesisDashed}.
1152 @endpredefined
1153
1154
1155 @snippets
1156
1157 @lilypondfile[verbatim,quote,texidoc,doctitle]
1158 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1159
1160 @lilypondfile[verbatim,quote,texidoc,doctitle]
1161 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1162
1163 @lilypondfile[verbatim,quote,texidoc,doctitle]
1164 {creating-arpeggios-across-notes-in-different-voices.ly}
1165
1166 @seealso
1167 Music Glossary:
1168 @rglos{arpeggio}.
1169
1170 Notation Reference:
1171 @ref{Slurs},
1172 @ref{Ties}.
1173
1174 Snippets:
1175 @rlsr{Expressive marks}.
1176
1177 Internals Reference:
1178 @rinternals{Arpeggio},
1179 @rinternals{Slur},
1180 @rinternals{PianoStaff}.
1181
1182 @knownissues
1183 @cindex cross-staff parenthesis-style arpeggio
1184 @cindex arpeggio, parenthesis-style, cross-staff
1185 @cindex arpeggio, cross-staff parenthesis-style
1186
1187 It is not possible to mix connected arpeggios and unconnected
1188 arpeggios in one @code{PianoStaff} at the same point in
1189 time.
1190
1191 The parenthesis-style arpeggio brackets do not work for
1192 cross-staff arpeggios.
1193
1194
1195 @node Trills
1196 @unnumberedsubsubsec Trills
1197
1198 @cindex trills
1199
1200 @funindex \trill
1201 @funindex trill
1202 @funindex \startTrillSpan
1203 @funindex startTrillSpan
1204 @funindex \stopTrillSpan
1205 @funindex stopTrillSpan
1206
1207 Short trills without an extender line are printed with
1208 @code{\trill}; see @ref{Articulations and ornamentations}.
1209
1210 Longer trills with an extender line are made with
1211 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1212
1213 @lilypond[verbatim,quote,relative=2]
1214 d1\startTrillSpan
1215 d1
1216 c2\stopTrillSpan
1217 r2
1218 @end lilypond
1219
1220 A trill spanner crossing a line break will restart exactly above
1221 the first note on the new line.
1222
1223 @lilypond[ragged-right,verbatim,quote,relative=2]
1224 d1\startTrillSpan
1225 \break
1226 d1
1227 c2\stopTrillSpan
1228 r2
1229 @end lilypond
1230
1231 Consecutive trill spans will work without explicit
1232 @code{\stopTrillSpan} commands, since successive trill spanners will
1233 automatically become the right bound of the previous trill.
1234
1235 @lilypond[verbatim,quote,relative=2]
1236 d1\startTrillSpan
1237 d1
1238 b1\startTrillSpan
1239 d2\stopTrillSpan
1240 r2
1241 @end lilypond
1242
1243 Trills can also be combined with grace notes.  The syntax of this
1244 construct and the method to precisely position the grace notes are
1245 described in @ref{Grace notes}.
1246
1247 @lilypond[verbatim,quote,relative=2]
1248 d1~\afterGrace
1249 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1250 c2 r2
1251 @end lilypond
1252
1253 @cindex pitched trills
1254 @cindex trills, pitched
1255 @funindex \pitchedTrill
1256 @funindex pitchedTrill
1257
1258 Trills that require an auxiliary note with an explicit pitch can
1259 be typeset with the @code{\pitchedTrill} command.  The first
1260 argument is the main note, and the second is the @emph{trilled}
1261 note, printed as a stemless note head in parentheses.
1262
1263 @lilypond[verbatim,quote,relative=2]
1264 \pitchedTrill
1265 d2\startTrillSpan fis
1266 d2
1267 c2\stopTrillSpan
1268 r2
1269 @end lilypond
1270
1271 @cindex pitched trill with accidental
1272 @cindex trill with accidental
1273
1274 Subsequent accidentals of the same note in the same measure will need
1275 to be added manually.  Only the accidental of the first pitched trill
1276 in a measure is printed.
1277
1278 @lilypond[verbatim,quote,relative=2]
1279 \pitchedTrill
1280 eis4\startTrillSpan fis
1281 eis4\stopTrillSpan
1282 \pitchedTrill
1283 eis4\startTrillSpan cis
1284 eis4\stopTrillSpan
1285 \pitchedTrill
1286 eis4\startTrillSpan fis
1287 eis4\stopTrillSpan
1288 \pitchedTrill
1289 eis4\startTrillSpan fis!
1290 eis4\stopTrillSpan
1291 @end lilypond
1292
1293 @predefined
1294 @code{\startTrillSpan},
1295 @code{\stopTrillSpan}.
1296 @endpredefined
1297
1298 @seealso
1299 Music Glossary:
1300 @rglos{trill}.
1301
1302 Notation Reference:
1303 @ref{Articulations and ornamentations},
1304 @ref{Grace notes}.
1305
1306 Snippets:
1307 @rlsr{Expressive marks}.
1308
1309 Internals Reference:
1310 @rinternals{TrillSpanner}.