"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "testsuite/lpc.sh" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

lpc.sh  (speech_tools-2.4-release):lpc.sh  (speech_tools-2.5.0-release)
skipping to change at line 53 skipping to change at line 53
/bin/rm -f tmp/kdt_001.lpc /bin/rm -f tmp/kdt_001.lpc
/bin/rm -f tmp/kdt_001.res /bin/rm -f tmp/kdt_001.res
echo "LPC params" >&2 echo "LPC params" >&2
echo "LPC params" echo "LPC params"
$SIG2FV "$DATA/kdt_001.wav" -o tmp/kdt_001.lpc -otype est -lpc_order 16 -coefs "lpc" -pm "$DATA/kdt_001.pm" -preemph 0.95 -factor 3 -window_type hamming $SIG2FV "$DATA/kdt_001.wav" -o tmp/kdt_001.lpc -otype est -lpc_order 16 -coefs "lpc" -pm "$DATA/kdt_001.pm" -preemph 0.95 -factor 3 -window_type hamming
$SIGFILTER "$DATA/kdt_001.wav" -o tmp/kdt_001.res -otype nist -lpcfilter tmp/kdt_001.lpc -inv_filter $SIGFILTER "$DATA/kdt_001.wav" -o tmp/kdt_001.res -otype nist -lpcfilter tmp/kdt_001.lpc -inv_filter
$CH_TRACK -info tmp/kdt_001.lpc $CH_TRACK -info tmp/kdt_001.lpc
$CH_WAVE -info tmp/kdt_001.res $CH_WAVE -info tmp/kdt_001.res
# Should not be any of these unless there is an error # Should not be any of these unless there is an error
grep "0.000000" tmp/kdt_001.lpc grep " 0 " tmp/kdt_001.lpc
grep "NaN" tmp/kdt_001.lpc grep "NaN" tmp/kdt_001.lpc
grep -i "Infinity" tmp/kdt_001.lpc grep -i "Infinity" tmp/kdt_001.lpc
} }
mfcc_test () { mfcc_test () {
/bin/rm -f tmp/kdt_001.mfcc /bin/rm -f tmp/kdt_001.mfcc
echo "MFCC params" >&2 echo "MFCC params" >&2
echo "MFCC params" echo "MFCC params"
$SIG2FV -coefs melcep -delta melcep -melcep_order 12 -fbank_order 24 -s hift 0.005 -factor 5.0 -preemph 0.97 -otype est "$DATA/kdt_001.wav" -o tmp/kdt_0 01.mfcc $SIG2FV -coefs melcep -delta melcep -melcep_order 12 -fbank_order 24 -s hift 0.005 -factor 5.0 -preemph 0.97 -otype est "$DATA/kdt_001.wav" -o tmp/kdt_0 01.mfcc
$CH_TRACK -info tmp/kdt_001.mfcc $CH_TRACK -info tmp/kdt_001.mfcc
echo "expect one line containing 0s (first delta params)" echo "expect one line containing 0s (first delta params)"
numzeros=`grep "0.000000" tmp/kdt_001.mfcc | wc -l` numzeros=`grep " 0 " tmp/kdt_001.mfcc | wc -l`
echo "Number of vectors with 0s is " $numzeros echo "Number of vectors with 0s is " $numzeros
} }
echo >$OUTPUT echo >$OUTPUT
lpc_test 2>&1 >> $OUTPUT lpc_test 2>&1 >> $OUTPUT
mfcc_test 2>&1 >> $OUTPUT mfcc_test 2>&1 >> $OUTPUT
exit 0 exit 0
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)