set_audio_channels
Configure audio channel layout in files by converting to mono (1 channel) or stereo (2 channels). Input source file, specify output path, and define desired channel count for processing.
Instructions
Sets the number of channels for an audio file (1 for mono, 2 for stereo). Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the audio file with the new channel layout. channels: Number of audio channels (1 for mono, 2 for stereo). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channels | Yes | ||
input_audio_path | Yes | ||
output_audio_path | Yes |