Currently, the npm index.js only exposes an instance of the core essentia.js. It would be nice to bundle all the essentia.js related modules into a common namespace and let the user create the instances as they prefer.
A node.js example would be ,
let esPkg = require("essentia.js");
// core essentia.js API
esPkg.Essentia
// essentia WASM backend
esPkg.EssentiaWASM
// add-on modules
esPkg.EssentiaModel
esPkg.EssentiaExtractor
esPkg.EssentiaPlot
Currently, the npm index.js only exposes an instance of the core essentia.js. It would be nice to bundle all the essentia.js related modules into a common namespace and let the user create the instances as they prefer.
A node.js example would be ,