AudioTrimJob
Extracts a time range from an audio file, producing a shorter clip. Go method:Client.AudioTrim(ctx, job)
Parameters
Path to the source audio file.
Path for the trimmed output file.
Start time of the clip in seconds.
End time of the clip in seconds.
Example
AudioNormalizeJob
Normalizes audio loudness to a target LUFS level using integrated loudness measurement (EBU R128). Go method:Client.AudioNormalize(ctx, job)
Parameters
Path to the source audio file.
Path for the normalized output file.
Target integrated loudness in LUFS. Example:
-14.0. See the table below for platform recommendations.Loudness gate threshold in LUFS. Segments quieter than this value are excluded from the integrated loudness measurement. Example:
-50.0.LUFS targets by platform
| Target | Platform | Standard |
|---|---|---|
-14 LUFS | YouTube | YouTube loudness normalization |
-16 LUFS | Spotify | Spotify loudness normalization |
-23 LUFS | Broadcast | EBU R128 broadcast standard |
Example
AudioSilenceTrimJob
Removes leading and trailing silence from an audio file based on a decibel threshold. Go method:Client.AudioSilenceTrim(ctx, job)
Parameters
Path to the source audio file.
Path for the silence-trimmed output file.
Silence detection threshold in dBFS. Audio below this level is treated as silence. Defaults to
-40. Example: -40.0.Minimum duration in seconds that a silent segment must have to be removed. Defaults to
0.5. Use a higher value to avoid cutting short natural pauses.