How to change clef automatically when note falls between a certain range in LilyPond?
I want to accomplish the following:
Is this possible to do automatically (i.e. without the clef tenor, treble etc). Ideally, what I would like is to specify the points, or a range at which the clef is changed.
1 Comments
Sorted by latest first Latest Oldest Best
As far as I can tell, there is currently no mechanism in Lilypond to insert clefs automatically. It might be a good feature to suggest to the developers, since it wouldn't be too hard to implement - you might even want to try your hand at it yourself.
(As Rosie F noted, it is good music typesetting practice not to change clef whenever a specific pitch is crossed, but only when an extended or coherent passage exceeds the previous range, so it would be a nice addition to program a bit of hysteresis into the feature, i.e. to delay the clef computation for a few notes and apply it retroactively when it seems appropriate.)
Terms of Use Privacy policy Contact About Cancellation policy © freshhoot.com2025 All Rights reserved.