Change sample rate (8 / 16 / 22.05 / 32 / 44.1 / 48 / 96 / 192 kHz) for compatibility or storage. High-quality resampling, no aliasing artefacts.
Pick a target sample rate. Downsampling shrinks the file roughly proportionally to the rate ratio — useful for voice content. Upsampling rarely improves anything but is occasionally required by picky downstream tools.
Resampling runs through the WebCodecs audio resampler, which applies a polyphase filter to avoid aliasing in the result.
48 kHz — video/film standard. 44.1 kHz — CD/streaming standard. 22.05 / 32 — voice content. 16 / 8 — telephony.
96 / 192 — pro-audio mastering. Don't upsample for production; downsample for the target medium.
Most STT services prefer 16 kHz mono. Resample before feeding in.
Video wants 48 kHz. If your audio source is 44.1, resample first to avoid the encoder doing it for you with worse quality.
Downsample a 96 kHz master to 44.1 kHz for CD distribution.