NeonGeckoCom / neon-iris

Interactive Relay for Intelligence Systems
Other
2 stars 2 forks source link

Add NeonVoiceClient class for minimal remote audio client #23

Closed NeonDaniel closed 7 months ago

NeonDaniel commented 9 months ago

Description

Adds a minimal voice client with audio input/response handling

Issues

Needs https://github.com/NeonGeckoCom/neon-messagebus-mq-connector/pull/46

Other Notes

Testing with config (~/.config/neon/diana.yaml)

MQ:
  server: 2021.us
  port: 25672
  users: 
    mq_handler:
      user: neon_api_utils
      password: Klatchat2021
VAD:
  module: ovos-vad-plugin-silero
microphone:
#  module: ovos-microphone-plugin-arecord
  module: ovos-microphone-plugin-alsa
listener:
  save_utterances: true
hotwords:
  hey_mycroft:
    active: false
    module: ovos-ww-plugin-precise
    listen: true
    sound: snd/start_listening.wav
    version: "0.3"
    model: "https://github.com/MycroftAI/precise-data/raw/models-dev/hey-mycroft.tar.gz"
  hey_neon:
    active: true
    module: ovos-ww-plugin-vosk
    listen: true
    sound: snd/start_listening.wav
    debug: false
    rule: fuzzy
    lang: en
    samples:
      - hey neon