Created
February 8, 2021 13:18
-
-
Save seblemaguer/4787517a9dd25d1cffc1a11a20fb711f to your computer and use it in GitHub Desktop.
Espeak installation script for Katri
This file contains hidden or 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
| #!/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