[SOLVED] Loading Buffer in RNBO (Web)
Hi everyone,
I'm trying to load buffers in my RNBO patch. Everything works fine on Max MSP itself, but whenever I export, it doesn't play the samples on the web.
I load the buffer : buffer~ foo @file foo.wav and I even connect a loadbang to it.
I've also used both groove~ and sample~ objects to test..
on the export, the dependency file and the export json file both entail the requirements and the wav file is created in the media folder.
dependencies: (i tried a variation of paths and it still didn't play anything)
[
{
"id": "foo",
"file": "media\\foo.wav"
}
]
externalDataRefs:
"externalDataRefs": [
{
"id": "foo",
"file": "foo.wav",
"type": "Float32Buffer",
"tag": "buffer~"
}
],
And I still don't get to play the samples on the web. Does anyone have any idea as to why it's not working? I tested both Chrome and Firefox!
Any help is greatly appreciated!
Oh I'm having the same issue! anyone has found a solution?
Unfortunately not.. I've tried any possible combination. I'm not sure what I'm missing
In https://cycling74.com/forums/audio-buffers-in-rnbo I noticed changing the buffer name helped, but I tried it and no luck..
Have you followed the steps as described here to load the buffer dependencies from a web context?
Just a quick check - looking at the dependencies file I assume that you are running things on Windows, is that correct?
Thanks a lot for your help! My javascript code wasn't running the dependencies bit correctly! (from the documentation link you sent)
Also yes windows! I had to change the URLs properly so they could be found!
Thanks a lot again!