On 10 March 2018 at 02:59, Andrew Bernard <[email protected]> wrote:
> Hi Gianamari,
>
> Add a numerical parameter.
>
>
> \version "2.19.81"
> multiModal = #(define-music-function (scale patternMelodic num)
> (ly:music? ly:music? number?)
> #{
> #@(map(lambda (p)
> #{ \modalTranspose c #(ly:make-pitch -1 p) $scale
> $patternMelodic #})
> (iota num))
> #})
>
> scale = {c d e f g a b}
>
> \score {
> \multiModal \scale {c' d' c' r} 5
> \layout {}
> }
>
> Andrew
>
Ahhh!!!! I did the same but with $num .....
Thank you Andrew!
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user