Sample rate is the first number to check when an audio file is too large or a transcription request is rejected.
How it works
Digital audio stores the sound wave as a list of numbers, one per sample. At 16,000 Hz there are 16,000 numbers per second per channel. Each number takes 2 bytes at 16-bit depth. Uncompressed WAV size is therefore:
bytes per second = sample rate x bytes per sample x channels
16 kHz, 16-bit, mono: 16,000 x 2 x 1 = 32,000 B/s -> x 60 = 1,920,000 B per minute
44.1 kHz, 16-bit, stereo: 44,100 x 2 x 2 = 176,400 B/s -> x 60 = 10,584,000 B per minute
Speech models are usually trained on 16 kHz audio. OpenAI’s Whisper code sets SAMPLE_RATE = 16000 and loads every file through ffmpeg with -ac 1 -ar 16000. In FFmpeg’s own documentation, -ar sets the audio sampling frequency and -ac the number of channels.
Why it matters
- File size limits. A CD-quality stereo WAV is 10,584,000 / 1,920,000 = 5.5 times bigger than 16 kHz mono with no gain for a 16 kHz model.
- Upload time. Smaller files reach the API faster, which matters for voice bots.
- Compatibility. Tools like voice activity detection accept only certain rates (WebRTC VAD takes 8, 16, 32 or 48 kHz).
- Do not upsample. Converting an 8 kHz phone call to 16 kHz makes the file twice as big but adds no detail.
On BroadNet Inference
BroadNet’s transcription endpoint accepts WAV or MP3 up to 26,214,400 bytes (25 MiB) per file. Its docs convert WhatsApp .ogg notes and .m4a recordings with:
ffmpeg -i voice-note.ogg -ar 16000 -ac 1 voice-note.wav
How much audio fits in one request as 16-bit WAV:
| Format | Bytes per minute | Fits in 26,214,400 bytes |
|---|---|---|
| 16 kHz mono | 1,920,000 | 26,214,400 / 1,920,000 = 13.65 min, about 13 min 39 s |
| 44.1 kHz stereo | 10,584,000 | 2.48 min, about 2 min 29 s |
For anything longer, split into 10-minute segments (600 s x 32,000 B/s = 19,200,000 bytes each), as the WhatsApp voice notes guide shows, or send MP3, which is far smaller per minute. Always set language. Billing is per audio minute, not per byte, so the sample rate changes upload size but not the price; check costs in the speech-to-text cost calculator. For the bigger picture see speech-to-text.