convert_audio_properties
Convert audio files to a new format while adjusting bitrate, sample rate, and channels. Specify input and output paths, target format, and optional properties for full control.
Instructions
Converts audio file format and ALL specified properties like bitrate, sample rate, and channels.
Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the converted audio file. target_format: Desired output audio format (e.g., 'mp3', 'wav', 'aac'). bitrate: Target audio bitrate (e.g., '128k', '192k'). Optional. sample_rate: Target audio sample rate in Hz (e.g., 44100, 48000). Optional. channels: Number of audio channels (1 for mono, 2 for stereo). Optional. Returns: A status message indicating success or failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bitrate | No | ||
| channels | No | ||
| sample_rate | No | ||
| target_format | Yes | ||
| input_audio_path | Yes | ||
| output_audio_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |