The abcjs renderer has many additional optional parameters that can be specified at tune render time.
Full details on the available options are here:
https://paulrosen.github.io/abcjs/vis...
To add custom abcjs rendering parameters to a tune, you can add the following annotation anywhere in the tune:
%abcjs_render_params (JSON parameter string)
Where the parameter string is an Javascript object in stringified JSON format.
Example #1: Render all the notation in green:
%abcjs_render_params {"foregroundColor":"green"}
Example #2: Enabling Jazz Chord formatting:
%abcjs_render_params {"jazzchords":true}
Example #3: Transpose the written notation up one full step for Bb Clarinet, but plays one note lower:
%abcjs_render_params {"visualTranspose":2}
Example #4: Forcing 8 bars per staff (requires staffwidth parameter):
%abcjs_render_params {"staffwidth":1000,"wrap":{"minSpacing":1.8, "maxSpacing":2.7, "preferredMeasuresPerLine":8}}
Note: This feature allows very low level control of the abcjs renderer. Improper parameters may cause unpredictable results or crash the tool.
Additional, use of some low-level abcjs rendering parameters such as "staffwidth" and "wrap" may cause issues with "Highlighting" mode in the tool.
Some of the features made possible by using custom abcjs render parameters can be done easily using standard ABC:
The notation color demo in the video could be done in the ABC itself by adding a V: tag and specifying a %%voicecolor
V:1
%%voicecolor green
Transposing instrument playback without visual transpose could be done transposing the music up a full step by shift-clicking the "Transpose Up" button and then using
%MIDI transpose -2
to shift the playback pitch down one full step.
Try my free ABC Transcription Tools
https://michaeleskin.com/abc
User Guide:
https://michaeleskin.com/userguide