]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/expressive.itely
Move "new dynamic marks" into expressive.
[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 @node Expressive marks
10 @section Expressive marks
11
12 @lilypondfile[quote]{expressive-headword.ly}
13
14 @menu
15 * Attached to notes::           
16 * Curves::                      
17 * Lines::                       
18 @end menu
19
20
21 @node Attached to notes
22 @subsection Attached to notes
23
24 @menu
25 * Articulations and ornamentations::  
26 * Dynamics::                    
27 * New dynamic marks::           
28 @end menu
29
30 @node Articulations and ornamentations
31 @subsubsection Articulations and ornamentations
32
33 @cindex articulations
34 @cindex scripts
35 @cindex ornaments
36
37 A variety of symbols that denote articulations, ornamentations,
38 and other performance indications can be attached to a note using
39 this syntax:
40
41 @example
42 @var{note}\@var{name}
43 @end example
44
45 The possible values for @var{name} are listed in @ref{List of
46 articulations}.  For example:
47
48 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
49 c4\staccato c\mordent b2\turn
50 c1\fermata
51 @end lilypond
52
53 @cindex marcato
54 @cindex stopped
55 @cindex tenuto
56 @cindex staccatissimo
57 @cindex accent
58 @cindex staccato
59 @cindex portato
60
61 Some of these articulations have shorthands for easier entry.
62 Shorthands are appended to the note name, and their syntax
63 consists of a dash (@tie{}@code{-}) followed by a symbol
64 signifying the articulation.  Predefined shorthands exist for
65 @notation{marcato}, @notation{stopped}, @notation{tenuto},
66 @notation{staccatissimo}, @notation{accent}, @notation{staccato},
67 and @notation{portato}.  Their corresponding output appears as
68 follows:
69
70 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
71 c4-^  c-+  c--  c-|
72 c->   c-.  c-_
73 @end lilypond
74
75 The rules for the default placement of articulations are defined
76 in @file{scm/@/script@/.scm}.  Articulations and ornamentations
77 may be manually placed above or below the staff, see
78 @ref{Controlling direction and placement}.
79
80 @cindex espressivo
81 @cindex fermata
82 @cindex upbow
83 @cindex downbow
84 @cindex foot marks
85 @cindex organ pedal marks
86 @cindex turn
87 @cindex open
88 @cindex stopped
89 @cindex flageolet
90 @cindex reverseturn
91 @cindex trill
92 @cindex prall
93 @cindex mordent
94 @cindex prallprall
95 @cindex prallmordent
96 @cindex prall, up
97 @cindex prall, down
98 @cindex thumb marking
99 @cindex segno
100 @cindex coda
101 @cindex varcoda
102
103
104 @snippets
105
106 @c Send these snippets to Valentin for the LSR.
107
108 The shorthands are defined in @file{ly/@/script@/-init@/.ly},
109 where the variables @code{dashHat}, @code{dashPlus},
110 @code{dashDash}, @code{dashBar}, @code{dashLarger},
111 @code{dashDot}, and @code{dashUnderscore} are assigned default
112 values.  The default values for the shorthands can be modified.
113 For example, to associate the @code{-+} (@code{dashPlus})
114 shorthand with the @notation{trill} symbol instead of the default
115 @notation{+} symbol, assign the value @code{trill} to the variable
116 @code{dashPlus}:
117
118 @lilypond[verbatim,quote,ragged-right]
119 \relative c'' { c-+ }
120 dashPlus = "trill"
121 \relative c'' { c-+ }
122 @end lilypond
123
124 The vertical ordering of scripts is controlled with the
125 @code{script-priority} property.  The lower this number, the
126 closer it will be put to the note.  In this example, the
127 @code{TextScript} (the sharp symbol) first has the lowest
128 priority, so it is put lowest in the first example.  In the
129 second, the @notation{prall trill} (the @code{Script}) has the
130 lowest, so it is on the inside.  When two objects have the same
131 priority, the order in which they are entered decides which one
132 comes first.
133
134 @lilypond[verbatim,quote,ragged-right,fragment,relative=3]
135 \once \override TextScript #'script-priority = #-100
136 a4^\prall^\markup { \sharp }
137
138 \once \override Script #'script-priority = #-100
139 a4^\prall^\markup { \sharp }
140 @end lilypond
141
142
143 @seealso
144
145 Music Glossary: @rglos{tenuto}, @rglos{accent}, @rglos{staccato},
146 @rglos{portato}.
147
148 Snippets: @lsrdir{Expressive,Expressive-marks}
149
150 Internals Reference: @internalsref{Script},
151 @internalsref{TextScript}.
152
153
154 @knownissues
155
156 These signs appear in the printed output but have no effect on the
157 MIDI rendering of the music.
158
159
160 @node Dynamics
161 @subsubsection Dynamics
162
163 @cindex dynamics
164 @funindex \pppp
165 @funindex \ppp
166 @funindex \pp
167 @funindex \p
168 @funindex \mp
169 @funindex \mf
170 @funindex \f
171 @funindex \ff
172 @funindex \fff
173 @funindex \ffff
174 @funindex \fp
175 @funindex \sf
176 @funindex \sff
177 @funindex \sp
178 @funindex \spp
179 @funindex \sfz
180 @funindex \rfz
181
182 Absolute dynamic marks are specified using a command after a note,
183 like @code{c4\ff}.  The available dynamic marks are @code{\ppppp},
184 @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p}, @code{\mp},
185 @code{\mf}, @code{\f}, @code{\ff}, @code{\fff}, @code{\ffff},
186 @code{\fp}, @code{\sf}, @code{\sff}, @code{\sp}, @code{\spp},
187 @code{\sfz}, and @code{\rfz}.  The dynamic marks may be manually
188 placed above or below the staff, see @ref{Controlling direction
189 and placement}.
190
191 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
192 c2\ppp c\mp
193 c\rfz c^\mf
194 c_\spp c_\staccato^\ff
195 @end lilypond
196
197 @cindex hairpin
198 @funindex \<
199 @funindex \>
200 @funindex \!
201 @funindex \cr
202 @funindex \decr
203
204 A @notation{crescendo} mark is started with @code{\<} and
205 terminated with @code{\!} or an absolute dynamic.  A
206 @notation{decrescendo} is started with @code{\>} and is also
207 terminated with @code{\!} or an absolute dynamic.  @code{\cr} and
208 @code{\decr} may be used instead of @code{\<} and @code{\>}.  They
209 can be engraved either using a graphical sign (a
210 @notation{hairpin}), or with textual signs.
211
212 Because these marks are bound to notes, you must use spacer notes
213 if multiple marks are needed during one note.
214
215 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
216 c\< c\! d\> e\!
217 << f1 { s4 s4\< s4\! \> s4\! } >>
218 @end lilypond
219
220 This may give rise to very short hairpins.  To lengthen them, the
221 following code can be used, for example:
222
223 @example
224 \override Voice.Hairpin #'minimum-length = #5
225 @end example
226
227 @noindent
228 A @notation{hairpin} normally starts at the left edge of the
229 beginning note and ends on the right edge of the ending note.  If
230 the ending note falls on the downbeat, the @notation{hairpin} ends
231 on the immediately preceding bar line.  The following example
232 illustrates this behavior:
233
234 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
235 e4\< e2. e1\!
236 \set hairpinToBarline = ##f
237 e4\< e2. e1\!
238 @end lilypond
239
240 @cindex espressivo, articulation
241
242 In some situations the @code{\espressivo} articulation mark may be
243 suitable to indicate a crescendo and decrescendo on the one note:
244
245 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
246 c2 b4 a g1\espressivo
247 @end lilypond
248
249 @cindex al niente
250 @cindex niente, al
251
252 Hairpins may be printed with a circled tip (al niente notation):
253
254 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
255 \override Hairpin #'circled-tip = ##t
256 c2\< c\!
257 c4\> c\< c2\!
258 @end lilypond
259
260 @cindex crescendo
261 @cindex decrescendo
262 @cindex diminuendo
263 @funindex \setTextCresc
264 @funindex \setTextDim
265 @funindex \setTextDecresc
266 @funindex \setHairpinCresc
267 @funindex \setHairpinDim
268 @funindex \setHairpinDecresc
269
270 You can use text saying @notation{cresc.}, @notation{decr.}, or
271 @notation{dim.} instead of hairpins with the commands
272 @code{\setTextCresc}, @code{\setTextDim}, and
273 @code{\setTextDecresc}.  The corresponding
274 @code{\setHairpinCresc}, @code{\setHairpinDim}, and
275 @code{\setHairpinDecresc} will revert to hairpins again:
276
277 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
278 \setTextCresc
279 c\< d e f\!
280 \setHairpinCresc
281 e\> d c b\!
282 \setTextDecresc
283 e\> d e f\!
284 \setTextDecr
285 c\> d e f\!
286 \setTextDim
287 e\> d c b\!
288 @end lilypond
289
290 You can also supply your own texts and change the style of the
291 spanner line with the properties @code{\crescendoText},
292 @code{\crescendoSpanner}, @code{\decrescendoText}, and
293 @code{\decrescendoSpanner}.  Available values for the spanner
294 properties are @code{hairpin}, @code{line}, @code{dashed-line},
295 and @code{dotted-line}.  If unset, a hairpin crescendo is used:
296
297 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
298 \set crescendoText = \markup { \italic "cresc. poco" }
299 \set crescendoSpanner = #'dotted-line
300 a'2\< a a a a a a a\!\mf
301 @end lilypond
302
303 To create new dynamic marks or text that should be aligned with
304 dynamics, see @ref{New dynamic marks}.
305
306 Vertical positioning of dynamics is handled by
307 @internalsref{DynamicLineSpanner}.
308
309
310 @predefined
311
312 @funindex \dynamicUp
313 @code{\dynamicUp},
314 @funindex \dynamicDown
315 @code{\dynamicDown},
316 @funindex \dynamicNeutral
317 @code{\dynamicNeutral}.
318
319
320 @snippets
321
322 Dynamics that occur at, begin on, or end on the same note will be
323 vertically aligned.  If you want to ensure that dynamics are
324 aligned when they do not occur on the same note, you can increase
325 the @code{staff-padding} property.
326
327 @example
328 \override DynamicLineSpanner #'staff-padding = #4
329 @end example
330
331 @noindent
332 You may also use this property if the dynamics are colliding with
333 other notation.
334
335 @notation{Crescendi} and @notation{decrescendi} that cross a line
336 break will be continued on the second line.  If they end on the
337 first note of a new line, nothing will be printed on that line.
338 To change this behavior, use
339
340 @example
341 \override Score.Hairpin #'after-line-breaking = ##t
342 @end example
343
344 Text style dynamic changes (such as @notation{cresc.} and
345 @notation{dim.}) are printed with a dashed line showing their
346 extent.  To suppress printing this line, use
347
348 @example
349 \override DynamicTextSpanner #'dash-period = #-1.0
350 @end example
351
352
353 @seealso
354
355 @c TODO: Add hairpin to glossary.
356
357 Music Glossary: @rglos{crescendo}, @rglos{decrescendo}.
358
359 Learning Manual: @rlearning{Articulation and dynamics}.
360
361 Snippets: @lsrdir{Expressive,Expressive-marks}
362
363 Internals Reference: @internalsref{DynamicText},
364 @internalsref{Hairpin}.  Vertical positioning of these symbols is
365 handled by @internalsref{DynamicLineSpanner}.
366
367
368 @node New dynamic marks
369 @subsubsection New dynamic marks
370
371 It is possible to print new dynamic marks or text that should be
372 aligned with dynamics.  Use @code{make-dynamic-script} to create
373 these marks.  Note that the dynamic font only contains the
374 characters @code{f,m,p,r,s} and @code{z}.
375
376 Some situations (such as dynamic marks) have preset font-related
377 properties.  If you are creating text in such situations, it is
378 advisable to cancel those properties with @code{normal-text}.  See
379 @ref{Text markup commands}, for more details.
380
381 @cindex make-dynamic-script
382
383 @lilypond[quote,verbatim,ragged-right]
384 sfzp = #(make-dynamic-script "sfzp")
385 \relative c' {
386   c4 c c\sfzp c
387 }
388 @end lilypond
389
390 @cindex Dynamics, editorial
391 @cindex Dynamics, parenthesis
392
393 It is also possible to print dynamics in round parenthesis or
394 square brackets.  These are often used for adding editorial
395 dynamics.
396
397 @lilypond[quote,verbatim,ragged-right]
398 rndf = \markup{ \center-align {\line { \bold{\italic (}
399   \dynamic f \bold{\italic )} }} }
400 boxf = \markup{ \bracket { \dynamic f } }
401 { c'1_\rndf c'1_\boxf }
402 @end lilypond
403
404 @seealso
405
406 Snippets: @lsrdir{Expressive,Expressive-marks}
407
408
409 @node Curves
410 @subsection Curves
411
412 @menu
413 * Slurs::                       
414 * Phrasing slurs::              
415 * Breath marks::                
416 * Falls and doits::             
417 @end menu
418
419 @node Slurs
420 @subsubsection Slurs
421
422 @cindex slurs
423
424 A @notation{slur} indicates that notes are to be played bound or
425 @emph{legato}.  They are entered using parentheses:
426
427 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
428 f( g a) a8 b( a4 g2 f4)
429 <c e>2( <b d>2)
430 @end lilypond
431
432 Just as with ties, the direction of a slur can be specified with
433 @code{\slur@emph{DIR}}, where @code{@emph{DIR}} is either
434 @code{Up}, @code{Down}, or @code{Neutral} (@code{Neutral} is the
435 default).  Slurs may be manually placed above or below the staff,
436 see @ref{Controlling direction and placement}.
437
438 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
439 c4_( c) c^( c)
440 @end lilypond
441
442 Using this method, only one slur can be printed at once.  To print
443 a long slur over a few small slurs, see @ref{Phrasing slurs}.
444
445
446 @predefined
447
448 @funindex \slurUp
449 @code{\slurUp},
450 @funindex \slurDown
451 @code{\slurDown},
452 @funindex \slurNeutral
453 @code{\slurNeutral},
454 @funindex \slurDashed
455 @code{\slurDashed},
456 @funindex \slurDotted
457 @code{\slurDotted},
458 @funindex \slurSolid
459 @code{\slurSolid}.
460
461
462 @snippets
463
464 Some composers write two slurs when they want legato chords.  This
465 can be achieved in LilyPond by setting @code{doubleSlurs},
466
467 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
468 \set doubleSlurs = ##t
469 <c e>4 ( <d f> <c e> <d f> )
470 @end lilypond
471
472
473 @seealso
474
475 Music Glossary: @rglos{slur}
476
477 Snippets: @lsrdir{Expressive,Expressive-marks}
478
479 Internals Reference: @internalsref{Slur}.
480
481
482 @node Phrasing slurs
483 @subsubsection Phrasing slurs
484
485 @cindex phrasing slurs
486 @cindex phrasing marks
487 @funindex \(
488 @funindex \)
489
490 A phrasing slur (or phrasing mark) connects notes and is used to
491 indicate a musical sentence.  It is written using @code{\(} and
492 @code{\)} respectively:
493
494 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
495 \time 6/4 c'\( d( e) f( e) d\)
496 @end lilypond
497
498 Typographically, the phrasing slur behaves almost exactly like a
499 normal slur.  However, they are treated as different objects.  A
500 @code{\slurUp} will have no effect on a phrasing slur; instead,
501 use @code{\phrasingSlurUp}, @code{\phrasingSlurDown}, and
502 @code{\phrasingSlurNeutral}.  Phrasing slurs may be manually
503 placed above or below the staff, see @ref{Controlling direction
504 and placement}.
505
506 You cannot have simultaneous phrasing slurs.
507
508
509 @predefined
510
511 @funindex \phrasingSlurUp
512 @code{\phrasingSlurUp},
513 @funindex \phrasingSlurDown
514 @code{\phrasingSlurDown},
515 @funindex \phrasingSlurNeutral
516 @code{\phrasingSlurNeutral}.
517
518
519 @seealso
520
521 Snippets: @lsrdir{Expressive,Expressive-marks}
522
523 Internals Reference: @internalsref{PhrasingSlur}
524
525
526 @node Breath marks
527 @subsubsection Breath marks
528
529 @cindex breath marks
530 @funindex \breathe
531
532 Breath marks are entered using @code{\breathe}:
533
534 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
535 c'4 \breathe d4
536 @end lilypond
537
538
539 @snippets
540
541 The glyph of the breath mark can be tuned by overriding the
542 @code{text} property of the @code{BreathingSign} layout object
543 with any markup text.  For example,
544
545 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
546 c'4
547 \override BreathingSign #'text
548   = #(make-musicglyph-markup "scripts.rvarcomma")
549 \breathe
550 d4
551 @end lilypond
552
553
554 @seealso
555
556 Snippets: @lsrdir{Expressive,Expressive-marks}
557 @c @lsr{expressive,breathing-sign.ly}.
558
559 Internals Reference: @internalsref{BreathingSign}
560
561
562 @node Falls and doits
563 @subsubsection Falls and doits
564
565 @cindex falls
566 @cindex doits
567 @funindex \bendAfter
568
569 @notation{Falls} and @notation{doits} can be added to notes using
570 the @code{\bendAfter} command:
571
572 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
573 c2-\bendAfter #+4
574 c-\bendAfter #-4
575 c-\bendAfter #+8
576 c-\bendAfter #-8
577 @end lilypond
578
579 The dash (@tie{-}) following the note name is @emph{required} when
580 writing @notation{falls} and @notation{doits}.
581
582
583 @snippets
584
585 The @code{shortest-duration-space} property may have to be tweaked
586 to adjust the shape of @notation{falls} and @notation{doits}.
587
588 @c Fix this snippet. The tweak does not work. -pm
589
590 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
591 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
592 c4-\bendAfter #+5
593 c4-\bendAfter #-3
594 @end lilypond
595
596
597 @seealso
598
599 @c TODO: add falls and doits to glossary.
600 @c Music Glossary: @rglos{falls}, @rglos{doits}.
601
602 Snippets: @lsrdir{Expressive,Expressive-marks}
603
604
605 @node Lines
606 @subsection Lines
607
608 @menu
609 * Glissando::                   
610 * Arpeggio::                    
611 * Trills::                      
612 @end menu
613
614 @node Glissando
615 @subsubsection Glissando
616
617 @cindex glissando
618 @funindex \glissando
619
620 A @notation{glissando} is a smooth change in pitch.  It is denoted
621 by a line or a wavy line between two notes.  A
622 @notation{glissando} is created by attaching @code{\glissando} to
623 a note:
624
625 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
626 c2\glissando c'
627 \override Glissando #'style = #'zigzag
628 c2\glissando c,
629 @end lilypond
630
631
632 @snippets
633
634 @lilypond[verbatim,quote,ragged-right]
635 I = \once \override NoteColumn #'ignore-collision = ##t
636
637 \relative c' <<
638   { \oneVoice \stemDown f2 \glissando \stemNeutral a } \\
639   { \oneVoice \I c2 \glissando \I d, }
640 >>
641 @end lilypond
642
643
644 @seealso
645
646 Music Glossary: @rglos{glissando}
647
648 Snippets: @lsrdir{Expressive,Expressive-marks}
649
650 @c FIXME: I need to figure out what's up with these.  -gp
651 @c @lsr{expressive,glissando.ly},
652 @c @lsr{expressive,line-styles.ly}
653
654 Internals Reference: @internalsref{Glissando}
655
656
657 @knownissues
658
659 Printing text over the line (such as @emph{gliss.}) is not
660 supported.
661
662
663 @node Arpeggio
664 @subsubsection Arpeggio
665
666 @cindex arpeggio
667 @cindex broken chord
668
669 You can specify an @notation{arpeggio} (also known as a
670 @notation{broken chord}) on a chord by attaching an
671 @code{\arpeggio} to the chord:
672
673 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
674 <c e g c>\arpeggio
675 @end lilypond
676
677 A square bracket on the left, denoted by @code{\arpeggioBracket},
678 is used to indicate that the chord should @emph{not} be
679 arpeggiated:
680
681 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
682 \arpeggioBracket
683 <c e g c>\arpeggio
684 @end lilypond
685
686 The direction of the arpeggio can be denoted by adding an
687 arrowhead to the wiggly line.  This is done with the commands
688 @code{arpeggioUp} and @code{arpeggioDown}.  @code{arpeggioNeutral}
689 reverts to the arrow-less version:
690
691 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
692 \new Voice {
693   \arpeggioUp
694   <c e g c>\arpeggio
695   \arpeggioDown
696   <c e g c>\arpeggio
697   \arpeggioNeutral
698   <c e g c>\arpeggio
699 }
700 @end lilypond
701
702
703 @predefined
704
705 @funindex \arpeggio
706 @code{\arpeggio},
707 @funindex \arpeggioUp
708 @code{\arpeggioUp},
709 @funindex \arpeggioDown
710 @code{\arpeggioDown},
711 @funindex \arpeggioNeutral
712 @code{\arpeggioNeutral},
713 @funindex \arpeggioBracket
714 @code{\arpeggioBracket}.
715
716
717 @snippets
718
719 In a @code{PianoStaff}, it is possible to let an arpeggio cross
720 between the staves by setting the property
721 @code{PianoStaff}.@code{connectArpeggios}.
722
723 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
724 \new PianoStaff <<
725   \set PianoStaff.connectArpeggios = ##t
726   \new Staff { <c' e g c>\arpeggio }
727   \new Staff { \clef bass <c,, e g>\arpeggio }
728 >>
729 @end lilypond
730
731 The same can be accomplished in contexts other than
732 @code{PianoStaff} if the @code{Span_arpeggio_engraver} is included
733 in the Score context.
734
735 @lilypond[verbatim,quote,ragged-right]
736 \score {
737   \new StaffGroup {
738     \set Score.connectArpeggios = ##t
739     <<
740       \new Voice \relative c' {
741         <e g>4\arpeggio
742       }
743       \new Voice  \relative c {
744         \clef bass
745         <c e>4\arpeggio
746       }
747     >>
748   }
749   \layout {
750     \context {
751       \Score
752       \consists "Span_arpeggio_engraver"
753     }
754   }
755 }
756 @end lilypond
757
758 Similarly, an arpeggio can be drawn across notes in different
759 voices on the same staff if the @code{Span_arpeggio_engraver} is
760 moved to the Staff context:
761
762 @lilypond[verbatim,quote,ragged-right]
763 \new Staff
764 \with {
765   \consists "Span_arpeggio_engraver"
766 } \relative c' {
767   \set Staff.connectArpeggios = ##t
768     <<
769     {<e' g>4\arpeggio <d f> <d f>2 }
770   \\
771   {<d, f>2\arpeggio  <g b>2  }
772   >>
773 }
774 @end lilypond
775
776
777 @seealso
778
779 @c TODO: Add 'broken chord' to glossary.
780
781 Music Glossary: @rglos{arpeggio}
782
783 Notation Reference: @ref{Ties}, for writing out arpeggios.
784
785 Snippets: @lsrdir{Expressive,Expressive-marks}
786
787 Internals Reference: @internalsref{Arpeggio},
788 @internalsref{PianoStaff}.
789
790
791 @knownissues
792
793 It is not possible to mix connected arpeggios and unconnected
794 arpeggios in one @code{PianoStaff} at the same point in
795 time.
796
797
798 @node Trills
799 @subsubsection Trills
800
801 @cindex trills
802 @funindex \trill
803
804 Short @notation{trills} are printed with @code{\trill} like normal
805 articulation; see @ref{Articulations and ornamentations}.
806
807 Long running @notation{trills} are made with
808 @code{\startTrillSpan} and @code{\stopTrillSpan}.  In the
809 following example, a long running @notation{trill} is shown
810 combined with grace notes.  To achieve precise control of the
811 placement of the grace notes, see @ref{Grace notes}.
812
813 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
814 c1 \afterGrace
815 d1\startTrillSpan { c16[\stopTrillSpan d] }
816 c4
817 @end lilypond
818
819 @cindex pitched trills
820
821 @notation{Trills} that should be executed on an explicitly
822 specified pitch can be typeset with the command
823 @code{\pitchedTrill} using the following syntax:
824
825 @example
826 @code{\pitchedTrill} @var{mainnote} @code{\startTrillSpan}
827 @var{trillnote} @var{endnote} @code{\stopTrillSpan}
828 @end example
829
830 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
831 \pitchedTrill e2 \startTrillSpan fis
832 d\stopTrillSpan
833 @end lilypond
834
835 @noindent
836 The first argument is the main note.  The pitch of the second is
837 printed as a stemless note head in parentheses.
838
839
840 @predefined
841
842 @code{\startTrillSpan},
843 @funindex \startTrillSpan
844 @code{\stopTrillSpan}.
845 @funindex \stopTrillSpan
846
847
848 @seealso
849
850 Music Glossary: @rglos{trill}
851
852 Snippets: @lsrdir{Expressive,Expressive-marks}
853
854 Internals Reference: @internalsref{TrillSpanner}