Sound for horror game

I want to make it where the monster only plays sound when you are close to it, or the closer you are the louder it is. Can anybody help?
https://playcanvas.com/editor/scene/1584526

@Brent_Reddick Here is a good YouTube video which will get you familiar with sound.

PlayCanvas Tutorial 11 - Adding sound to your game - YouTube