@muse-player/server
Node.js library for server-side MXL/MusicXML score rendering via Verovio WASM. This is the required entry point for processing MXL files — @muse-player/core cannot parse MXL files directly and only consumes the output of this package.
renderScore
Converts an MXL (compressed MusicXML) file into SVG pages, MIDI data, timemap, and element attributes.
Signature
Parameters
Default Options
RenderOptions extends Verovio's native options. See the Verovio documentation for the full list.
Return Value
Notes
- Uses a singleton cached VerovioToolkit — initialized once and reused across calls.
- Throws
Error("Failed to load MXL file")if Verovio cannot parse the input. scoreData.titleis set to an empty string by the server. The CLI sets it to the input filename.

