Loading Buffer in RNBO (Web)

noak's icon

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!