why we get the solution?
>
> Scott
>
>
> -Original Message-
> From: Michael Ellis [mailto:michael.f.el...@gmail.com]
> Sent: Saturday, January 29, 2011 07:01 PM
> To: banners...@ccacompanies.com
> Cc: lilypond-user@gnu.org
> Subject: Re: Nesting ly:music-property er
ssage-
From: Michael Ellis [mailto:michael.f.el...@gmail.com]
Sent: Saturday, January 29, 2011 07:01 PM
To: banners...@ccacompanies.com
Cc: lilypond-user@gnu.org
Subject: Re: Nesting ly:music-property error
Sorry, my previous answer was rubbish. The following runs withouterror and
prints the
Sorry, my previous answer was rubbish. The following runs without
error and prints the pitch object.
myN = #(define-music-function (parser location myx ) (ly:music?)
(display-scheme-music
(ly:music-property
(car (ly:music-property myx 'elements))
'pitch))
myx)
\my
Hi Scott,
I think the problem is that the music in your example doesn't have an
'elements property. You can eliminate the error by changing the third
line in your code to
#(display-scheme-music (ly:music-property $myx 'pitch))
but what gets displayed is an empty list '(). Probably not what you
Evening all.
I've been working on some scheme functions currently working on displaying
theactual scheme coding while referring primarily to 6.3.2 Music Properties
The following is working
___
myN = #(define-music-function (parser location my