lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with Codas


From: Shamus Hammons
Subject: Re: Problem with Codas
Date: Mon, 25 Sep 2017 11:31:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

On 09/20/2017 11:35 AM, Carl Sorensen wrote:
> On 9/19/17 5:33 PM, "David Kastrup" <address@hidden> wrote:
> 
>> Shamus Hammons <address@hidden> writes:
>>
>>> On 09/17/2017 01:50 AM, David Kastrup wrote:
>>>> Carl Sorensen <address@hidden> writes:
>>>>
>>>>> On 9/16/17 8:09 AM, "Shamus Hammons" <address@hidden> wrote:
>>>>>
>>>>>> I have a dream, that one day Lilypond will make codas first class
>>>>>> citizens instead of having to exist as a series of ugly hacks. In
>>>>>> that
>>>>>> day, I could simply write \coda (with maybe some options) and
>>>>>> Lilypond
>>>>>> would automagically do the right thing. Alas, that day is not today.
>>>>>> :-(
>>>>>
>>>>> What do you consider the "right thing" to be with a coda?
>>>>
>>>> \repeat coda 2 { %{ segno appears here %} common part }
>>>>              \alternative { { %{ coda sign here %} first part }
>>>>                             { %{ actual coda formatted here %} coda } }
>>>
>>> This looks perfectly reasonable to me. :-) How can I help make this
>>> happen?
>>
>> This requires good LilyPond code for formatting the coda, and
>> integration with the repeat structures.  The good formatting code can be
>> done by someone versed in LilyPond/Scheme.
> 
> My original question was not about the input format, but rather about the
> appropriate output formatting for the coda.
> 
> It seems like the reason the original code was "ugly hacks" and didn't
> work was because the formatting problem was very difficult for some corner
> cases.  I was hopping to get Shamus to describe the formatting rules he
> would like to have for codas, because that (not the input structure) is
> where the "automagic  layout" happens.

Basically, the coda should have some whitespace between it and the prior
section of music and should start looking like what you would expect
from the beginning of a new staff line, complete with clefs, key
signatures and time signatures and whatever other miscellaneous
decorations that come with multi-staff layouts. In all, fairly similar
to the image that Robert Murdock posted in "I Too Have Problems with
Codas". Also, it would be nice to have the coda/segno markings laid out
at the appropriate places too (including the top of the coda section),
but first things, first. :-)




reply via email to

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