| [ << Tabelle del manuale della notazione ] | [Inizio][Contenuti][Indice] | [ Schema riassuntivo >> ] |
| [ < Graphic ] | [ Su : Comandi per markup ] | [ Conditionals > ] |
A.12.4 Music
-
\accidentalalteration (an exact rational number) -
Select an accidental glyph from an alteration, given as rational number.
\markup \accidental #1/2
Used properties:
-
alteration-glyph-name-alist
-
-
\coda -
Draw a coda sign.
\markup { \coda }
-
\compound-metertime-sig (number or pair) -
Draw a numeric time signature.
\markup { \column { \line { Single number: \compound-meter #3 } \line { Conventional: \compound-meter #'(4 . 4) or \compound-meter #'(4 4) } \line { Compound: \compound-meter #'(2 3 8) } \line { Single-number compound: \compound-meter #'((2) (3)) } \line { Complex compound: \compound-meter #'((2 3 8) (3 4)) } } }
-
\customTabClefnum-strings (integer) staff-space (number) -
Draw a tab clef sans-serif style.
-
\doubleflat -
Draw a double flat symbol.
\markup { \doubleflat }
-
\doublesharp -
Draw a double sharp symbol.
\markup { \doublesharp }
-
\fermata -
Create a fermata glyph. When direction is
DOWN, use an inverted glyph. Note that within music, one would usually use the\fermataarticulation instead of a markup.{ c''1^\markup \fermata d''1_\markup \fermata } \markup { \fermata \override #`(direction . ,DOWN) \fermata }
Used properties:
-
direction(1)
-
-
\flat -
Draw a flat symbol.
\markup { \flat }
-
\multi-measure-rest-by-numberduration-scale (non-negative, exact integer) -
Returns a multi-measure rest symbol.
If the number of measures is greater than the number given by
expand-limita horizontal line is printed. For every multi-measure rest lasting more than one measure a number is printed on top.\markup { Multi-measure rests may look like \multi-measure-rest-by-number #12 or \multi-measure-rest-by-number #7 (church rests) }
Used properties:
-
multi-measure-rest-number(#t) -
width(8) -
expand-limit(10) -
hair-thickness(2.0) -
thick-thickness(6.6) -
word-space -
style(()) -
font-size(0)
-
-
\musicglyphglyph-name (string) -
glyph-name is converted to a musical symbol; for example,
\musicglyph #"accidentals.natural"selects the natural sign from the music font. See The Emmentaler font for a complete listing of the possible glyphs.\markup { \musicglyph #"f" \musicglyph #"rests.2" \musicglyph #"clefs.G_change" }
-
\natural -
Draw a natural symbol.
\markup { \natural }
-
\noteduration (duration) dir (number) -
This produces a note with a stem pointing in dir direction, with the duration for the note head type and augmentation dots. For example,
\note {4.} #-0.75creates a dotted quarter note, with a shortened down stem.\markup { \override #'(style . cross) \note {4..} #UP \hspace #2 \note {\breve} #0 }
Used properties:
-
style(()) -
dots-direction(0) -
flag-style(()) -
font-size(0)
-
-
\note-by-numberlog (number) dot-count (number) dir (number) -
Construct a note symbol, with stem and flag. By using fractional values for dir, longer or shorter stems can be obtained. Supports all note-head-styles. Ancient note-head-styles will get mensural-style-flags.
flag-stylemay be overridden independently. Supported flag-styles aredefault,old-straight-flag,modern-straight-flag,flat-flag,mensuralandneomensural. The latter two flag-styles will both result in mensural-flags. Both are supplied for convenience.\markup { \note-by-number #3 #0 #DOWN \hspace #2 \note-by-number #1 #2 #0.8 }
Used properties:
-
style(()) -
dots-direction(0) -
flag-style(()) -
font-size(0)
-
-
\restduration (duration) -
Returns a rest symbol.
If
multi-measure-restis set to true, a multi-measure rest symbol my be returned. In this case the duration needs to be entered as{ 1*2 }to get a multi-measure rest for two bars. Actually, it’s only the scaling factor that determines the length, the basic duration is disregarded.\markup { Rests: \hspace #2 \rest { 4.. } \hspace #2 \rest { \breve } \hspace #2 Multi-measure rests: \override #'(multi-measure-rest . #t) { \hspace #2 \override #'(multi-measure-rest-number . #f) \rest { 1*7 } \hspace #2 \rest { 1*12 } } }
Used properties:
-
multi-measure-rest-number(#t) -
width(8) -
expand-limit(10) -
hair-thickness(2.0) -
thick-thickness(6.6) -
word-space -
style(()) -
font-size(0) -
style(()) -
ledgers((-1 0 1)) -
font-size(0)
-
-
\rest-by-numberlog (integer) dot-count (integer) -
A rest symbol.
For duration logs specified with property
ledgers, rest symbols with ledger lines are selected.\markup { \rest-by-number #3 #2 \hspace #2 \rest-by-number #0 #1 }
Used properties:
-
style(()) -
ledgers((-1 0 1)) -
font-size(0)
-
-
\rhythmmusic (music) -
An embedded rhythmic pattern.
\relative { \tempo \markup { Swing \hspace #0.4 \rhythm { 8[ 8] } = \rhythm { \tuplet 3/2 { 4 8 } } } b8 g' c, d ees d16 ees d c r8 }
Within
\rhythm, there is no time signature and no division in measures (as with\cadenzaOn, see Musica in tempo libero). Beaming must be added explicitly with the syntax explained in Travature manuali.\markup { The rhythmic pattern \rhythm { 16[ 8 16] } is a type of syncopation. }
\stemDowncan be used to flip the stems.\markup \rhythm { \stemDown 8 16 8 }
\rhythmworks by creating aStandaloneRhythmVoicecontext. The parents of this context areStandaloneRhythmStaffandStandaloneRhythmScore. It is possible to apply global tweaks to the output by using a\layoutblock.\layout { \context { \StandaloneRhythmVoice \xNotesOn } } \markup \rhythm { 8 16 8 }
Nota:
rhythmdoes not work when its argument is a single duration, e.g.,rhythm { 8 }. Use extra braces:rhythm { { 8 } }.Used properties:
-
font-size(-2)
-
-
\scorescore (score) -
Inline an image of music. The reference point (usually the middle staff line) of the lowest staff in the top system is placed on the baseline.
\markup { \score { \new PianoStaff << \new Staff \relative c' { \key f \major \time 3/4 \mark \markup { Allegro } f2\p( a4) c2( a4) bes2( g'4) f8( e) e4 r } \new Staff \relative c { \clef bass \key f \major \time 3/4 f8( a c a c a f c' es c es c) f,( bes d bes d bes) f( g bes g bes g) } >> \layout { indent = 0.0\cm \context { \Score \override RehearsalMark.break-align-symbols = #'(time-signature key-signature) \override RehearsalMark.self-alignment-X = #LEFT } \context { \Staff \override TimeSignature .break-align-anchor-alignment = #LEFT } } } }
Used properties:
-
baseline-skip
-
-
\segno -
Draw a segno symbol.
\markup { \segno }
-
\semiflat -
Draw a semiflat symbol.
\markup { \semiflat }
-
\semisharp -
Draw a semisharp symbol.
\markup { \semisharp }
-
\sesquiflat -
Draw a 3/2 flat symbol.
\markup { \sesquiflat }
-
\sesquisharp -
Draw a 3/2 sharp symbol.
\markup { \sesquisharp }
-
\sharp -
Draw a sharp symbol.
\markup { \sharp }
-
\tied-lyricstr (string) -
Like simple-markup, but use tie characters for ‘~’ tilde symbols.
\markup \column { \tied-lyric #"Siam navi~all'onde~algenti Lasciate~in abbandono" \tied-lyric #"Impetuosi venti I nostri~affetti sono" \tied-lyric #"Ogni diletto~e scoglio Tutta la vita~e~un mar." }
Used properties:
-
word-space
-
-
\varcoda -
Draw a varcoda sign.
\markup { \varcoda }
| [ << Tabelle del manuale della notazione ] | [Inizio][Contenuti][Indice] | [ Schema riassuntivo >> ] |
| [ < Graphic ] | [ Su : Comandi per markup ] | [ Conditionals > ] |
![[image of music]](../61/lily-b8a9f7c0.png)
![[image of music]](../93/lily-2c9b7b80.png)
![[image of music]](../8b/lily-f1fa9412.png)
![[image of music]](../58/lily-5e0ba4c2.png)
![[image of music]](../d3/lily-04150c9d.png)
![[image of music]](../d2/lily-b002d4aa.png)
![[image of music]](../48/lily-c7c32ec7.png)
![[image of music]](../95/lily-44811ac3.png)
![[image of music]](../87/lily-e4348127.png)
![[image of music]](../28/lily-1cf440ce.png)
![[image of music]](../1c/lily-87aa9f31.png)
![[image of music]](../48/lily-a653e27b.png)
![[image of music]](../94/lily-0e735670.png)
![[image of music]](../02/lily-024a8a4d.png)
![[image of music]](../b1/lily-8f7d1f4f.png)
![[image of music]](../b7/lily-3aaf7fd3.png)
![[image of music]](../57/lily-e38ca887.png)
![[image of music]](../19/lily-0fb8db03.png)
![[image of music]](../4c/lily-92324771.png)
![[image of music]](../08/lily-3b5c36c2.png)
![[image of music]](../49/lily-f23bbdb7.png)
![[image of music]](../93/lily-83bf7dcc.png)
![[image of music]](../21/lily-6794e4fa.png)
![[image of music]](../1d/lily-9499c80c.png)
![[image of music]](../d8/lily-14cf5e2d.png)
![[image of music]](../c2/lily-e3c84e0a.png)
![[image of music]](../a1/lily-180fd6c7.png)