Passer au contenu principal

Maintenance / update/install

sudo systemctl start/stop/status voice

https://rhasspy.readthedocs.io/en/latest/installation/#virtual-environment

Installation

  • (clone le repo)
  • export PIP_VERSION="pip<=20.2.4”
  • ./configure RHASSPY_LANGUAGE=fr --enable-in-place
  • make

With Gruut:

  • make install-init
  • comment or delete all install-init in the makefile
  • source .venv/bin/activate
  • install onnxruntime with pip from https://github.com/synesthesiam/prebuilt-apps/releases
  • install phonetisaurus with pip from https://github.com/rhasspy/phonetisaurus-pypi/releases
  • install gruut https://github.com/rhasspy/gruut/releases/tag/v0.9.0
  • make install in rhasspy dir

Without Gruut:

  • Edit setup.py and answer "no" to gruut installation
  • make install in rhasspy dir

Microphone

  • sudo apt install pulseaudio
  • pactl list sinks
  • pactl set-default-sink 0
  • vim ~/.asoundrc
pcm.!default { 
    type asym playback.pcm { type plug slave.pcm “hw:0” }
    capture.pcm { type plug slave.pcm “hw:1” }
}
  • reboot