broken beam switch for audio loop?

i  want to have a set up that play a message or sound every  time a light beam is broken.  how should i do this?

Use an ISD1700 chipcorder from Nuvoton. Add a beam break circuit from any number of instructables ! One chip, one photo detector, one light emitting diode. , three resistors...
bwrussell4 years ago
I'm sure there are other ways but it could be accomplished with an Arduino, THIS project, a speaker, and the light beam system. When the Arduino senses the beam is broken it triggers the audio.