Pre-recorded Audio
Sample Rate Requirements
The API accepts a range of sample rates. Files at other rates are automatically resampled.
Supported sample rates
| Sample Rate | Use Case | Notes |
|---|---|---|
8,000 Hz | Telephony (PSTN, IVR) | Standard for call center recordings. |
16,000 Hz | General purpose — recommended | Best balance of accuracy and file size. |
22,050 Hz | Broadcast audio | Accepted, resampled internally. |
44,100 Hz | CD quality | Accepted, resampled internally. |
48,000 Hz | Professional / studio | Accepted, resampled internally. |
Best practice: Convert audio to 16kHz before sending. Use:
ffmpeg -i input.wav -ar 16000 output.wav