export_sound
Convert wav, flac, ogg, or mp3 audio to another format, loudness target, sample rate, or trimmed length and save it as a new file while leaving the original untouched.
Instructions
Convert a sound file to another format, level or length, saving a new file.
path is any wav, flac, ogg or mp3 file. format is wav, flac, ogg or mp3.
loudness is "game" (-16 LUFS), "web" (-14), "broadcast" (-23) or a number of LUFS;
peaks are kept 1 dB below full scale, so a very peaky sound may come out quieter than the
target (the result says so). sample_rate resamples (for example 44100). trim_silence
removes silence at both ends, and the fades are in seconds. The original file is untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| format | No | wav | |
| loudness | No | ||
| fade_in_s | No | ||
| fade_out_s | No | ||
| output_dir | No | ||
| sample_rate | No | ||
| trim_silence | No |