-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
-
Sets the predefined Sims notation style for 72-EDO, selects the English note names, and draws the accidentals with the Bravura font.
ekmFont = "Bravura" \include "ekmel.ily" \language "english" \ekmStyle sims
-
Sets the predefined Stein/Zimmermann notation style (
stz) for quarter-tones (24-EDO) and modifies it into a custom notation style with the Sagittal flat 11 medium diesis down symbol (U+E327) for three-quarter-tones flat, and two sharp symbols (U+E262) for double-sharp.\include "ekmel-24.ily" \ekmStyle stz \ekmUserStyle myNotation #'( (-3/4 #xE327) (1 #xE262 #xE262))
-
This is the same example as above but it makes use of the corresponding Scheme symbols.
\include "ekmel-24.ily" \ekmStyle stz \ekmUserStyle myNotation #`( (,THREE-Q-FLAT #xE327) (,DOUBLE-SHARP #xE262 #xE262))
-
Sets the HEWM (Helmholtz/Ellis/Wolf/Monzo) notation for 72-EDO and selects the English note names. Note that double-flat is defined with
#\b #\bwhich is drawn with a padding contrary to"bb".\include "ekmel.ily" \language "english" \ekmUserStyle hewm #'( (1 #\x) (-1 #\b #\b) (1/2 #\#) (-1/2 #\b) (1/4 #\^) (-1/4 #\v) (1/6 #\>) (-1/6 #\<) (1/12 #\+) (-1/12 #\-))
-
Sets the notation after Karlheinz Stockhausen for 24-EDO with the fractional sharp symbols (U+ED58, U+ED5A), and the quarter-tone flat symbol (U+ED59).
\include "ekmel-24.ily" \ekmStyle stz \ekmUserStyle stockhausen #'( (1/4 #xED58) (-1/4 #xED59) (3/4 #xED5A) (-3/4 #xED59 #xE260))
-
Sets a variant of the Hesse notation style for 72-EDO using SMuFL characters: Gould arrows (U+E27A, U+E27B), Sims half arrows (U+E2A4, U+E2A1), and Bosanquet commatic symbols (U+E479, U+E47A). It is very similar to the Arrow notation style.
\include "ekmel.ily" \ekmUserStyle smuflHesse #'( (1/4 #xE27A) (-1/4 #xE27B) (1/6 #xE2A4) (-1/6 #xE2A1) (1/12 #xE479) (-1/12 #xE47A))
-
Sets the Standard sharp/flat symbols, single thru quintuple, like the predefined Diatonic notation style (
dia) but for quarter-tones (24-EDO). The quadruple symbols (U+F61C, U+F61D) are private supplements of Ekmelos. Note that here, the order of alterations is significant since the standard accidentals in the default notation style (stc) are rearranged.\include "ekmel-24.ily" \ekmUserStyle diaQuarter #'( (1 #xF61C) (-1 #xF61D) (3/4 #xE265) (-3/4 #xE266) (1/2 #xE263) (-1/2 #xE264) (1/4 #xE262) (-1/4 #xE260) (5/4 #xF61C #xE262) (-5/4 #xF61D #xE260))
-
Sets single glyphs from LilyPond's Emmentaler font for 48-EDO, as well as parentheses for cautionary accidentals. ±9/8 and ±5/4 are omitted here since they are set automatically to combinations of ±1 with ±1/8 and ±1/4.
\include "ekmel-48.ily" \ekmUserStyle lilysingle #`( (0 ,(markup #:natural)) (1/8 ,(markup #:musicglyph "accidentals.natural.arrowup")) (-1/8 ,(markup #:musicglyph "accidentals.natural.arrowdown")) (1/4 ,(markup #:semisharp)) (-1/4 ,(markup #:semiflat)) (3/8 ,(markup #:musicglyph "accidentals.sharp.arrowdown")) (-3/8 ,(markup #:musicglyph "accidentals.flat.arrowup")) (1/2 ,(markup #:sharp)) (-1/2 ,(markup #:flat)) (5/8 ,(markup #:musicglyph "accidentals.sharp.arrowup")) (-5/8 ,(markup #:musicglyph "accidentals.flat.arrowdown")) (3/4 ,(markup #:sesquisharp)) (-3/4 ,(markup #:sesquiflat)) (7/8 ,(markup #:musicglyph "accidentals.sharp.slashslashslash.stemstem")) (-7/8 ,(markup #:musicglyph "accidentals.flatflat.slash")) (1 ,(markup #:doublesharp)) (-1 ,(markup #:doubleflat)) (leftparen ,(markup #:musicglyph "accidentals.leftparen")) (rightparen ,(markup #:musicglyph "accidentals.rightparen")))
-
Sets alteration values instead of accidental symbols with the
defaultaccidental in thevoidnotation style. The values are drawn with the command\ekmelic-fractionand with a 3 steps smaller font size. It is similar to thealterationnotation style.#(define-markup-command (numeric-accidental layout props) () (let ((alt (ly:chain-assoc-get 'alteration props 0))) (interpret-markup layout (cons '((font-size . -3)) props) (markup #:vcenter #:ekmelic-fraction alt)))) \ekmStyle void \ekmUserStyle numeric #`( (default ,(markup #:numeric-accidental)))
See also user-styles.ly.