Just tried with the most recent version, seems like nothing changed. I assume it’s nothing to do with me trying to run the react project like normal on my browser considering it can’t the function as a whole
Creating custom UIs with Cabbage 3
That’s probably the issue. If the UI is not launched by Cabbage using its own webview component, then that function won’t exist. It’s injected into the window at runtime by Cabbage. The best is to export a plugin, launch the plugin in reaper, save the plugin. Now start modifying the contents of its resources folder with your own custom scripts. When you want to refresh the plugin, just use Reaper’s open command, it’s the quickest way to reopen and instantiate the plugin after you make changes.
would rescanning in ableton do the same thing?
once the plugin is seen you don’t have to rescan again. Just reopen the project, or delete and add the plugin again
oh alright! great, will get to work then
Got it to work! Wondering how to feed audio back into the js now for some fun visuals…
You can just pass an array of samples to the JS front-end. I’ve shown an example here with the genTable
widget, but you can develop, or intercept that information any way you like. Be careful that you don’t flood the webview with too much data.