LilyPond Notation Pipeline
We render engraving-quality snippets with LilyPond and embed the SVG/PDF outputs directly in Markdown and the site.
Render assets
- Install LilyPond (make sure
lilypondis on your PATH). - Run:
npm run render:lilypond - Outputs go to:
- SVG:
notation/out/svg/ - PDF:
notation/out/pdf/
- SVG:
Embed in Markdown
Use the shortcode in pages:
{% notationSvg "brush-intro" "Brush intro (4 bars)" %}
Example snippets
-
Brushes intro (drums):
Brush intro (4 bars) -
Oom-chunk guitar comp:
Oom-CHUNK comp (Cmin - F7 - Cmin - G7)
Update the .ly files in notation/src/, rerun the render script, and commit both the source and the rendered assets. PDFs can be linked alongside SVGs for print handouts.