I have just started trying to get to grips with prgramming the Daisy with Arduino.
As a test I’m using the reverb example as a base and trying to make a reverb effect with controllable feedback through a potentiometer.
The oscillator example works fine with my current setup, so I know my potentiometer is hooked up right and I get reverb applied to the signal from my synth if I just upload the reverb example without tampering with it.
What I’ve done so far is added this line to my void loop:
feedback = ((analogRead(A0), 0.0, 1023.0, 0.0, 85.0)/100.0);
and then I’ve moved the
to within the MyCallback function.
I’ve tried placing it outside and inside the for loop to no avail.
What I get is a reverb effect added to the signal, but it’s not controllable at all.
Nothing happens when I turn the knob. Is there something obvious I’m missing?