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.
Music: Practice & Theory Stack Exchange is a question and answer site for musicians, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI 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.
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.)