• Looping Sounds - Techy
    4 replies, posted
In my modding experience I've been consistently running into a wall when it comes to looping sounds, I am not talking about designing sounds so they loop well, rather so that game engines and Source in particular recognizes that it needs to be looped. I haven't come here in search of a quick answer to avoid a simple Google search, the real problem has been discriminating between tutorials to make a clip loop better and telling an engine that it should loop at all, rather than building a 5 minute and 20mb file for a 7 second loop - Simply put, my question can't be summed up in a short phrase of words so far as I can imagine that belong in a Google search. I have heard mentionings of "markings" or configurations to cause clips to play say the first 2 seconds, loop the next five and then play the last 3 as the loop starts, loops and ends, I can even think of some examples used in hl2 and such, though I have never learned the exactness of how this happens and now it has come to a point where I can't continue without learning so. Thank you for reading and I hope this can be quickly solved. Also, this seems like something that has been and would need to be answered many times before, a simple redirect to the appropriate thread would be fine by me.
I'm not sure, I use a clever method to get a sound that properly loops, though. I use Audio Compositor, a Soundfont utility, add loop points at appropriate points (Start and end) and then save the sample. It's a bit wonky, but it works.
I remember reading in 'Raising the Bar' that sounds are cached in some form but if there is some corruption on the client side while the sound is playing it will only play what it has heard up to that point over and over.
No luck with Audio Compositor, but I found some things now that you've given me the right keyword - Loop Points. There's a thread about how Audacity doesn't support loop points, which I've been using up to now, and a reference to Wavosaur ([url]http://www.wavosaur.com[/url]), which I've also found a looping tutorial for. Its incredibly straight forward. [url]http://www.wavosaur.com/tutorials/how-to-make-loop.php[/url] Hopefully my incompetence with naming ideas/keywords will help someone else.
Well I know how to make a sound loop forever but, not specifics like you said in the OP. Just add markings called whatever in the very start and the very end of the sound. I use GoldWave to do that (and to edit sounds in general) Then go in-game and do snd_rebuildaudiocache
Sorry, you need to Log In to post a reply to this thread.