transcribe_audio_file
Transcribe an audio file to text using Whisper, supporting many audio formats, and return transcript along with timing diagnostics.
Instructions
Transcribe an audio file at a given path. Accepts any format ffmpeg can read (wav, mp3, m4a, ogg, flac, webm, etc. — auto-detected). Routes through the same Python Whisper engine the Windy Word desktop app uses for live transcripts (no cold start when the engine is warm — WebSocket-routed for sub-second hand-off). Returns transcript text + timing diagnostics (transcribeMs, audioDurationSec, ratio = transcribe/audio, modelUsed). 500MB file cap; 60s ffmpeg ceiling; 120s WS ceiling. Designed for individual files — agents wanting bulk processing should iterate over a directory and call this per file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or working-dir-relative path to the audio file. | |
| language | No | ISO-639-1 language hint for Whisper (default "en"). Pass "auto" to let the model detect. |