Circled numbers for live electronics: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
m New category |
||
| (One intermediate revision by the same user not shown) | |||
| Line 40: | Line 40: | ||
[[Category:Symbols and glyphs]] | [[Category:Symbols and glyphs]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:11, 21 November 2025
When dealing with live electronics notation, it's common to use circled numbers (with or without a description of the electronic effect) at the cue places. This type of notation is particularly common in pieces in which the instrumentalist uses a MIDI footpedal to activate events, though might be used in a wider context.
\version "2.24"
LEtext = #(define-event-function
(N vlength description)
(number? number? string?)
#{
-\markup {
\hspace #-1.2
\center-column {
\raise #1
\combine
\arrow-head #Y #UP ##t
\draw-line #(cons 0 (- vlength))
\combine
\halign #0 \circle \transparent "888"
\halign #0 #(number->string N)
}
\raise #(+ -2 (- vlength)) $description
}
#})
LE = #(define-event-function (N vlength)(number? number?)
#{ \LEtext $N $vlength "" #})
{
\textLengthOn
c'1\LE #1 #3
g1\LE #2 #1.5
c''1\LE #37 #4.4
f'1\LE #123 #2
c'1\LEtext #3 #8 "harmonizer"
f1\LEtext #20 #6 "frozen reverb"
c'1\LEtext #300 #3 "EQ -3.7 A +1.2"
}