Skip to content
Snippets Groups Projects
Commit 849f3abf authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Making autogen.sh download and unpack the model

parent a0b0ece1
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,15 @@ set -e
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"
#SHA1 of the first commit compatible with the current model
commit=8ea8396
if [ ! -f lpcnet_data-$commit.tar.gz ]; then
echo "Downloading latest model"
wget https://media.xiph.org/lpcnet/data/lpcnet_data-$commit.tar.gz
fi
tar xvf lpcnet_data-$commit.tar.gz
echo "Updating build configuration files for lpcnet, please wait...."
autoreconf -isf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment