Is there a lilypond function that would allow me to extract a subset from a
pattern?

For instance, let's say I have a simple A - natural scale and I want to get
the first five notes. Is there a function, call it \pick, that would allow
me to do something like:

\scale = { a b c d e f g}
\pick 0 4 \scale

and return {a b c d e} ?

Could not find anything in the manuals, but I may be lacking the right
terms to search for.


-- 
__________________________________________________
Stefano Franchi

stefano.fran...@gmail.com <stef...@tamu.edu>
*https://www.researchgate.net/profile/Stefano_Franchi*
<https://www.researchgate.net/profile/Stefano_Franchi>

Reply via email to