-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help running example #5
Comments
Hi Will,
|
Hi, I think I've got past that problem, the html in the readme defines a function called The missing function it seems from the C++ is a string called |
Hi Will, I'll look into it. |
Hey @willm, thanks for the feedback. The above-exception was due to the outdated wasm builds. Made a couple of changes as well. Now it should work as expected. Let me know if not. The existing Or if you use the python http server for launching, add the mime type for wasm. Check this mdn/webassembly-examples#5 out. Try this example to add your mime type https://gist.github.com/HaiyangXu/ec88cbdce3cdbac7b8d5. |
I'm trying to run the example from the html provided in the readme. Here are the steps I took:
index.html
in the essentia.js directory.python -m SimpleHTTPServer
in theessentia.js
directoryI get the following in the console:
I tried defining an empty audio buffer by adding the following lines before getting the channel data:
However then I get a complaint that
typedFloat32ArrayVec
is not defined. I suspect something has not loaded correctly (This is my first venture into using wasm). I'm also not sure about these errors tostdio.html
, is there a dependency I'm missing?The text was updated successfully, but these errors were encountered: