[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating Chorded Notes
From: |
Trevor Daniels |
Subject: |
Re: Creating Chorded Notes |
Date: |
Sat, 12 Jul 2008 16:59:36 +0100 |
Eric
The key to discovering how to do this is \displayMusic. Compile
\displayMusic { <a c >2 }
in LilyPond and the Scheme equivalent is shown in the console log.
In this case it is:
(make-music
'SequentialMusic
'elements
(list (make-music
'EventChord
'elements
(list (make-music
'NoteEvent
'duration
(ly:make-duration 1 0 1 1)
'pitch
(ly:make-pitch -1 5 0))
(make-music
'NoteEvent
'duration
(ly:make-duration 1 0 1 1)
'pitch
(ly:make-pitch -1 0 0))))))
Trevor
----- Original Message -----
From: "Eric Knapp" <address@hidden>
To: "List lilypond-user" <address@hidden>
Sent: Saturday, July 12, 2008 3:36 PM
Subject: Creating Chorded Notes
Hi, all.
I'm trying to write a music function that creates chorded notes. I'm
starting simply and I'm stumped. How would I create this simple music
expression in a function?
<a c>2
Is there a grob for these? What I'm working on is being able to
customize the individual NoteHead and Stem grobs for each note.
Thanks,
-Eric
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user