pyabc2.abcjs.headless.svg¶
- pyabc2.abcjs.headless.svg(abc, *, scale=1.0, staff_width=600, **kwargs)¶
Render ABC notation to sheet music using abcjs, returning SVG string.
- Parameters:
abc (str) – The ABC notation to render.
scale (float) – Scaling factor for the music rendering.
staff_width (int) – Width of the staff in pixels.
**kwargs – Additional abcjs options that haven’t been explicitly defined here in the signature. https://docs.abcjs.net/visual/render-abc-options.html
- Return type: