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