Yawcam -> Motion detection -> Actions -> Play sound

Play sound settings

Click the "Browse..." button to open a file dialog to help you select the audio file you want to play.

It is possible to play .wav and .mid files.

Flood control - Activate the flood control to set a limit of how often this action can be performed. The action will be blocked if the time set in the interval not has passed since last time this action was taken.