Ru/Looping a sound
Зацикленный звук будет повторяться бесконечно, без разрыва между его концом и началом. Для этого необходимо, чтобы начало и конец файла совпадали, иначе звук будет прыгать или воспроизводиться с щелчком.
Source находит зацикленные звуки ТОЛЬКО через контрольные точки, вложенные в файл. Это касается только формата WAV, MP3-шки не зацикливаются. WAV, сжатый MS-ADPCM, может быть закольцован, но в результате сжатия при новом запуске звука будет возникать щелчок. (То, чего теоретически можно избежать для любого сжатого фрмата, включая MP3.)
Programs
These free programs can add cue points to a WAV:
GoldWave
Open Goldwave and open the sound you want to loop. Click the cues icon. ()
Then in the new window click on the New button and add a cue point At Start. Then click New for another cue point and add a point At End. So it looks similar to this:
Cue location
Your cues do not have to be at the start and end of the file. If you place them in the middle Source will start playing the sound normally, then when it reaches the end cue will loop back to the start cue. From then on only what's between the cues will play.

This can be used to give a sound a "winding up" effect that only plays once (e.g. a motor starting).
See Also
External Links
- Looping Menu Music - An Interlopers.net Tutorial on Soundlooping