Skip to content

Commit

Permalink
maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
builderjer committed Aug 25, 2023
1 parent 154acd6 commit 23602d8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 1 addition & 2 deletions stage-audio/01-speech/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share"
install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share/piper_tts"
install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share/piper_tts/voice-en-gb-alan-low"

wget https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-gb-alan-low.tar.gz
mv voice-en-gb-alan-low.tar.gz "${ROOTFS_DIR}/home/ovos/.local/share/piper_tts/voice-en-gb-alan-low/"
wget https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-gb-alan-low.tar.gz -P "${ROOTFS_DIR}/home/ovos/.local/share/piper_tts/voice-en-gb-alan-low/voice-en-gb-alan-low.tar.gz"
tar -xvzf "${ROOTFS_DIR}/home/ovos/.local/share/piper_tts/voice-en-gb-alan-low/voice-en-gb-alan-low.tar.gz"

install -v -m 0644 files/ovos-audio.service "${ROOTFS_DIR}/etc/systemd/user/ovos-audio.service"
Expand Down
2 changes: 2 additions & 0 deletions stage-audio/01-speech/02-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ pip3 install git+https://github.com/builderjer/ovos-tts-plugin-piper
pip3 install git+https://github.com/OpenVoiceOS/ovos-tts-server-plugin
pip3 install git+https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic

pip3 install espeak_phonemizer

pip3 install padatious
pip3 install fann2==1.0.7
7 changes: 3 additions & 4 deletions stage-audio/02-voice/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share"

install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share/openwakeword"
install -v -d -m 0755 "${ROOTFS_DIR}/home/ovos/.local/share/precise_lite"

wget https://github.com/dscripka/openWakeWord/blob/main/openwakeword/resources/models/hey_mycroft_v0.1.onnx
wget https://github.com/dscripka/openWakeWord/blob/main/openwakeword/resources/models/hey_mycroft_v0.1.onnx -P "${ROOTFS_DIR}/home/ovos/.local/share/openwakeword/hey_mycroft_v0.1.onnx"

install -v -m 0644 hey_mycroft_v0.1.onnx "${ROOTFS_DIR}/home/ovos/.local/share/openwakeword/"

rm hey_mycroft_v0.1.onnx
wget https://github.com/OpenVoiceOS/precise-lite-models/blob/master/wakewords/en/hey_mycroft.tflite -P "${ROOTFS_DIR}/home/ovos/.local/share/precise_lite/hey_mycroft.tflite"

install -v -m 0644 files/ovos-dinkum-listener.service "${ROOTFS_DIR}/etc/systemd/user/ovos-dinkum-listener.service"
install -v -m 0755 files/ovos-systemd-dinkum-listener "${ROOTFS_DIR}/usr/libexec/ovos-systemd-dinkum-listener"
Expand Down
7 changes: 5 additions & 2 deletions stage-core/01-ovos-core/files/mycroft.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"hotwords": {
"hey_mycroft": {
"module": "ovos-ww-plugin-precise-lite",
"model": "https://github.com/OpenVoiceOS/precise-lite-models/raw/master/wakewords/en/hey_mycroft.tflite",
"model": "/home/ovos/.local/share/precise_lite/hey_mycroft.tflite",
"listen": true,
"sound": "snd/start_listening.wav",
"expected_duration": 3,
Expand All @@ -22,6 +22,7 @@
},
"hey_mycroft_openwakeword": {
"module": "ovos-ww-plugin-openwakeword",
"models": ["/home/ovos/.local/share/openwakeword/hey_mycroft_v0.1.onnx"]
"threshold": 0.4,
"fallback_ww": "hey_mycroft_vosk"
},
Expand All @@ -41,7 +42,9 @@
},
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {},
"ovos-tts-plugin-piper": {
"model": "alan-low"
},
"fallback_module": "ovos-tts-plugin-mimic",
"ovos-tts-plugin-mimic": {
"voice": "ap"
Expand Down

0 comments on commit 23602d8

Please sign in to comment.