Live Demo of an Automatic Speech Recognition
Here are a few hints for evaluating your ASR system with live input.
- On the solaris desktop, to access the necessary binaries, set the
path as follows:
export PATH=$PATH:/home/arnab/bin/htk/bin.sun4_solaris
- Using the left button of the mouse, access the audio control in
the application menu and make sure the monitor volume in record mode
is set to zero. Wear the head-mounted microphone and position the mic
below your chin, out of the way of your exhalation.
- Record your input using the following command. Remember, the
recognizer only knows about digits. It has been trained with natural
sounding digit strings. To make your recording sound natural, it might
help to write the numbers beforehand or use familiar number strings.
audiorecord -p mic -c 1 -s 8000 -e linear test.wav
- Play back the audio to check the recording.
audioplay test.wav
- Set the parameters of evaluation system. e.g.
immf=/export/arnab/work/summer-school06/live/MMF
dict=/export/arnab/work/summer-school06/live/dict
mlist=/export/arnab/work/summer-school06/live/wrdlist
wdnet=/export/arnab/work/summer-school06/live/wdnet
cfg=/export/arnab/work/summer-school06/live/CF.file
- Now, decode the utterance.
HVite -T 1 -C $cfg -H $immf -w $wdnet $dict $mlist test.wav
Eureka! And hopefully, this is what you spoke.