Re: [frogs] Da Capos, Codas and Segnos |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Ian Hulin <ian@xxxxxxxxxxxx>
- Subject: Re: [frogs] Da Capos, Codas and Segnos
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Mon, 15 Feb 2010 19:32:02 +0100
- Cc: Lilypond Frogs List <frogs@xxxxxxxxxxx>, "lilypond-devel@xxxxxxx" <lilypond-devel@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1266258725; l=2647; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=MAxtc2lOwC8YJnNvzKPYlOSOAI0=; b=OE3t3y2wj+BaP9AUNcgXOWZ0tcnnaygGuoxpvbMrh8oAKZ3U/3KZJZBdRlACP32xO4V owiqKw1Z8RzGMR/YB9R+kPvTr3zBe+wmQxWY42xFIlTNZC86/yOjJOl/cp68Fe/DOEryQ K8JK1CrQR1oYbWqwEZ2GHuYzzQllAGIx2Ew=
Ian Hulin schrieb:
[...]
Secondly, what I had in mind was this kind of thing:
* \dalsegno and \dacapo - both of these start off a segno/dacapo
section. I know it's a bit weird that the \dacapo command would
have to be at the start of the score, but I think it would be
beneficial in terms of syntax checking.
* \dalsegno and \dacapo both take a keyword and a music expression
as parameters. The keyword is either /coda/, /fine/ or it is
omitted. If it is omitted it defaults to /fine/.
* \fine - checks if a \dacapo or \dalsegno block are current and
that the last \dalsegno or \dacapo used a /fine/ keyword. If so
it, generates a double bar and "Fine" markup.
* \tocoda - checks if a \dacapo or \dalsegno block are current,
and that the last \dalsegno or \dacapo used a /coda/ keyword.
If so it generates a double bar and "Al ©" markup. (For © read
the coda hot-cross-bun sign).
* \endDaCapo, \endDalSegno terminate the block. They firstly
check if a block is current, and what kind of keyword was used.
If the block was started with a /fine/ keyword, it generates a
double bar and a markup "Dal Segno"|"Da Capo" al "Fine"|"Coda",
depending on the type of block and the keyword parameter used.
o If the coda keyword was used a \break is generated and the
© markup generated ready for the next music expression.
Comments welcome.
Hi Ian,
I have also thought about implementing this properly.
I had the idea to extend the \repeat syntax:
\repeat segno {.A.}
\alternative {{ .B. }{ .C.}}
could start part A with a segno sign, draw a coda sign at the start of B,
creates a markup or something similar saying "D.S. al ø-ø", then
does (perhaps) a line break and draws the corresponding coda symbol
at the beginning of part C.
(And if there is no music before part A, this could become "Da Capo"
and no segno signs are drawn).
My idea was do use special bar line styles for it to avoid the cluttering of
segno/coda/etc. symbols with other marks and markups.
At the moment, I am working on issue #659 which will provide a
\bar "S" (and variants) which draws a varsegno sign as a bar line.
Why not define a \bar "C" which draws a bar line with a coda sign over it?
These bar line styles could then be easily included in a \repeat
construct which does not use "|:" and ":|", but "S" and "C"?
Of course, there sohuld be options to make the textual "D.S. al Coda"
appear within a line or after an automated line break, change the
text string etc.
What do you think?
Greetings,
Marc
Cheers,
Ian
---
----
Join the Frogs!