Documentation for patch.init() + plug-data?

Any docs out there for this? I can’t figure out how to access the knobs and audio inputs on the patch.init() in plug-data. And flashing isn’t working, I get Heavy errors and other errors with very basic patches like adc into dac.

Thanks for any help you can provide

At the moment the only documentation is here: GitHub - electro-smith/json2daisy: Utility for converting JSON board definitions into valid, libDaisy compatible C++ board support files

You can see the json file for the patch.Init() here: json2daisy/src/json2daisy/resources/patch_init.json at main · electro-smith/json2daisy · GitHub
It is included in plugdata and you only need to select it from the board dropdown.

Can you share what “errors” you get?

A basic adc into dac should definitely compile.

Also see my video on programming the patch.Init() with plugdata:

It was my mistake, I didn’t put the module into DFU mode. Beginner mistake. Thank you for the video. Right now I’m a little stuck with getting the knob/cv_1 cv signal and connecting it to other things like a filter cutoff. I’ll check your video now

1 Like

Thanks again, that was a very helpful video. I was missing the @hv_param stuff.

1 Like