Saving the recorded contents of a RNBO Buffer or Data object to a file

Tristan Cassel-Delavois's icon

I've been playing around with live sampling but I can't see anything in any of the reference that suggests this is possible. Am I missing something and will it be possible to save recorded buffers in the future?

Tristan Cassel-Delavois's icon

No luck yet but I have moved on as it's not absolutely essential for my project. Perhaps you could make a plugin that generates audio to an internal buffer that you could play out into a DAW to record?

I did come across this too in the documentation:

https://rnbo.cycling74.com/learn/using-buffers#behavior-with-no-buffer-or-data

Maybe this means you can create an audio file that lives on the host and the buffer in the RNBO patch can be linked to that but it's a little beyond my level of knowledge at this stage and I don't know if that would be a solution.

TobyAM's icon

It seems that getting buffers around is with setExternalData()
https://rnbo.cycling74.com/learn/loading-file-dependencies

The example above is for loading data into buffers, but apparently it can be used in both directions, but I'm still trying to figure out accessing buffer data over here: https://cycling74.com/forums/accessing-data-buffers-c

Curious to see if you can get it from the example above.