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