Maybe a log pot could avoid the need for the equation. But a log or "audio taper" pot is a poor solution for a couple reasons.
1: The ADC resolution is poorly utilized, with just a tiny part of...
Type: Posts; User: PaulStoffregen
Maybe a log pot could avoid the need for the equation. But a log or "audio taper" pot is a poor solution for a couple reasons.
1: The ADC resolution is poorly utilized, with just a tiny part of...
Here's a quick way to see what it (or pretty much any equation) really does.
Serial.begin(9600);
while (!Serial) ; // wait for serial monitor to open
for (int knob=0; knob <= 1000;...
Use analogRead() to get the pot position and then call the functions to adjust the filter accordingly.
For an example, check out Part 2-7 in the audio library tutorial, which starts on page 19 in...