verovio-humdrum-viewer
verovio-humdrum-viewer copied to clipboard
Add interpretation for default stem direction of center-line notes
Create an interpretation to control the stem direction of notes on the center line of a staff (primary for unbeamed notes, but could be adapted to beamed notes).
Example default behavior is the modern style of stem down:
![Screen Shot 2022-06-22 at 10 47 15 PM](https://user-images.githubusercontent.com/3487289/175224387-627327ed-de86-480a-bbb2-cd5948ddd218.png)
**kern
*M4/4
*clefC3
=1
2B
2c
2d
*-
Setting the default position to stem up, where *mida
means "middle-line notes have stems above":
![Screen Shot 2022-06-22 at 10 49 10 PM](https://user-images.githubusercontent.com/3487289/175224649-c8912a68-0694-428b-a7f2-287c3c7462ff.png)
**kern
*M4/4
*clefC3
*mida
=1
2B
2c
2d
*-
*midb
would cancel (meaning "middle-line notes have stems below"). Or it could be *Xmida
which might be nice for more consistent cancellation related to other interpretations such as *Xped
:
![Screen Shot 2022-06-22 at 10 51 50 PM](https://user-images.githubusercontent.com/3487289/175225038-837cee88-d0a2-4dbd-9899-45bba4889166.png)
**kern
*M4/4
*clefC3
*mida
=1
2B
2c
2d
*Xmida
2B
2c
2d
=
*-
This will allow better clef changes and transpositions by avoiding a fixed stem direction on a note that moves off of the center line (and for notes that move onto the center line).