Some articles about analog input and audio files, however, the sensors I have are all digital sensors. The process of setting up on/off trigger will be a bit different. But in terms of how to upload an audio file to become the response, here are some suggestions for reference:
https://forum.arduino.cc/index.php?topic=462752.0
http://forum.arduino.cc/index.php?topic=447158.msg3077258#msg3077258
https://gist.github.com/timpulver/5ba4a29cddd543b4a900
Adafruit Sound Board