Skip to content
Edith

Docs

Command reference

ed voice file

Terminal
ed voice file FILE [--raw] [--json]

Runs a WAV, AIFF, M4A or CAF file through the same on-device recognizer and cleanup that dictation uses and prints the text. Nothing is typed, copied or added to history. --raw keeps the words as spoken, with no capitals or sentence punctuation added. Needs Speech Recognition access; a file that cannot be read exits with a not found error. JSON output has file, text, recognized (the text before cleanup), words, locale and engine.