Hi all

I've made a RNBO patch that loops a quite long wav-file while randomly playing some shorter wav-files on top. I want to load this project to my Bela Board and in that regard I have 2 questions:

  1. Is this approach too much for the RAM or will the buffer/groove combination stream the files from storage?
  2. Where and how should the wav-files be uploaded to the Bela Board so it can "find" the dependencies using RBNO?

The RNBO-patch exported to C++ as a ZIP (with the sample dependencies copied) can be found here:
https://we.tl/t-y1VdujDACH.

I hope you can help me.

Regards,
Thomas

It should be enough to uncomment BELA_RNBO_LOAD_DEPENDENCIES in render.cpp. Or at least it was the case when I added it.

Then on the rnbo side you should do the following (from https://rnbo.cycling74.com/learn/loading-file-dependencies):

When you configure your C++ export, any dependencies on files or URL resources will be collected into a dependencies.json file. In addition, if you enabled the "Copy Sample Dependencies" option, audio samples will also be copied to a folder called media.

    giuliomoro

    Okay! Thank you!

    Should I add the audio files directly to the 'Resources' in the Bela IDE? Or put them within a folder 'media'?

    Whatever path is specified in the dependencies.json: I am not sure what its content will look like.

    I tried making a simpler patch playing a mp3-file but I keep getting '--- Failed' when trying to play the audio file?

    I have tried uploading the file to a media folder and straight to the resources - changing the file path in the dependencies.json.

    Where should I place the audio file to succesfully playback the audio?




    Link to complete bela project: https://we.tl/t-XAhsB4aTpY

    Try with wav files first. Mp3 are a different story