Re: modaltranspose & scheme function

2020-03-19 Thread Gianmaria Lari
(iota 8) produces (0 1 2 3 4 5 6 7). > (iota 8 0 -1) would produce (0 -1 -2 -3 -4 -5 -6 -7). > oh, great! Thanks Aaron! g.

Re: modaltranspose & scheme function

2020-03-19 Thread Aaron Hill
On 2020-03-19 4:20 am, Gianmaria Lari wrote: multiModal = #(define-music-function (scale patternRhytmic patternMelodic) (ly:music? ly:music? ly:music?) #{ #@(map(lambda (p) #{ \changePitch $patternRhytmic \modalTranspose c #(ly:make-pitch -1 p) $scale $patternMelodic #})

modaltranspose & scheme function

2020-03-19 Thread Gianmaria Lari
Long time ago with the help of the people in this forum I have been able to write (to collect) this simple code \version "2.19.82" \include "changePitch.ly" multiModal = #(define-music-function (scale patternRhytmic patternMelodic) (ly:music? ly:music? ly:music?) #{ #@(map(lambda (p)