Last active
October 8, 2023 13:45
-
-
Save putnik/26d8a8ad70cd428bb79bbe0c25811bfe to your computer and use it in GitHub Desktop.
OpenVoiceOS Russian config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure RPi | |
sudo /sbin/iwconfig wlan0 power off | |
sudo sed -i 's/^exit 0/\/sbin\/iwconfig wlan0 power off\n\nexit 0/g' /etc/rc.local | |
# Install Docker | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh ./get-docker.sh | |
sudo usermod -aG docker $USER | |
newgrp docker | |
# Prepare ovos-docker | |
sudo apt-get install git | |
git clone https://github.com/OpenVoiceOS/ovos-docker.git -b dev | |
mkdir -p ~/ovos/{config,share,tmp} ~/hivemind/{config,share} | |
chown ${USER}:${USER} -R ~/ovos ~/hivemind | |
cd ~/ovos-docker/compose | |
# Configure ovos-docker | |
cp .env-raspberrypi .env | |
curl https://gist.githubusercontent.com/putnik/26d8a8ad70cd428bb79bbe0c25811bfe/raw/mycroft.conf --output ~/ovos/config/mycroft.conf | |
echo "espeak_phonemizer\ngit+https://github.com/OpenVoiceOS/ovos-tts-plugin-piper.git@dev" > ~/ovos/config/audio.list | |
# Run docker containers | |
sudo service docker start | |
docker compose --project-name ovos --file docker-compose.yml --file docker-compose.raspberrypi.yml --file docker-compose.skills.yml up --detach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"debug": true, | |
"log_level": "DEBUG", | |
"listener": { | |
"wake_word": "marvin", | |
"microphone": { | |
"module": "ovos-microphone-plugin-alsa" | |
}, | |
"device": "hw:3,0" | |
}, | |
"hotwords": { | |
"marvin": { | |
"module": "ovos-ww-plugin-precise-lite", | |
"listen": true, | |
"active": true, | |
"sound": "snd/start_listening.wav", | |
"model": "https://github.com/putnik/OpenVoiceOS-russian/blob/main/marvin.tflite" | |
} | |
}, | |
"play_wav_cmdline": "aplay %1", | |
"lang": "ru-ru", | |
"stt": { | |
"module": "ovos-stt-plugin-vosk", | |
"ovos-stt-plugin-vosk": { | |
"model": "https://alphacephei.com/vosk/models/vosk-model-small-ru-0.22.zip" | |
} | |
}, | |
"tts": { | |
"module": "ovos-tts-plugin-piper", | |
"ovos-tts-plugin-piper": { | |
"model": "irina-medium" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment