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.
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.
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.
The 16k acoustical model isn't as robust as the 8k version. Just an FYI. On Apr 6, 2013, at 7:17 PM, Ebrahim Bararian wrote:
I found it. It was in the file portaudio.conf.xml. I changed the sample rate to 16000.
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410
Thank you so much. I didn't know that before. I know how to set mod_portaudio to retrieve voice in 8k or 16k. But how can I set the mod_pocketsphinx to use 8k acoustical model? On Mon, Apr 8, 2013 at 6:13 AM, Brian West <brian@freeswitch.org> wrote:
The 16k acoustical model isn't as robust as the 8k version. Just an FYI.
On Apr 6, 2013, at 7:17 PM, Ebrahim Bararian wrote:
I found it. It was in the file portaudio.conf.xml. I changed the sample rate to 16000.
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com
T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Ebrahim Bararian