Author Topic: Arduino to mix both analog and digital signals  (Read 95 times)


Arduino to mix both analog and digital signals
« on: July 13, 2019, 05:43:01 AM »
Hi all,

I was asked to make an arduino based pedal that actually uses simple arduino programming language to manipulate sound. This to make it a bit simpler to program than for example the ElectroSmash pedalshield. Something for a kid to have fun with without needing a degree in software engineering  :icon_wink:
Took some research, but with the Arduino MKRZERO and some help from a little library to get a faster sampling rate i managed to get a pretty decent  fuzz, reverb and delay. (thanks to Albert van Dalen @

Now I'm looking to manipulate an analog signal for tremolo, vibrato, attack/decay kind of things and to make it possible for the arduino to mix both analog and digitally manipulated signal for wet/dry control
Does anyone have a good example of a circuit where an arduino regulates the volume  of an analog signal?
What would be the best way to go about this without using a digipot (which I think will mess with the sample rate too much, but correct me if i'm wrong)
Is there a JFET or a vactrol kind of approach? (I have both, but my knowledge of how to implement those are limited)

A schematic of a similar approach would be great.

« Last Edit: July 13, 2019, 08:30:54 AM by SPoT_D »


Re: Arduino to mix both analog and digital signals
« Reply #1 on: Yesterday at 09:04:08 AM »
PWM control a Vactrol would be conceptually easy. It has the advantage that the circuit you are controlling can be electrically isolated from the digital control and the time response of the LDR in the Vactrol is slow enough to filter out the PWM pulses.
"Designing with PLLs in production circuits is reserved to those with the courage of the thoroughly uninformed."
Nuts & Volts
"Turtles have the short legs, not for the walking."
-Kenji "Damo" Suzuki


Re: Arduino to mix both analog and digital signals
« Reply #2 on: Today at 01:39:21 PM »
OK, I'll expiriment with a vactrol. Do I put it in the signal path or to ground? (kind of new to vactrol). Some ideas on how to mix two signals are quite welcome as well