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