[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Music function for arrow directions in arpeggios
From: |
Caio Giovaneti de Barros |
Subject: |
Music function for arrow directions in arpeggios |
Date: |
Tue, 23 Feb 2016 11:52:48 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
I'm trying to write a function to make easier for me to change arrow
directions in arpeggios. When writing music for guitar is very annoying
to be constantly changing the arrow directions. Consider, for instance:
\relative c' {
\arpeggioArrowDown
<c c' e>8.\arpeggio
\arpeggioArrowUp
q16\arpeggio
\arpeggioArrowDown
q8.\arpeggio
\arpeggioArrowUp
q16\arpeggio
\arpeggioArrowDown
q4\arpeggio
}
I tried the following code, but lilypond doesn't understand it. Any
suggestions?
arpeggioUp = #(define-music-function (chord) (ly:music?)
#{
\arpeggioArrowUp
#chord \arpeggio
#})
\relative c' { \arpeggioUp { <c c' e> } }
- Music function for arrow directions in arpeggios,
Caio Giovaneti de Barros <=
- Re: Music function for arrow directions in arpeggios, Kieren MacMillan, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Malte Meyn, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Abraham Lee, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Caio Giovaneti de Barros, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Noeck, 2016/02/23
- Re: Music function for arrow directions in arpeggios, tisimst, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Dan Eble, 2016/02/23
- Re: Music function for arrow directions in arpeggios, Noeck, 2016/02/24
- Re: Music function for arrow directions in arpeggios, Simon Albrecht, 2016/02/24
- Re: Music function for arrow directions in arpeggios, David Kastrup, 2016/02/25