Hi **HUGers,
I created an "sab2gs" filter for VHV (also a command-line tool in humlib) that can be used to convert a 3-staff open score into grand staff format. This is for use in particular with the Bach 3-part inventions:
There is a line in the files:
!!!filter-keyboard: sab2gs
which adds a "K" button to the main toolbar:
Before clicking on the "K" button:
After clicking on the "K" button:
Notice in m. 6 that cross-staff beams can be created in the condensed score.
The filter toolbar (keyboard shortcut: 5 alt/option-n, or press the circular icon 5 times from the main menu):
If you click on the "?" after to the left of the filter text box, you will see the documentation for "sab2gs" ("?" icon is contextually sensitive and will show documentation for the right-most filter in the filter text box):
There are two methods the staff-assignments for the middle voice can be done:
(1) add *clefF4 to display on the bottom of the grand staff, and *clefG2 to display on the top staff again. (that is what is done in most of the 3-part inventions).
(2) alternately (or in addition), add *down to display on the bottom staff and *Xdown to display on the top staff again. This is useful if you want the middle voice to have its own clef in open-score format (such as vocal tenor clef). I also use it in sinfonia 13 for a corner case where the bottom staff is using a treble clef.
To use in the terminal, install humlib (see
https://brew.sh if you do not have git or command-line tools installed yet on macos):
cd humlib
make
make install
Or if you have already downloaded humlib:
make update
make
make install
If installed in the terminal, the command "which sab2gs" should reply with "/usr/local/bin/sab2gs".
This is related to the satb2gs filter which is useful to display 4-part open scores in grand-staff layout, as with bach chorales:
Where I have added the embedded filter:
!!!filter-keyboard: satb2gs
For the chorales, I also added the embedded filter to transpose the music to a tonic on C:
!!!filter-ctonic: transpose -k c
which is only visible on the filter toolbar and not the main toolbar as the letter "C" since it is "non-standard" (i.e., not a "modern" or "keyboard" embedded filter):
You cannot have both filters activated at the same time with the embedded-filter buttons (that would take some thought to implement, and the order may be important, or the filters may be mutually exclusive), but you can copy and paste one after the other, separating by the pipe character: "|":
-=+Craig