We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const mvae = require('@magenta/music/node/music_vae'); const core = require('@magenta/music/node/core'); const player = new core.Player() const model = new mvae.MusicVAE('https://storage.googleapis.com/magentadata/js/checkpoints/music_vae/mel_2bar_small'); model .initialize() .then(() => model.sample(1)) .then(samples => { player.resumeContext(); player.start(samples[0]) });
I've tried to start off with Magenta and NodeJS, but when I run the script I receive the following error:
ReferenceError: AudioBuffer is not defined
I understand that the issue might be caused by the fact that there is no WebAudio API in the node environment. How can I solve it?
The text was updated successfully, but these errors were encountered:
cc @cannoneyed
Sorry, something went wrong.
same error
@marcoaccardi Hi, did you manage to solve this error?
Here is some info on this:
https://stackoverflow.com/questions/67474153/referenceerror-audiobuffer-is-not-defined#:~:text=The%20error%20you%20are%20getting,if%20window%20object%20is%20defined.
No branches or pull requests
I've tried to start off with Magenta and NodeJS, but when I run the script I receive the following error:
ReferenceError: AudioBuffer is not defined
I understand that the issue might be caused by the fact that there is no WebAudio API in the node environment. How can I solve it?
The text was updated successfully, but these errors were encountered: