webdaw-modules
Version:
a set of modules for building a web-based DAW
43 lines (23 loc) • 1.2 kB
JavaScript
/*
heartbeat
(c) 2013 - 2019 abudaan
https://github.com/abudaan/heartbeat/wiki/license
In util.js the method base64ToBinary() is based on Daniel Guerrero's code:
https://github.com/danguer/blog-examples/blob/master/js/base64-binary.js
https://github.com/danguer/blog-examples/blob/master/LICENSE
In util.js the method toBinaryString(), midi_parse.js and midi_stream.js are based on Matt Westcott & Ben Fishman's code:
https://github.com/gasman/jasmid
https://github.com/gasman/jasmid/blob/master/LICENSE
In util.js Mozilla's atob and btoa alternatives are included:
https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_.232_.E2.80.93_rewriting_atob()_and_btoa()_using_TypedArrays_and_UTF-8
The code in midi_write.js is based on Sergi Mansilla's code:
https://github.com/sergi/jsmidi
https://github.com/sergi/jsmidi/blob/master/README.md
Audio recording:
https://github.com/akrennmair/libmp3lame-js
https://github.com/kobigurk/libmp3lame-js
https://github.com/nusofthq/Recordmp3js
If a browser doesn't support WebMIDI, heartbeat will try to fallback to Sema's Jazz plugin:
http://jazz-soft.net/
https://github.com/jazz-soft/JZZ
*/