{"category":"audio","endpoint":"https://setget.net/v1/tools/audio-silence-trim","examples":[{"input":{"file":"sample.mp3"},"title":"Trim the ends of a recording"},{"input":{"file":"sample.mp3","format":"wav","padding":0,"threshold":-30},"title":"No padding, WAV result"}],"input_schema":{"additionalProperties":false,"properties":{"file":{"description":"The audio file.","format":"setget-file","type":"string","x-accept":["audio"]},"format":{"description":"Format of the result: mp3, wav, ogg, opus, flac or m4a. Leave empty to keep the format of the upload.","enum":["mp3","wav","ogg","opus","flac","m4a"],"type":"string"},"min_silence":{"default":0.1,"description":"Shortest silence worth removing, in seconds.","maximum":60,"minimum":0.05,"type":"number"},"padding":{"default":0.05,"description":"Seconds of silence to leave at each end, so the sound does not start abruptly.","maximum":5,"minimum":0,"type":"number"},"threshold":{"default":-40,"description":"How quiet counts as silence, in dB below full volume. -40 suits most recordings; use -30 for a noisy room.","maximum":-10,"minimum":-90,"type":"number"}},"required":["file"],"type":"object"},"keywords":["remove silence","trim silence","strip silence","cut dead air","silence at start","silence at end","leading silence","trailing silence","clean recording"],"related":["audio-silence-detect","audio-split-on-silence","audio-trim","audio-to-stt-wav"],"slug":"audio-silence-trim","summary":"Remove the silence at the start and end of a recording, leaving the pauses in the middle untouched.","tier":"job","timeout_seconds":300,"title":"Trim silence from audio","url":"https://setget.net/tools/audio-silence-trim"}
