Skip to content

Commit

Permalink
catalan
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 27, 2024
1 parent 37aea34 commit 85f3d42
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions build_raspOVOS_ca.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@ set -e
# TODO - reuse previous image instead, failing for some reason
bash /mounted-github-repo/build_raspOVOS.sh

echo "Downloading default TTS + wake word models..."

# Activate the virtual environment
source /home/$USER/.venvs/ovos/bin/activate


# install matxa
echo "Installing Matxa TTS..."
pip install ovos-tts-plugin-matxa-multispeaker-cat
apt-get install -y automake libtool
git clone https://github.com/espeak-ng/espeak-ng.git /tmp/espeak-ng
cd /tmp/espeak-ng
./autogen.sh && ./configure && make && make install
rm -rf /tmp/espeak-ng


echo "Downloading catalan vosk model..."
# Download and extract VOSK model
VOSK_DIR="/home/$USER/.local/share/vosk"
mkdir -p $VOSK_DIR
Expand All @@ -20,14 +35,6 @@ rm $VOSK_DIR/vosk-model-small-ca-0.4.zip
EN_PIPER_DIR="/home/$USER/.local/share/piper_tts/voice-en-gb-alan-low"
rm -rf "$EN_PIPER_DIR"

# install matxa
pip install ovos-tts-plugin-matxa-multispeaker-cat
apt-get install -y automake libtool
git clone https://github.com/espeak-ng/espeak-ng.git /tmp/espeak-ng
cd /tmp/espeak-ng
./autogen.sh && ./configure && make && make install
rm -rf /tmp/espeak-ng

echo "Configuring mycroft.conf for catalan..."
cp -v /mounted-github-repo/mycroft.conf /home/$USER/.config/mycroft/mycroft.conf

Expand Down

0 comments on commit 85f3d42

Please sign in to comment.