Voice activation

Voice specs/voice/wake-word.kmd

Step diagram

  1. User opts into voice in Settings

    User

    Master switch defaults OFF. Enabling it surfaces the secondary toggles (talk mode, hot word, debug record).

  2. App requests mic permission

    App

    Platform permission dialog. Denied means the toggles flip back OFF; revisit Settings to retry.

  3. User says the wake word

    User

    "Hey Koder" or the configured hot phrase. Pre-wake ring buffer is strictly local — never leaves the device.

  4. SDK detects the wake

    SDK

    openWakeWord (default) or Porcupine (fallback) flips the audio capture into talk mode.

  5. App enters talk mode

    App

    Visual chrome flips to the talk-mode state; mic stays open until idle timeout or barge-in stops it.

  6. User says "never mind"

    User

    App leaves talk mode; mic returns to the wake-word standby buffer.

Common pitfalls