ssb22 / jianpu-ly

Jianpu in Lilypond
http://ssb22.user.srcf.net/mwrhome/jianpu-ly.html
Apache License 2.0
70 stars 18 forks source link

add shorthand for fingering notation #17

Closed mpgarate closed 1 year ago

mpgarate commented 1 year ago

Hi Silas, thanks for the work on jianpu-ly! I am using it to create scores for the erhu. Since erhu scores have many expression symbols and often annotate fingering, I found myself writing some lilypond syntax and custom LP blocks. It was convenient to have a fingering shorthand in the jianpu-ly syntax and to have the expression symbols documented for easy copy-pasting.

I realize this may be more specific to the erhu, but maybe this kind of idea could be useful to others.

% pitch and slides
1, Fr=π€ˆ 2, Fr=β†— 3 Fr=β†˜ 4
LP:
\finger \markup \bold \large "𝁜"
:LP

% souyin δΉ…, bend, harmonic
2 Fr=δΉ… 3 Fr=β€» 1 Fr=β—‹
-

% fingering
1 Fr=0 2 Fr=1 3 Fr=2 4 Fr=3
5 Fr=4 6 Fr=1 7 Fr=2 1, Fr=3

image

ssb22 commented 1 year ago

Thanks, this is great. I wonder if we should expand that dictionary with ASCII abbreviations of the common symbols so you don't have to copy-paste; I'll see what I can do later (also I'll update the docstring on a separate commit, as the readme is automatically updated from the docstring, and so is the HTML version on my website)