set_audio_channels
Change the number of audio channels in a file to mono or stereo. Specify the input file, output path, and desired channel count to convert the channel layout.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |