How to isolate (audio) components supplied with the same battery?
I solved the problem with relatively expensive solution: adding a 12V to 12V isolating DC adapter between the battery and the signal generator. That way cable (A) was no longer connected with the common ground, therefore, the noise disappeared.