lilypond-user
[Top][All Lists]
Advanced

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

Re: adding stems to clusters


From: David Nalesnik
Subject: Re: adding stems to clusters
Date: Mon, 29 Dec 2014 19:11:20 -0600



On Mon, Dec 29, 2014 at 6:43 PM, David Nalesnik <address@hidden> wrote:
Hi again,

On Mon, Dec 29, 2014 at 6:06 PM, David Nalesnik <address@hidden> wrote:
Hi Jaime,

I'll look into lengthening it to reach the stem.


Not at all easy, I'm afraid.  Are you looking for the cluster-band sort of notation, or would individual clusters per stem suffice (like Cowell, for example)?  Possibly the latter would be easier to implement.

Here's a simple test.  (A rounded box might be preferable.)

 \version "2.19.15"

{
  \hide NoteHead
  \override NoteColumn.stencil =
  #(lambda (grob)
     (let* ((noteheads (ly:grob-object grob 'note-heads))
            (ext-X (ly:relative-group-extent noteheads grob X))
            (ext-Y (ly:relative-group-extent noteheads grob Y)))
     (make-filled-box-stencil ext-X ext-Y)))
  <c'' e''>4. q8~ 4 <c' a'>16 q q q~ q4
}

[See attached image.]

Hope this is helpful--

David

Attachment: clusters.png
Description: PNG image


reply via email to

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