Basically, I need to switch 2 audio inputs based on which one is currently "active", and I need to do it automatically.<p>More in depth, here's the actual situation: I was given a GPS receiver for my Pocket PC for Christmas. The Pocket PC speaker isn't loud enough for me to hear over road noise and my music. I'd like to connect my PPC to my car's equalizer (which feeds the rest of my audio system) as well as connecting my head unit to the EQ.<p>Normally just music will be playing, and there won't be any audio outputting from the PPC. At those times I want the head unit "connected" to the EQ. When the PPC plays a voice guidance prompt, I want the PPC signal to automatically be routed to the EQ. When the voice prompt is finished playing, I want the music to come back on.<p>So:<p>- 2 inputs, 1 output
- automatic switching of inputs based on the levels passing a set threshold
- Pocket PC input takes signal priority
- no degradation of sound quality
- quick fade in/out of audio would be less harsh to the ears than a sudden switch, but it sounds tough to implement<p>My proposed method of implementation:<p>- op-amp comparator to output yes/no for each input signal
- create a logic table for input precedence to implement with as few logic chips as possible
- either cmos analog switch (worried about sound quality) or relays to actually switch the A/C audio signal<p>Any further thoughts or ideas? I'm by far not the greatest with electronics, so I just wanted to bounce my ideas off all you wizards out there

<p>edit: oh yes, I forgot to mention that the input threshold would be adjustable, but I neglected to include that mainly because it only involves placing a pot instead of a fixed resistor, and I can figure that out on my own :p<p>[ December 29, 2004: Message edited by: chessman ]</p>