Looping a sound

From Valve Developer Community
Revision as of 10:33, 1 October 2008 by Craziestdan (talk | contribs)
Jump to navigation Jump to search
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Intro

In this short tutorial you will learn how to loop any sound file. Looping sounds in Source requires a simple short process to be made. Sounds cannot be simply looped by checking the 'Sound is looped' flag of a ambient_generic, you must add cue points to a sound. To do we must use a program called Goldwave. Download it here. There is a free version available. Once installed you are ready to begin.

Adding the loop

Open Goldwave and open the sound you want to loop. Click the cues icon.Cues button.jpg Then in the new window, click on the New button, and add a cue At Start and then click New for another cue and add a cue At End. So it looks like this:

Cue dialog.jpg

Conclusion

And that's all. Repeat this process for any sounds you want looped.