On 8/21/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
V!ctor [EMAIL PROTECTED] wrote:
> Currently, Lily assumes a glissando will always connect adjacent notes.
> (The sintax works like ties in Lily, where one puts the tie command ~
> after the first note)
> But many times one needs the glissando to span a duration that cannot be
> expressed with a single note, e.g. 1 + 1/4. I've attached a PDF with 2
> examples of this (taken from one of my own scores), together with a
> proposed syntax for the implementation.
> Essentially, these glissandi would work exactly like slurs in Lily,
> using one command to start a gliss and another to end it. e.g.
> c4\glissStart c16 f8\glissEnd

I have the feeling that this should already more-or-less be possible
with current support for clusters: use a cluster for the line, and
blanked note heads to get the stems. Or put the blanked notes in a
different voice.

Doing real timed glissandos does raise some questions: should the gliss
always be a straight line, or should it just follow a melodic contour?
If the latter, what happens with 'trilled' glissandi.

If the former, then this will have nasty interactions with beams: beam
directions are determined by stem directions, but in the case of a
glissando stem, the "pitch" of the stem is determined after spacing and
line breaking, which happens after determining directions. In this case,
it's still possible to do, but we would have to rewire the logic for
stem and beam direction code for this special case. This is tricky, so
it would take a couple of 100 euro.

Another option would be to forfeit beams on glissando stems, and/or
require them to have preset directions.

Victor & Han-Wen,

If we can figure out a good way to implement these "durated" glissandi
(or "noncontiguous" glissandi) then I'm willing to help sponsor.

Where Han-Wen writes ...

Another option would be to forfeit beams on glissando stems, and/or
require them to have preset directions.

... I think that having stems invovled in a durated glissando having a
preset direction would be fine ... at least it seems.

Victor - is there ever a case where the stems in a durated glissando
should point different directions?


--
Trevor Bača
[EMAIL PROTECTED]
... like the dew, or like lightning ...
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to