lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notehead color on programmed pitch change


From: David Nalesnik
Subject: Re: Notehead color on programmed pitch change
Date: Wed, 27 May 2015 11:51:04 -0500



On Wed, May 27, 2015 at 4:15 AM, Peter Gentry <address@hidden> 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 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]