Script to play wave files when certain input signal are received.