musicxml-to-speaker

0.0.3 • Public • Published

musicxml-to-speaker NPM version

Output MusicXML to the speakers.

Installation

Install the package with NPM:

$ npm install -g musicxml-to-speaker

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

Usage

Run it via the CLI:

$ musicxml-to-speaker song.xml

Or, programmatically interact with its API:

var musicXmlToSpeaker = require("musicxml-to-speaker");
 
var stream = musicXmlToSpeaker.play("song.xml");
 
stream.on("finish", function() { console.log("Done!"); });

Related

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

If speakers simply aren't your thing, then perhaps try musicxml-to-mp3 or musicxml-to-wav.

Package Sidebar

Install

npm i musicxml-to-speaker

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • lukehorvat