mcp_opendaw_convert_audio
Convert exported WAV files to MP3 or FLAC using system ffmpeg. Set bitrate and VBR quality to control size and fidelity.
Instructions
Convert an exported WAV file to MP3 or FLAC using system ffmpeg.
filename: Source WAV filename (without .wav extension, in the export dir). format: 'mp3' or 'flac' (default 'mp3'). bitrate: MP3 bitrate for CBR mode (default '320k'). Ignored for FLAC. quality: MP3 VBR quality 0-9 (0=best, 9=worst). Use -1 for CBR (default).
Requires system ffmpeg (not browser WASM). Falls back gracefully if missing. Returns path to the converted file and size info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | mp3 | |
| bitrate | No | 320k | |
| quality | No | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |