opus/dnn/autogen.sh
Jean-Marc Valin 3e7ab9ff87 update model
2021-07-10 01:59:49 -04:00

19 lines
487 B
Bash
Executable file

#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
set -e
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"
#SHA1 of the first commit compatible with the current model
commit=0e434ab
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