gregorio
gregorio copied to clipboard
Ability to print ambitus
It would be useful to be able to print the ambitus for a chant alongside the initial, similar to LilyPond's feature.
Since you're comparing this to LilyPond's feature I take it you would want this to appear before the clef?
Personally, I'd be concerned about the ambitus being confused with regular notes meant to be sung on the first syllable. Since square notes don't have stems, there is no easy way to distinguish the ambitus from a regular podatus on the first syllable. I don't think coming before the clef would be enough. Do you have some suggestion for how to visually mark the ambitus so that it's clearer as to what it is?
Still, I suppose that this could be implemented as a second pass feature. Much like we store high and low note positions for each line in order to be able to dynamically adjust line heights, we could store those positions for the whole score and then use that information on a second pass to print an ambitus before the clef.
I'll think about this in more detail; I definitely see the challenges, yet at the same time (especially with the gradual for 5 Lent!) it would be helpful to be able to see the ambitus at a glance for figuring out where to start (possibly the morning of!).
This might not be possible, considering that the range of many chants exceeds the range of the staff in the original clef. Take the Christus factus est, for instance. It shifts clefs, then hits a high l, which can't be represented in the original clef (without providing for two[!] ledger lines.)