Hi Caio,
> I'm trying to write a function
Well, if you *really* want a music function, I’ll let others answer.
But to solve your particular issue, I’d do the following:
%%%% SNIPPET BEGINS
\version "2.19.36"
arp = -\arpeggio
arpU = \tweak arpeggio-direction #UP -\arpeggio
arpD = \tweak arpeggio-direction #DOWN -\arpeggio
\relative c' {
<c c' e>1\arpU
<c c' e>1\arpD
<c c' e>1\arp
}
%%%% SNIPPET ENDS
Hope that helps!
Kieren.
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [email protected]
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user