Noise detection AI

I want to achieve a good Doors fangame, and I would like to know how to make an AI that detects footsteps.
How do I do this?

I found this hope it helps