set_audio_channels
Modify audio channel configuration by setting mono (1 channel) or stereo (2 channels) layouts for an audio file, ensuring compatibility with specific playback or editing requirements.
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 |