Jianpu in Lilypond

jianpu-ly is a Python program (compatible with both Python 2 and Python 3) that assists with printing jianpu (numbered musical notation) in the GNU Lilypond music typesetter. The jianpu is written on a modified-appearance “stave” in Lilypond, which means Lilypond’s typesetting capabilities (lyric spacing, slurs, beams etc) will apply to the jianpu without needing to add a 5-line stave. If you prefer, the generated code for the jianpu stave may also be placed in a score with other types of stave.

Using jianpu-ly requires some technical knowledge. If you don’t know what a command line is, what a text editor is, what a directory is or what Python is, then please find out about these things before attempting to use jianpu-ly. It is not an extension to Lilypond front-ends like Frescobaldi; it is a ‘preprocessor’ that currently requires you to have command-line experience.

For Chinese users, someone has written a Chinese summary of jianpu-ly which looks right. (I would put their name here if I could find it.)

=> Chinese summary of jianpu-ly

Additionally, David Zhang of Beijing extended this idea into a tighter integration of jianpu with Lilypond, often called jianpu10a.ly, which provides a JianpuStaff that accepts normal Lilypond code and translates it (a bit like Lilypond’s TabStaff). His style of jianpu is different from that produced by my jianpu-ly (which also has a different input format).

Download jianpu-ly.py or use pip install jianpu-ly or pipx run jianpu-ly (there’s also history on GitHub)

=> jianpu-ly.py
=> history on GitHub

If you have problems, try a different Lilypond version (works on 2.20, 2.22 and 2.24).

Legal

All material © Silas S. Brown unless otherwise stated. GitHub is a trademark of GitHub Inc. Python is a trademark of the Python Software Foundation. Any other trademarks I mentioned without realising are trademarks of their respective holders.

Proxy Information
Original URL
gemini://gemini.ctrl-c.club/~ssb22/jianpu-ly.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
429.865435 milliseconds
Gemini-to-HTML Time
0.596223 milliseconds

This content has been proxied by September (3851b).