I'm currently working on a project for my guitar rig. It is a pedal which lets me send midi commands through it to an effect box i have. This Midi foot box also has a digital potentiometer in it, which allows me to control the guitars volume before it goes into my effect box. I have an input and output jack on my guitar pedal but for some reason, whenever i send midi commands i can hear a click come out of the amp. This click happens when the Atmega328 receives the midi commands.
Does anybody have any ideas on how i can prevent this clicking? The audio does not go through the arduino, it only goes through the digital potentiometer (which is not active yet.) But the signal runs through the same box as the arduino. I think that is just picking it up, but i dont know how to prevent this...
Any advice would be greatly appreciated.