musicxml-to-wav

Convert MusicXML to WAV.

Usage no npm install needed!

<script type="module">
  import musicxmlToWav from 'https://cdn.skypack.dev/musicxml-to-wav';
</script>

README

musicxml-to-wav NPM version

Convert MusicXML to WAV.

Installation

Install the package with NPM:

$ npm install -g musicxml-to-wav

The -g flag is recommended for easy CLI usage, but completely optional.

Usage

Run it via the CLI:

$ musicxml-to-wav song.xml song.wav

Or, programmatically interact with its API:

var musicXmlToWav = require("musicxml-to-wav");

var stream = musicXmlToWav.convert("song.xml", "song.wav");

// It's a Node.js stream, mate.
stream.on("finish", function() { console.log("Done!"); });

Related

This package is mostly just a thin wrapper around musicxml-to-pcm and node-wav.

If WAV simply isn't your thing, then perhaps try musicxml-to-mp3 or musicxml-to-speaker.