set_audio_sample_rate
Adjust the sample rate of an audio file by specifying input/output paths and target rate (e.g., 44100Hz). Ideal for audio compatibility and quality optimization.
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 |
---|---|---|---|
input_audio_path | Yes | ||
output_audio_path | Yes | ||
sample_rate | Yes |