Skip to content

Instantly share code, notes, and snippets.

@seblemaguer
Created February 8, 2021 13:18
Show Gist options
  • Select an option

  • Save seblemaguer/4787517a9dd25d1cffc1a11a20fb711f to your computer and use it in GitHub Desktop.

Select an option

Save seblemaguer/4787517a9dd25d1cffc1a11a20fb711f to your computer and use it in GitHub Desktop.
Espeak installation script for Katri
#!/bin/bash
# Set root directory
ROOT_DIR=$PWD/espeak
# Prepare environment
mkdir -p $ROOT_DIR
# Clone the respository
git clone https://github.com/espeak-ng/espeak-ng.git $ROOT_DIR/src
# Go to the source directory, configure, compile and install into a local environment directory
(
cd $ROOT_DIR/src;
./autogen.sh;
./configure --prefix $ROOT_DIR/local;
make;
make install
)
# Test
$ROOT_DIR/local/bin/espeak-ng -v fi-fi --stdout "Kalevala on Suomen kansalliseepos" > test.wav
# (cd $ROOT_DIR/src; make; make install); $ROOT_DIR/local/bin/espeak-ng -v fi-fi --stdout "Kalevala on Suomen kansalliseepos" | paplay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment