#!/bin/bash export PATH=$PATH:/usr/speech #adquire a number ./raw2bf -be 25 -ee 150 -n 1 -raw aux.raw > /dev/null #transform from raw to bf. ./raw2bf -be 0 -ee 0 aux.raw > aux.bf #Vectorial quantification #with the built codebook. ./bf2str -c DIG.cdbk aux.bf > aux.str #Classification n=`/bin/cat aux.str | ./strclass -m DIG.hmm` echo $n