With the shadow over the sensor, it is possible to interrupt the sound of your amplifier using this circuit suggested in an article in Radio Electronics magazine from July 1961. The sensor is an LDR.