Hi all,
I am thinking of ways to implement digital volume control on a microphone amplifier in the simplest way possible.
I am thinking of using say 4 or 5 picaxe pins, and connecting them DIRECTLY to the DC biased low line level audio signal through various resistor values.
The program would bring the pins low, thereby attenuating the audio signal through the resistor, or the program would set the pins as inputs, thereby essentially floating the analog signal for max volume.
I appreciate that mixing digital signals and analog signals like this is unconventional and usually a bad idea, but will it work?!
If I ensure the audio signal is never above 5V or below 0v, I'm sure the picaxe won't be damaged. I just wonder if there are any other drawbacks that I can't think of, before I breadboard it and find out!
I am thinking of ways to implement digital volume control on a microphone amplifier in the simplest way possible.
I am thinking of using say 4 or 5 picaxe pins, and connecting them DIRECTLY to the DC biased low line level audio signal through various resistor values.
The program would bring the pins low, thereby attenuating the audio signal through the resistor, or the program would set the pins as inputs, thereby essentially floating the analog signal for max volume.
I appreciate that mixing digital signals and analog signals like this is unconventional and usually a bad idea, but will it work?!
If I ensure the audio signal is never above 5V or below 0v, I'm sure the picaxe won't be damaged. I just wonder if there are any other drawbacks that I can't think of, before I breadboard it and find out!