make_loop
Converts an existing sound file into a seamless loop by blending the ending into the start to eliminate clicks; optionally trims fade-ins or fade-outs first.
Instructions
Turn an existing sound file into a seamless loop, saving a new file.
The last crossfade_s seconds are blended into the start so it repeats with no click.
Use trim_s to cut that many seconds off both ends first (to drop a fade-in or fade-out).
The result is shorter than the original by the crossfade plus the trims, and the sound
should be at least three times the crossfade long. Works best on ambience such as wind,
rain or hums. format defaults to the source file's format; WAV loops carry loop points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| format | No | ||
| trim_s | No | ||
| loudness | No | ||
| output_dir | No | ||
| crossfade_s | No |