it works, but just as the pcm file is about to play, i hear a loud clicking noise. I'm not sure if that's becuase i have the volume hard coded to 50% or something else. I dont remember hearing that before i fixed the volume (made that update to the script that you mentioned)

do you have any ideas on how to get around that?
_________________________
-CHiP