Was super excited to dig into PlugData x Daisy Seed stuff today. Spent some time reading some documentation and examples before diving in.
Started off great, flashed the Seed a couple times with some basic oscillator tones and then a knob to control the volume.
Then when I was testing LED feedback, I came across some strange behaviour where the LED feedback was inverted (e.g. max brightness at minimum volume and visa versa). Electronics-wise, I know the circuit was correct as it was running a fully functioning DaisyDuino project beforehand where LED feedback from VCA was working as expected.
I exported a patch with a simple inverse circuit before “s led1 @hv_param” to test if that fixed the bug but then this error appeared:
Now I can’t flash a compiled PlugData patch with a Custom JSON. The other board types work fine but unfortunately they aren’t any use to me as I have a Seed. Anyone seen this before or know of any potential solutions? Would love to get back up and running again.
I’m not sure it is the board.json as I didn’t make any changes since the previous flashes, which exported successfully. Just double checked with the the basic customseed.json example given by Takumi here and getting the same error
These are temporary files that are created by the compiler. They are missing because Heavy (that converts PD to C/C++) failed.
We should do some better error handling to skip all these steps if Heavy has failed.
I’m assuming that pin_r comes from your custom json, so please share it anyway to help with debugging!
Yeah it’s definitely a weird one considering I didn’t change the custom JSON since the previous successful exports and now any patch / custom JSON combo triggers the same error…
Just did a bunch of extra tests:
Tested compiling a new patch with just osc~ and dac~which exported successfully!
Tested original patch to see if it would export, no joy - same error code
Copied all objects from original patch, pasted them into a new patch, ran compiler - same error code
Deleted “r knob1 @hv_param” and “s led1 @hv_param” objects from the same patch, ran compiler - success!
Added a new “r knob1 @hv_param” object to same patch, ran compiler - success!
Added a new “s led1 @hv_param” object to same patch, ran compiler - success!
Definitely has me scratching my head but glad to be mostly up a running regardless
My last question is what is happening with the LED behaviour? (same patch as screenshot in previous post)
In this patch my LED behaviour is flipped compared to your tutorial here (I’m getting max brightness when no volume and LED off at max volume)
Threw together this inverse circuit, which I’ve tested by printing to console and sending values from the UI slider but once I compile and send to Daisy the LED doesnt light no-matter the potentiometer value?