On Wed, May 27, 2015 at 4:15 AM, Peter Gentry <peter.gen...@sunscales.co.uk>
wrote:

[...]


> (make-music
>   'SequentialMusic
>   'elements
>   (list (make-music
>           'NoteEvent
>           'duration
>           (ly:make-duration 0)
>           'pitch
>           (ly:make-pitch 0 0))
>         (make-music
>           'NoteEvent
>           'tweaks
>           (list (list (quote color) 1.0 0.0 0.0))
>

[...]


>
> Still not sure how to interpret (list (list....... But as long as Lily
> does.....:)
>
>
We're simply creating a nested list:

(list (quote color) 1.0 0.0 0.0)
==>
(color 1.0 0.0 0.0)

(list (list (quote color) 1.0 0.0 0.0))
==>
((color 1.0 0.0 0.0))

By the way, (quote color) is just "longhand" for 'color

Hope that helps,
David
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to