Skip to main content

Synopsis

moorcheh-edge voice listen [options]
Records from the default (or selected) ALSA capture device and transcribes with Whisper tiny.en.

Options

FlagDefaultDescription
--seconds-Fixed recording length (disables silence detection)
--until-silence / --no-until-silenceonStop when you pause speaking
--max-seconds30Max length when using silence detection
--capture-deviceenv defaultALSA device, e.g. plughw:1,0 (or MOORCHEH_AUDIO_CAPTURE)
--jsonoffPrint {"text": "..."} instead of plain text

Examples

moorcheh-edge voice listen
moorcheh-edge voice listen --seconds 5
moorcheh-edge voice listen --capture-device plughw:1,0 --json

Output

Prints transcribed text to stdout, or JSON when --json is set.