lilypond-user
[Top][All Lists]
Advanced

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

Re: Aleatoric / modern notation


From: Carl Sorensen
Subject: Re: Aleatoric / modern notation
Date: Sun, 11 Mar 2012 13:40:19 +0000
User-agent: Microsoft-MacOutlook/14.14.0.111121

On 3/11/12 12:53 AM, "James Harkins" <address@hidden> wrote:

>At Sun, 11 Mar 2012 08:12:35 +0100,
>address@hidden wrote:
>> The best way to achieve that with current LilyPond is Scheme engravers.
>> 
>> There have been a few examples of Scheme engravers posted on this list
>>(if you search Scheme engraver you'll find one - there are also examples
>>in the input/regression folder of the LilyPond source).  You'd want to
>>create one that begins and ends a spanner when it hears a given event
>>(you can invent a BoxNoteEvent, for example) and acknowledges note
>>columns in the interim, putting them in a grob-array called
>>"note-columns" or what-have-you.  Then, make a print method that
>>extracts these note columns (or whatever grobs you're interested in)
>>finds the min/max height and width, and draws a box at those dimensions.
>> 
>> If you want to get fancy, you can add extra spacing width to the left
>>of the first note column and the right of the last note column to make
>>sure there are no collisions with the box and surrounding material.
>
>I see... would it be too much to ask you to send your engraver to me (off
>list if you prefer)? That's of course assuming you developed one for your
>own music. Normally I don't mind doing some research and experimentation
>on my own, but in this case --

You might offer a bounty to Mike or to David Kastrup, in which case they
would write the custom engraver for you.

HTH,

Carl




reply via email to

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