Emitting sound trouble

Blitz3D Forums/Blitz3D Beginners Area/Emitting sound trouble

Ok, I've been toying with this simple thing now for over a half hour, but can't figure out what I'm doing wrong!

footstep=Load3DSound("C:\Documents and Settings\user\Desktop\moo.wav")
If Sin(90+a1*2)<-.85
If footstep_needed<>1
EmitSound footstep,footstep_needed
footstep_needed=0
EndIf
Else
footstep_needed=1
EndIf

I'm thinking its somewhere in the EmitSound part, the location of the sound is correct (i know lol, just experimenting) but any help is appreciated!

Chad