Loopsound
Blitz3D Forums/Blitz3D Programming/Loopsound
| ||
| Hi! I've got a sound, Sound Forge says it's a one-shot, so it shouldn't loop. When I play it in Blitz, it loops. :( So is there a way to tell Blitz NOT to loop the sound? |
| ||
| How do you play the sound ? Perhaps the loop is in your code; could you post it ? Usually you should do something like:
snd = loadsound("your_sound.wav")
channel = playsound(snd)
http://www.blitzbasic.com/b3ddocs/command.php?name=PlaySound&ref=goto Sergio. |
| ||
| Im doing: snd = loadsound("thesound.wav") playsound(snd) |
| ||
| Try it within a sound channel to see what happens then. You can possibly control it with 'StopChannel' - might have to experiment though. |
| ||
| or, if your project is freeware why not use BASS? Blitz's sound system is pathetic... lol |
| ||
| What is BASS and where do I find it? |
| ||
| It shouldn't loop anyway. Are you using latest version Blitz? |
| ||
| Was using 1.86. 1.87 fixed it. |
| ||
| I had the looping problem with exports from Audio Cleaning Lab (amongst other problems). I ended up passing my wavs through CoolEdit96 (!) which removed the crap info from the wav which caused Blitz to loop. |
| ||
| Sounds like it was an FMOD bug if v1.87 fixed it... |