Through programs such as adrec and cont_adseg, you get sets of raw data which (I'm assuming) is what was the recognized speech. How do I playback these raw files? Is there a mechanism in sphinx to do so? Or can I simply play them back in windows media player or some other music application?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure, you can. Normally programs like windows media player don't find enough information in the raw files to play them.
Try sox (http://sox.sourceforge.net) to convert them into wave files and play these files with your program.
For the conversion you should know the sampling rate, the number of channels and the number of bits per sample.
/Dirk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-25
You can also use the linux command "play" command, I use the following settings: play -t raw -r 16000 -f s -s w utterance.raw If you just want to playback to verify the utterance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Through programs such as adrec and cont_adseg, you get sets of raw data which (I'm assuming) is what was the recognized speech. How do I playback these raw files? Is there a mechanism in sphinx to do so? Or can I simply play them back in windows media player or some other music application?
Thanks
Sure, you can. Normally programs like windows media player don't find enough information in the raw files to play them.
Try sox (http://sox.sourceforge.net) to convert them into wave files and play these files with your program.
For the conversion you should know the sampling rate, the number of channels and the number of bits per sample.
/Dirk
You can also use the linux command "play" command, I use the following settings: play -t raw -r 16000 -f s -s w utterance.raw If you just want to playback to verify the utterance