Re: Problem with Lilypond functions

2010-07-30 Thread Mike Solomon
Hey Jim, I think this does what you want... \version "2.13.29" createKey = #(define-music-function (parser location m k) (ly:music? list?) (let* ((p (ly:music-property (car (ly:music-property m 'elements))

Problem with Lilypond functions

2010-07-29 Thread jim.showalter
I have searched the archives and cannot find why the following is happening. They are contrived to demonstrate a larger problem. This one works as expected majorKey = #(define-music-function (parser location note ) (ly:music?) #{ a $note g #}) { \majorKey g } But what I really want to