set_audio_sample_rate
Modify the sample rate of an audio file to a specified value, saving the adjusted file to a designated path. Use this tool to ensure compatibility or optimize audio quality for specific applications.
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 |