Patch Module Potentiometer Offset?

I’ve been building a few things out in Plugdata to compile to the Patch module. Everything compiles fine, I’m able to get the CV input values, but the value range doesn’t sound like the 0 - 1 that I was expecting. Specifically, I tested each encoder with a simple patch using the encoder’s value to set the signal’s amplitude, and each one has a noticeable signal leak. This helped explain some of the issues I’ve been seeing in the patches I’ve compiled.

Is there another way I should be approaching this? I couldn’t find a way in hardware of firmware to calibrate the pots, so I’m thinking that I’m assigning the knob values incorrectly?

Hi @unpatched!

You can display the sensor value with [print] and by toggling “Debug printing” to “Yes” in the compile window. Then, you can view on the serial monitor in Arduino IDE for example.

Let me know if you have any question about that :slight_smile:

In what way? looks good to me. However analog inputs are inherently somewhat unstable/imprecise. We currently have no method for any sort of calibration. So what @Takumi_Ogata suggested is to first measure the range and then implement a hardcoded offset.

Of course the question now is how reliable/stable such an implementation would be and if it would drift/change over time requiring to update it again.