I want to build a simple device with 2 inputs and 1 output, all TRS 1/8" audio jacks. The device picks one of the inputs to pass through to the output depending on the time of day (at night, it chooses B, but for the rest of the day it chooses A).
How would I go about doing this?
For completeness, it's for a stereo that is inaccessible almost all the time. By default it plays (through speakers) from the radio. I want to attach this device between the stereo and the speakers, and plug in a simple FM receiver (configured to some unused frequency), so that at night I can transmit over FM to control the speakers. If there's an easier way, please do tell, but consider the stereo+speakers locked away after I install the device, so I need to be able to transmit audio wirelessly to the speakers while falling back on the stereo's output.