Bebopizer is a binary to a musical notes encoder and decoder. You can encode a text or a binary data to bunch of a musical notes and decode it back again.
var bebopizer = require('bebopizer');
// To get encoded string
var notes = bebopizer.encode('Hello world!');
console.log(notes); // fCDbDcDcDeDFAEEeDAEcDCDGA
// To decode notes back to string
var string = bebopizer.decodeToStr(notes);
// Encode binary data stored in arrayBuffer or buffer
var notes = bebopizer.encode(buffer);
// Decode to arrayBuffer
var ab = bebopizer.decode(notes);
For NodeJS library version do
npm install
npm test
If you want to make a test in a browser do
npm install
bower install
npm run webtest
And point your browser to http://127.0.0.1:8000/webtest/