Convert mp3 to WAV-------------- on Ubuntu-------------
apt-get -y install sox libsox-fmt-mp3
# convert mp3 to WAV (16kHz)
# sox -r 16000 -2 -s -t mp3 mp3filename wavfilename
sox -r 16000 -2 -s -t mp3 rec0505-004232.mp3 goforward.wav
alex1212a 9 months ago
I used Google Search:
+"asr.py" +sphinx
Installation Procedure for Ubuntu 11-04 (worked the same on 10-10 Ubuntu, just the same)
# install packages (Acoustics Model, Language Model, and a decoder)
sudo apt-get install python-pocketsphinx pocketsphinx-lm-wsj pocketsphinx-hmm-wsj1 ipython
# sudo apt-get -y install vim ssh
Created one Python file, and one audio file (16KHz); intelligibility (specifically consonants) is considerably improved with the band with afforded by a 16kHz sample rate.The path2audio is in asr.py
This has been flagged as spam show
I liked it so much, I did a summary in text, but could NOT paste it here!
So I've saved it on doc.google.com --- SpeechToText__using_python_and_pocketsphinx
alex1212a 1 year ago
Convert mp3 to WAV-------------- on Ubuntu-------------
apt-get -y install sox libsox-fmt-mp3
# convert mp3 to WAV (16kHz)
# sox -r 16000 -2 -s -t mp3 mp3filename wavfilename
sox -r 16000 -2 -s -t mp3 rec0505-004232.mp3 goforward.wav
alex1212a 9 months ago
I used Google Search:
+"asr.py" +sphinx
alex1212a 9 months ago
Installation Procedure for Ubuntu 11-04 (worked the same on 10-10 Ubuntu, just the same)
# install packages (Acoustics Model, Language Model, and a decoder)
sudo apt-get install python-pocketsphinx pocketsphinx-lm-wsj pocketsphinx-hmm-wsj1 ipython
# sudo apt-get -y install vim ssh
Created one Python file, and one audio file (16KHz); intelligibility (specifically consonants) is considerably improved with the band with afforded by a 16kHz sample rate.The path2audio is in asr.py
alex1212a 9 months ago
This has been flagged as spam show
I liked it so much, I did a summary in text, but could NOT paste it here!
So I've saved it on doc.google.com --- SpeechToText__using_python_and_pocketsphinx
alex1212a 1 year ago