convert_audio_properties
Convert audio file formats and adjust properties like bitrate, sample rate, and channels. Specify input and output paths, target format, and optional parameters for customized audio conversion.
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 | ||
input_audio_path | Yes | ||
output_audio_path | Yes | ||
sample_rate | No | ||
target_format | Yes |