could anyone help me draw a simple schematic where the arduino digital pins do the switching? im worried about current draw, and don't really understand the test circuit demonstrated in the datasheet...
This type of chip is usually used for "input selection"... AM/FM/TAPE/PHONO, that kind of thing.
Maybe I'm missing something but why do you need to switch the signal lines on/off going to your amp?
If you only have one source, why don't you just connect your signal lines directly and put an on/off power switch to your amp.
because this PCB is a part of a musical instrument, where each channel is one note, controlled by a keyboard. there will be 12 stereo amp chips, giving me 24 notes to play with.
thats why i need to be able to turn the channels on/off very rapidly, through a digital interface (the arduino)!
I haven't looked at the data sheet, but most logic-controlled audio switches use a single supply, hence the need for decoupling caps, so yes there could be some noise associated with the DC offset switching. It depends, and there's often text in the app notes detailing how to deal with this.
Most of these ICs use zero-crossing detection to avoid pops from the audio signal itself. But again, this is a quick reply and I haven't read the data sheet to verify.
That said, I can't help but feel there has to be a better approach than this. OP: Would you be willing to detail more on the implementation of your instrument?
A CD4016//66 is a 4 section N.O analog switch capable of switching any analog voltage. 0 to 5 or
+/- 12 V audio to low RF (even low power DC) signals and is 5 V logic level control. I have used them for MML (Mickey Mouse Logic) low audio and even to switch crystals in an old transceiver I owned once.
It's really a nice chip for those 'unusual' places where nothing will quite fit.
There are also 2, 4 and 8 position switches but for a mulltivoiced keyboard the quad spst N.O. are ideal.
the switch is a part of a musical instrument, where each channel is one note, controlled by a keyboard.
there will be 12 stereo LM1876 amp chips, giving me 24 notes to play with. the outputs of the amp chips dont go to speakers, but rather they go to 24 coils that drive steel strings through magnetic actuation. (its a harp)
the solenoids drive the 24 harp strings by a feedback loop (the input is a piezo pickup, on the bridge - through a preamp)
i have made a similar instrument before, seen here :: ulfurhansson.com.
thats why i need to be able to turn the channels on/off very rapidly, through a digital interface (the arduino)!
so, clicks and pops are fine - they actually could help the strings to start vibrating.
i got the chips from fedex today - for some reason this setup is NOT WORKING