Closed pikurasa closed 1 year ago
Can you generate a lilypond example where the clef changes? I can use that as a basis for implementing this change. Also, any constraints on how we apply this? e.g., do we change clef for even one note?
Can you generate a lilypond example where the clef changes? I can use that as a basis for implementing this change. Also, any constraints on how we apply this? e.g., do we change clef for even one note?
Rules for this can get complicated and have been well-thought out and documented, so I would like to find a book/reference and work from there as to avoid the inevitable corner cases that will arise.
It would be nice to change clef if a particular voice changes register drastically (over time or suddenly).
The following example (output from a MB project) should be bass clef until about measure 10 or 11, then should have ottava (the "play an octave up" symbol) from about measure 20:
Lilypond code for ottava is:
\ottava