Nonempty encoded audio; supported codecs depend on the browser.
Optional cancellation for decoding and rendering.
Newly owned finite PCM samples in [-1, 1], at most 480,000 samples.
WhistleError with AUDIO_DECODE_FAILED for invalid/unsupported input, AUDIO_TOO_LONG for files over 30 seconds, ABORTED on cancellation, or UNSUPPORTED_ENVIRONMENT when Web Audio is unavailable.
Web Audio decodes at 16 kHz independently of the output device's rate, then channels are averaged equally. This function never truncates long files. Cancellation closes the live context promptly and discards late output; a bounded offline render may finish before its source can be disconnected.
Decode a completed audio File/Blob into 16 kHz mono PCM for transcription.