File: test-sphinx_pitch.sh

package info (click to toggle)
sphinxbase 0.8%2B5prealpha%2B1-16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,720 kB
  • sloc: ansic: 28,813; sh: 11,875; makefile: 705; python: 338; perl: 127; yacc: 93; lex: 50
file content (18 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
. ./testfuncs.sh

tmpout="test-sphinx_pitch.out"

echo "PITCH TEST"
run_program sphinx_adtools/sphinx_pitch \
-samprate 11025 \
-i $tests/regression/chan3.raw \
-input_endian little \
-o test-sphinx_pitch.f0  \
-raw yes > $tmpout 2>&1 

compare_table "PITCH test" test-sphinx_pitch.f0 $tests/regression/chan3.f0 0.1

if test x"$failures" != x; then
  cat $tmpout 1>&2
fi