1
0
Fork 0

First version

This commit is contained in:
Florian RICHER 2022-04-30 17:37:45 +02:00
parent f1ef5ec58a
commit 8075bbe5ec
4 changed files with 28 additions and 0 deletions

1
.python-version Normal file
View file

@ -0,0 +1 @@
3.9.11

View file

@ -10,6 +10,20 @@ Too fix it, you can use script in bellow
sudo ./fix_snowboy_bin.sh sudo ./fix_snowboy_bin.sh
``` ```
# pico2wave
```bash
sudo pamac install svox-pico-bin
```
# Arch linux
You must use pyenv because pyaudio crash with python3.10
```bash
pacman -S pyenv
```
# kalliope starter config fr # kalliope starter config fr
This is an out of the box working configuration for french kalliope user. This is an out of the box working configuration for french kalliope user.

12
configure_env.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Use to install first time
pyenv install
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
pip install kalliope
kalliope install --git-url https://github.com/veka-server/kalliope-vosk.git
# wget https://alphacephei.com/vosk/models/vosk-model-fr-0.22.zip
unzip -j vosk-model-fr-0.22.zip -d resources/stt/vosk/model-fr-full/
# cp /usr/lib/python3.10/site-packages/snowboy/_snowboydetect.so $HOME/.pyenv/versions/3.9.11/lib/python3.9/site-packages/kalliope/trigger/snowboy/$(uname -m)/python39/

View file

@ -48,6 +48,7 @@ speech_to_text:
client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA==" client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
- vosk: - vosk:
log-level: -1 log-level: -1
language: "resources/stt/vosk/model-fr"
#- cmusphinx #- cmusphinx
# --------------------------- # ---------------------------