Accessing recorded buffer in RNBO Web Export device

Matthew Barile's icon

Howdy,

I've been struggling trying to get my js code to interface correctly with my RNBO web export patch. My goal is to be able to record a sound into a buffer~ or data object (whichever is the right tool for the job) and then have js call the correct functions to access that DataBuffer, convert and download it into a WAV file.

Using the web interface (on Chrome) from my RNBO Web Export patches, I've successfully been able to use record~ to write audio into both objects (data and buffer~), and then play those back in via the web interface (using peek~ for the data object and a bang to a groove~ object associated with the buffer~). But I'm running into issues I believe with calling the right functions in JS in order to parse the data in the data or buffer~ objects and ultimately download it. Does anyone have any experience making this work?

Matt