peili kohteelle
https://github.com/kastdeur/lilydrum.git
synkronoitu 2025-10-31 02:06:34 +01:00
Tutti autotagging with #'tutti
Close !14 Tutti is automatically tagged with #'tutti, so it can be removed using ```removeWithTag #'tutti```
This commit is contained in:
vanhempi
9e5f02b828
kommitti
2f474e8b9b
1 muutettua tiedostoa joissa 13 lisäystä ja 5 poistoa
|
|
@ -101,9 +101,17 @@ ofr = #(define-event-function (parser location) () #{ \stopGroup #})
|
||||||
% TODO: check whether on one note
|
% TODO: check whether on one note
|
||||||
tutti = #(define-music-function (music) (ly:music?)
|
tutti = #(define-music-function (music) (ly:music?)
|
||||||
#{
|
#{
|
||||||
\once \override HorizontalBracket.connect-to-neighbor = #'(#t #t)
|
<<
|
||||||
<>\startGroup
|
\tag #'tutti {
|
||||||
#(allbutlastnote music)
|
\override HorizontalBracket.connect-to-neighbor = #'(#t #t)
|
||||||
<>\stopGroup
|
<>\startGroup
|
||||||
#(lastnote music)
|
#(skip-of-length (allbutlastnote music))
|
||||||
|
<>\stopGroup
|
||||||
|
#(skip-of-length (lastnote music))
|
||||||
|
\revert HorizontalBracket.connect-to-neighbor
|
||||||
|
}
|
||||||
|
{
|
||||||
|
#music
|
||||||
|
}
|
||||||
|
>>
|
||||||
#})
|
#})
|
||||||
|
|
|
||||||
Ladataan…
Lisää taulukko
Lisää linkki
Viittaa uudessa ongelmassa