Is there a built-in lilypond function that would take a list of notes and a duration and apply the latter to each member of the former? Say you have a common triad
triad = { c e g } and you would like to apply durations, e.g. 4 and 8, to produce patterns like {c4 e g}, {c8 e g}, etc. Something like \changeDuration 4 \triad ==> {c4 e g} \changeDuration 8 \triad ==> {c8 e g} There is a lilypond scaleDuration function but it does not change the appearance of the notes, only their value in internal computations and midi production. If such a function must be written, I would appreciate pointers on how to proceed, as I have not written a line of lisp in decades. Cheers, S. -- __________________________________________________ Stefano Franchi stefano.fran...@gmail.com <stef...@tamu.edu> *https://www.researchgate.net/profile/Stefano_Franchi* <https://www.researchgate.net/profile/Stefano_Franchi>