maxi-js-emscripten merge requestshttps://gitlab.doc.gold.ac.uk/dclar011/maxi-js-emscripten/-/merge_requests2016-02-26T11:38:58Zhttps://gitlab.doc.gold.ac.uk/dclar011/maxi-js-emscripten/-/merge_requests/1loadSample method that works with base64 strings2016-02-26T11:38:58ZJakub FialaloadSample method that works with base64 strings### Base64 baby!
This PR modifies the loadSample method so that when the input path is a base64 encoded audio file, MaxiLib will open it. It's obviously dependent on browser audio format support. Tested with the wav samples already in...### Base64 baby!
This PR modifies the loadSample method so that when the input path is a base64 encoded audio file, MaxiLib will open it. It's obviously dependent on browser audio format support. Tested with the wav samples already included in the repo.
Also adds an example (with the base64 string blatantly pasted into the JavaScript code) called `23_SamplePlayer_base64.html`.Jakub FialaJakub Fiala