This simple circuit published in the November 1962 Radio Electronics magazine beeps when the light on the sensor is cut off. Transistors are from the time, as is the phototransistor.