lilypond-user
[Top][All Lists]
Advanced

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

Re: square note heads for cluster


From: andersvi
Subject: Re: square note heads for cluster
Date: Tue, 14 Oct 2008 12:28:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "M" == Mark Polesky <address@hidden> writes:

    M> I'm finding myself able to make the clusters look however I want
    M> them to look, but I want one all-encompassing function to apply
    M> arbitrary cluster-styles on the fly.

    M> It's not necessarily difficult, but I want to support a wide
    M> variety of cluster-styles, which will take me some time.

    M> In the end, I'd have my function generate embedded-ps paths and
    M> fill in the missing notes dynamically, but for the moment I'm
    M> applying my cluster-styles manually (see below).

Thanks.

I guess an approach could be to set up a music-function which takes as
input a chord and adds a markup to it:

 - finds the positions of the top and lower notehead

 - draws or fills (depending on duration) a box with some note-head-size
   width (or thinner if note-heads are to be included) and y0 and y1 =
   extent of chord.  Preferably doing some graphical tweaks such as
   thicker lines on top/bottom than sides etc.

 - optionally gets rid of default noteheads, or replacing with some
   manually prescribed heads (pr. note/pr. chord)

Ill send something which could be a start in the next post.

-anders




reply via email to

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