Re: How to generate notes in a scale

2008-04-21 Thread Peter Chubb
Mats == Mats Bengtsson [EMAIL PROTECTED] writes: Mats Isn't it possible to obtain the same result in a simpler way by Mats just transposing a hard coded template in C major into the Mats current key? You'ld need a different template for each degree of each kind of scale, I think. And for

Re: How to generate notes in a scale

2008-04-20 Thread Peter Chubb
OK, here's how I did it in the end. Is there a better way??? #(define ac:current-key (make-music 'KeyChangeEvent 'tonic (ly:make-pitch -1 0 0) 'pitch-alist (list (cons 0 0) (cons 1 0) (cons 2 0)