Rename the Essentia WASM builds' global namespace title from EssentiaModule to EssentiaWASM in the JS wrappers for better coherence with the terminologies used in the Essentia.js ISMIR paper.
An example of importing essentia-wasm.module.js
import Essentia from 'essentia.js-core.es.js';
// import essentia-wasm backend
import { EssentiaWASM } from 'essentia-wasm.module.js';
const essentia = new Essentia(EssentiaWASM);
An example of importing essentia-wasm.web.js
<html lang="en">
<head>
<script src="essentia-wasm.web.js"></script>
<script src="essentia.js-core.js"></script>
<script>
let essentia;
EssentiaWASM().then( function(essentiaWasm) {
essentia = new Essentia(essentiaWasm);
// prints version of the essentia wasm backend
console.log(essentia.version)
// prints all the available algorithms in essentia.js
console.log(essentia.algorithmNames);
// add your custom audio feature extraction callbacks here
});
</script>
</head>
</html>
Rename the Essentia WASM builds' global namespace title from
EssentiaModule
toEssentiaWASM
in the JS wrappers for better coherence with the terminologies used in the Essentia.js ISMIR paper.essentia-wasm.module.js
essentia-wasm.web.js