lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Music function for arrow directions in arpeggios


From: Kieren MacMillan
Subject: Re: Music function for arrow directions in arpeggios
Date: Tue, 23 Feb 2016 10:02:40 -0500

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: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]