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