set_audio_sample_rate
Set the sample rate of an audio file to a desired Hz value. Provide input and output audio paths and the target sample rate to convert files for playback or editing compatibility.
Instructions
Sets the sample rate for an audio file.
Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the audio file with the new sample rate. sample_rate: Target audio sample rate in Hz (e.g., 44100, 48000). Returns: A status message indicating success or failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample_rate | Yes | ||
| input_audio_path | Yes | ||
| output_audio_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |