Cancel loading and all active/queued requests with ABORTED. Keeps a loaded instance reusable. Does not stop a separate recorder's capture; use that recorder's cancel as well.
Queue one completed clip after loading.
1–480,000 finite mono 16 kHz samples in [-1, 1], copied at invocation.
Optionaloptions: TranscribeOptions
Per-request hints, timestamps and cancellation; also snapshotted at invocation.
The transcript once earlier surviving requests finish.
Queue browser decoding and transcription in the same FIFO as PCM calls.
Encoded File/Blob; decoder support depends on the browser.
Optionaloptions: TranscribeOptions
Per-request hints, timestamps and a signal covering both decode and inference.
The completed transcript; files exceeding 30 seconds reject without truncation.
ReadonlyerrorLatest failure, including ABORTED; cleared when starting new work or on success.
ReadonlypendingNumber of active and queued transcription requests; excludes model loading and recording.
ReadonlyprogressMost recent truthful per-asset initialization progress, or undefined before loading.
ReadonlyreadyWhether load has completed. Active inference cancellation may require worker recovery.
ReadonlyresultLast successful transcript; retained across cancellation and pagehide/effect replay.
ReadonlystatusCurrent loading or active request stage; idle also includes an unloaded engine.
State and actions returned by useWhistle. Actions reject typed errors; observe their promises.