[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Ligature brackets
From: |
Han-Wen Nienhuys |
Subject: |
[PATCH] Ligature brackets |
Date: |
Tue, 16 Apr 2002 13:54:21 +0200 |
address@hidden writes:
> Hi!
>
> Attached is a patch that introduces ligature brackets (anyone knows a
> better term for these beasts?). These brackets are used in modern
> notation when transcribing mensural music; they simply mark a series
> of notes that, in the original notation, formed a ligature.
>
> Example:
>
> c d e \[ f g a g \] f e d c
>
> This puts square edges around the notes f g a g. This, of course,
> could have been implemented simplier, namely without using a spanner.
> However, for future extensions, I think a spanner fits best. I am
> planning to use this syntax to enclose ligatures in general (i.e. not
> only mensural or transcribed ones).
Thanks for the patch, I'm putting it in. Some notes:
* We're getting a plethora of brackets. It would be nice if we could
merge all the code into a single .cc file, and have a single
bracket-interface, which would group all the layout properties of
those brackets. Other code (bass figure, piano pedal, tuplet,
etc.) could use functions of the Bracket_interface to print brackets.
* Perhaps your brackets are useful in more contexts? LigatureBracket
seems too specific a name. In musical analysis it's also quite
common to delineate section using brackets, isn't it?
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/