Get DeepFormants working again

* Minor syntax tweaks to make the code Python 3 compatible

* Fixes for various NumPy warnings/errors, either due to use of "float"
  where "int" is required, or domain errors on log functions

* Replaced the use of the obsolete Python-2-only scikits.talkbox
  library with a compatible LPC implementation from the Conch project

* Documentation update to indicate that an old version of "rnn" is
  required

* Invoke Lua scripts via "luajit" directly, instead of going through
  the "th" frontend (to reduce the dependency footprint)
This commit is contained in:
Daniel Richard G
2020-01-17 15:11:16 -05:00
parent 34e764bbcf
commit e759570f98
5 changed files with 317 additions and 30 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ if [ $# -eq 2 ]
then
tempfile=`mktemp -t txt`
python extract_features.py $1 $tempfile
th load_estimation_model.lua $tempfile $2
luajit load_estimation_model.lua $tempfile $2
elif [ $# -eq 4 ]
then
tempfile=`mktemp -t txt`
python extract_features.py $1 $tempfile --begin $3 --end $4
th load_estimation_model.lua $tempfile $2
luajit load_estimation_model.lua $tempfile $2
else
echo "$0 wav_filename pred_csv_filename [begin_time end_time]"
fi