JavaScript library for music/audio analysis and processing powered by Essentia WebAssembly
GNU Affero General Public License v3.0
632
stars
41
forks
source link
Support for ES6 export and imports in essentia wasm builds #7
Closed
albincorreya closed 4 years ago
Current wasm builds of essentia don't support ES6 style imports.
Emscripten has added support for exporting wasm builds as ES6 modules. See https://github.com/emscripten-core/emscripten/issues/6284
A workaround to this issue has been suggested in the below given link. https://github.com/GoogleChromeLabs/web-audio-samples/blob/master/audio-worklet/design-pattern/lib/em-es6-module.js