audio_convert
Convert audio to MP3, AAC, OPUS, FLAC, WAV, or OGG with options for bitrate, mono, and sample rate. Handles files up to 200 MB.
Instructions
Audio converter. Convert audio between MP3, AAC, OPUS, FLAC, WAV and OGG. Pick a bitrate, drop it to mono, change the sample rate. Accepts audio/*, .m4a, .opus, .aac, .wma; up to 200 MB per file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mono | No | Mix down to one channel. Halves the size of speech recordings | |
| paths | Yes | Paths to the files to process, absolute or relative to the working directory. | |
| format | Yes | Output format | |
| outputDir | No | Where to put the results. Defaults to the folder each source file came from. Existing files are never overwritten. | |
| sampleRate | No | Sample rate. «As is» keeps the original | same |
| bitrateKbps | No | Bitrate in kbps. Ignored for FLAC and WAV — they are lossless |