I'm using the following input stage for an audio application:
The audio signal is analog and single ended. The connector side is exposed, so a person could touch it. The TVS should protect the circuit from ESD. The C10 is a DC coupling capacitor and the other components are used to filter out GSM noise. The amplifier is a 2W class D audio amplifier.
The problem is that in certain situations, when a person touches the connector, a DC voltage is induced on the connector side of the C10 capacitor, which causes a whistling sound, although the only thing I can measure on the audio line is a DC voltage (no sinus-like wave).
The blue line in the following image shows the induced voltage on the connector side of C10. The sound fades out after about 60 seconds.
My question is: is there a way to prevent this or to discharge the capacitor quickly? Alternatively, why is the whistling sound there and can I prevent it?
For the sake of completion: I use the following parts now and touching the connector pins doesn't generate noise anymore.
This is most likely because you haven't provided any impedance for C1 to work against. If the signal at right is going into a high impedance input of a chip, which it sounds like could be the case, then any DC level injected at left will transfer to the right and stay there for quite a while.
For example, if whatever is to the right has 10 MΩ input impedance, then the time constant with C1 is 10 seconds. Audio is generally considered to go down to 20 Hz at the lowest, so you can and should filter frequencies below that. Let's say you want the high pass filter rolloff frequency to be 10 Hz to have little effect at 20 Hz. That means you want a 16 kΩ resistor to ground immediately to the right of C1. As long as the input impedance of the amplifier to the right is significantly higher than 16 kΩ, this will work fine and provide a nice and predictable DC rejection filter.