Vibration of the diaphragm caused a needle to vibrate in the water, varying the electrical resistance in the circuit