What is the simplest way to reverse the logic of a switch? What I have are audio levels running to a jack or speakers. I figured out how to simply add a Sanwa arcade button to interrupt the flow when it is not pressed and simply complete the circuit when it is pressed.
The question: is there a simple logic gate that I could implement to add a switch to the circuit so when the switch is on, the button works normally: gate opens when pressed, and when the switch is off, using the same button: gate is always opened, but closed when pressed.
Simplified
Switch on: sound is off but on when button is pressed
Switch off: sound is always on but turns off when button is pressed
Basically I want to toggle the same button between being a gate or a mute.
Any thoughts?
The question: is there a simple logic gate that I could implement to add a switch to the circuit so when the switch is on, the button works normally: gate opens when pressed, and when the switch is off, using the same button: gate is always opened, but closed when pressed.
Simplified
Switch on: sound is off but on when button is pressed
Switch off: sound is always on but turns off when button is pressed
Basically I want to toggle the same button between being a gate or a mute.
Any thoughts?