need some sound help

Blitz3D Forums/Blitz3D Beginners Area/need some sound help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thank you. I tried this code and got the same result, really fast stuttering. Maybe the line that I use to load the sound is wrong? Here's what I have...

Global walk1=LoadSound("step1.wav")

Using your code, I did this (i'm using the W key instead of the up arrow):

If KeyDown(17) And (NewTimer-OldTmer>2000) Then
NewTimer = MilliSecs()
PlaySound walk1
OldTImer = NewTimer
EndIf