Granular / Buffer in browser

Clinton Van Arnam's icon

Hi.

I have a few patches that I've been working on that require sound samples. Everything works great inside of rnbo and max, but when I try to export for the browser the samples do not work. (Only the onboard synths work) Does anyone have a rnbo example of how to do a simple playback or granular synth in the browser?

Thanks in advance.

yung algo's icon

I am curious about the exact same question -- e.g. a in-browser granular synth, but the RNBO Webpage Example supports only synths like you said. Did you figure anything out?

Maciek Odro's icon

https://rnbo.cycling74.com/learn/using-the-web-page-template#my-samples-arent-loading-correctly
Did you remember to check the 'Copy Sample Dependencies' when exporting?
https://rnbo.cycling74.com/learn/audio-files-in-rnbo
Also, have a look at:
https://rnbo.cycling74.com/learn/buffers-and-file-dependencies
An example of loading files dynamically in the web export would be nice for sure :)

yung algo's icon

I did get the copy sample dependancies checked, and my samples are showing up in the JSON in the project folder. But im not getting any output, and even moreso, am generally not clear how to get the web UI to align with the func of the patch. I imagine its by editing the html/js files in the example webpage folder, but i dont exactly know what to do.

Is there anything you can point me towards?