Initial import to Tizen
[profile/ivi/sphinxbase.git] / test / regression / test-sphinx_fe-logspec.sh
1 #!/bin/sh
2 . ./testfuncs.sh
3
4 tmpout="test-sphinx_fe-logspec.out"
5
6 echo "WAVE2FEAT-LOGSPEC TEST"
7 run_program sphinx_fe/sphinx_fe \
8 -logspec 1 \
9 -samprate 11025 \
10 -frate 105 \
11 -wlen 0.024 \
12 -alpha 0.97 \
13 -nfft 512 \
14 -nfilt 36 \
15 -upperf 5400 \
16 -lowerf 130 \
17 -blocksize 262500 \
18 -i $tests/regression/chan3.raw \
19 -input_endian little \
20 -o test-sphinx_fe-logspec.mfc.out  \
21 -raw 1 > $tmpout 2>&1 
22
23 run_program sphinx_cepview/sphinx_cepview \
24 -i 36 \
25 -d 36 \
26 -f test-sphinx_fe-logspec.mfc.out \
27 > test-sphinx_fe-logspec.cepview.out 2>>$tmpout
28
29 compare_table "WAVE2FEAT-LOGSPEC test" test-sphinx_fe-logspec.cepview.out \
30     $tests/regression/chan3-logspec.cepview 0.2