Hi Gianmaria, you could start like this:
% ---------------------------------------------------------- \version "2.18.2" pat = #(define-music-function (parser location note) (ly:pitch?) #{ \transpose c $note % define the pattern here: { c,,16 c'' c c } #}) { \pat g \pat a \pat b \pat c % etc. } % ---------------------------------------------------------- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/g-g-g-g-tp177750p177766.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user