convert_audio_properties
Transform audio files by converting formats, adjusting bitrate, sample rate, and channels for precise customization in audio editing workflows.
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 |