If you make drawings of your setup. mostly you can see / tell what is wrong,
See picture 1, with the earth connections of the DSO and the SG, you short D5
A kind of solution is to put in a little audio transformer between SG and the circuit,
see picture 2.
Edit, convert to JPG..