RNBO presets on Raspberry Pi
Hi . . Looking into how to recall snapshots/presets on a Raspberry Pi. The docs say the Pi will load the first snapshot in the presets file that is sent to the Pi which is fine. How does one access other snapshots in the preset file via OSC messages? I see the docs mention using rnbo.remote so I poked through that to see if there is an obvious OSC path to use but i didn't find it. Thanks!
the OSC namespace is retrievable...
https://github.com/Cycling74/rnbo.oscquery.runner#osc-namespace
example shows
"presets":{
"FULL_PATH":"/rnbo/inst/0/presets",
"CONTENTS":{
"entries":{
"FULL_PATH":"/rnbo/inst/0/presets/entries",
"TYPE":"s",
"VALUE":[
"untitled 1"
],
"ACCESS":1,
"CLIPMODE":"none",
"EXTENDED_TYPE":"list",
"DESCRIPTION":"A list of presets that can be loaded"
},
"save":{
"FULL_PATH":"/rnbo/inst/0/presets/save",
"TYPE":"s",
"VALUE":"",
"ACCESS":2,
"CLIPMODE":"none",
"DESCRIPTION":"Save the current settings as a preset with the given name"
},
"load":{
"FULL_PATH":"/rnbo/inst/0/presets/load",
"TYPE":"s",
"VALUE":"",
"ACCESS":2,
"CLIPMODE":"none",
"DESCRIPTION":"Load a preset with the given name"
},
"initial":{
"FULL_PATH":"/rnbo/inst/0/presets/initial",
"TYPE":"s",
"VALUE":"",
"ACCESS":3,
"CLIPMODE":"none",
"DESCRIPTION":"Indicate a preset, by name, that should be loaded every time this patch is reloaded. Set to an empty string to load the loaded preset instead"
}
}
},
so.... something like
oscsend osc.udp://c74rpi.local:1234 /rnbo/inst/0/presets/load s "presetname"
not tried it... so Id double check the namespace as shown on readme, in case its changed etc.
(also check that rnbo.remote is working... Ive noticed a few things in RNBO that are not yet implemented ;) )
As mentioned you can access the list of available OSC paths via a web-browser. More info on that can be found on these two pages in the RNBO Docs:
If you are looking for a quick and simple way to change and save presets - the web interface hosted on the provided Raspberry Pi image provides that functionality as well via the WebSocket interface of the OSCQueryRunner.
I am researching how I can load GRAPH SET's with OSC, but no answers yet. Anyone?
@Ewoud - just taking this quickly from he Web Interface's code - send the name
to /rnbo/inst/control/sets/load
.
Relevant code here:
https://github.com/Cycling74/rnbo-runner-panel/blob/develop/src/actions/sets.ts#L103