Ru/Looping a sound: Difference between revisions
(Created page with "{{toc-right}} A looped sound will repeat endlessly without any gap between its end and start. It is up to the sound artist to ensure that the end and start of the file match...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{otherlang2 | |||
|title=Зацикливание звука | |||
|en=Looping a Sound | |||
}} | |||
{{toc-right}} | {{toc-right}} | ||
Зацикленный звук будет повторяться бесконечно, без разрыва между его концом и началом. Для этого необходимо, чтобы начало и конец файла совпадали, иначе звук будет прыгать или воспроизводиться с щелчком. | |||
'''Source | '''Source находит зацикленные звуки ТОЛЬКО через контрольные точки, вложенные в файл.''' Это касается только формата WAV, MP3-шки не зацикливаются. WAV, сжатый MS-ADPCM, может быть закольцован, но в результате сжатия при новом запуске звука будет возникать щелчок. ([http://www.compuphase.com/mp3/mp3loops.htm Но, чего теоретически можно избежать для любого сжатого фрмата, включая MP3.]) | ||
{{note|There is no need to mark a sound as looping when playing it, but if using [[ambient_generic]] you will find that the "Is NOT Looped" flag must be set correctly if you want to stop the sound after it starts!}} | {{note|There is no need to mark a sound as looping when playing it, but if using [[ambient_generic]] you will find that the "Is NOT Looped" flag must be set correctly if you want to stop the sound after it starts!}} |
Revision as of 23:49, 31 July 2015
Зацикленный звук будет повторяться бесконечно, без разрыва между его концом и началом. Для этого необходимо, чтобы начало и конец файла совпадали, иначе звук будет прыгать или воспроизводиться с щелчком.
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