Is there a way to capture the wave file recorded from pocketsphinx. Please help.
Regards, Shanti
From the command line use option -rawlogdir <dir> to store dumps in a folder.
-rawlogdir <dir>
From the code use ps_set_rawdata_size and ps_get_rawdata to retrieve recorded audio.
ps_set_rawdata_size
ps_get_rawdata
How do we improve the PocketSphinx accuracy? Any parameter to tune for better accuracy?
I get the raw data using the -rawlogdir
I used both the commands below, but I cannot hear what was recorded instead huge noise.
sox -r 44100 -e unsigned -b 8 -c1 000000002.raw test_file.wav sox -r 44100 -e unsigned -b 8 -c1 000000002.raw test_file.wav
Can you suggest me a conversion process which can give me a good .wav file.
The correct command is
sox -r 16000 -e signed -b 16 000000002.raw test_file.wav
Log in to post a comment.
Is there a way to capture the wave file recorded from pocketsphinx.
Please help.
Regards,
Shanti
From the command line use option
-rawlogdir <dir>
to store dumps in a folder.From the code use
ps_set_rawdata_size
andps_get_rawdata
to retrieve recorded audio.How do we improve the PocketSphinx accuracy?
Any parameter to tune for better accuracy?
I get the raw data using the -rawlogdir
I used both the commands below, but I cannot hear what was recorded instead huge noise.
sox -r 44100 -e unsigned -b 8 -c1 000000002.raw test_file.wav
sox -r 44100 -e unsigned -b 8 -c1 000000002.raw test_file.wav
Can you suggest me a conversion process which can give me a good .wav file.
The correct command is