Ru/Looping a sound

From Valve Developer Community
< Ru
Revision as of 23:58, 31 July 2015 by Alvagor (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2

Зацикленный звук будет повторяться бесконечно, без разрыва между его концом и началом. Для этого необходимо, чтобы начало и конец файла совпадали, иначе звук будет прыгать или воспроизводиться с щелчком.

Source находит зацикленные звуки ТОЛЬКО через контрольные точки, вложенные в файл. Это касается только формата WAV, MP3-шки не зацикливаются. WAV, сжатый MS-ADPCM, может быть закольцован, но в результате сжатия при новом запуске звука будет возникать щелчок. (То, чего теоретически можно избежать для любого сжатого фрмата, включая MP3.)

Template:Note:ru

Template:Warning:ru

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. (Cues button.jpg) 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 dialog.jpg

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.

Warning.pngПредупреждение:It seems that the end cue maybe doesn't have any effect at all. See the Discussion page for more details.

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