Adding double and triple tonguing indications for woodwind: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 26: | Line 26: | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Workaround]][[Category:Snippet]] | [[Category:Workaround]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:12, 21 November 2025
Double and triple tonguing indications can be added to notes by tweaking the appearance of staccato articulations.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=772
tongue =
#(define-music-function (dots) (integer?)
#{
\tweak stencil
#(lambda (grob)
(let ((stil (ly:script-interface::print grob)))
(let loop ((count (1- dots)) (new-stil stil))
(if (> count 0)
(loop (1- count)
(ly:stencil-combine-at-edge new-stil X RIGHT stil 0.2))
(ly:stencil-aligned-to new-stil X CENTER)))))
\staccato
#})
\relative c' {
\tuplet 3/2 { \repeat tremolo 3 c8-\tongue #3 }
}