I found it. It was in the file portaudio.conf.xml. I changed the sample rate to 16000. On Sun, Apr 7, 2013 at 3:59 AM, Ebrahim Bararian <ebrahim.bararian@gmail.com
wrote:
I put the pocketsphinx dictionary and acoustic model in the place it needed it. So that error have been solved.
But the first error is lasting yet. How can I change the sampling rate from 48k to 16k or 8k?
On Sun, Apr 7, 2013 at 3:06 AM, Ebrahim Bararian < ebrahim.bararian@gmail.com> wrote:
Hi,
I've just tried to run the pocket_sphinx according to what the link below described:
http://wiki.freeswitch.org/wiki/Mod_pocketsphinx
But when I try to run by using command "pa call 74992" in the freeswitch console, the following happens:
*[ERR] mod_pocketsphinx.c:99 In valid rate 48000. Only 8000 and 16000 are supported. * * * *[ERR] mod_pocketsphinx.c:142 Can't open dictionary C: /Program Files/FreeSWITCH/grammar/default.dic. * * * but how can I fix it?
Thanks in advance.