TTS/Cepstral choppy audio on Windows...
I'm building a automation control application which has an audio stream. I want an IVR to allow the callee to manipulate the application while the stream is playing. (the audio is interfaced via soundcard/portaudio.) I'm using the latest Build of FSClient, and interfacing to it with EventSocket. I'm using EventSocket to gather digits and play TTS to the caller. The OS is Windows 7/64, and running all these apps in 32-bit. 6GB memory, dual-core processor. While I'm in a call, and playing TTS, CPU running at about 25% and memory about 60% (lots of stuff running on the box). It does not matter if TTS is flite or cepstral, I get a bad chop at about a 1Hz or more rate. I've tried flite and both 16 and 8-kHz cepstral voices, same issue. Am I doing something wrong, or is this a bug? TIA, Gerry
Gerry, I forgot to ask are you using the latest binary build of FSClient or are you building from the latest contrib repo against the latest master of FS? I am not sure if its related but figured might as well make sure you are latest the latest build there. If you want I can send over a newer binary build. ~Mitch
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
Hi Mitch, I installed http://files.freeswitch.org/windows/installer/x86/FSClient.zip I'm not sure how new that is. I'll want to d/l your source later... right now just trying to prove out some concepts. I tried to build the full FS using the _2010 sln last night, but it generated a lot of errors, even after following the instructions in the wiki. I'll try and figure that out later. Please, send the latest binary and I'll try that. I was able to build the mod_flite and mod_cepstral, so I know they are the latest. -Gerry On Wed, Apr 4, 2012 at 9:33 AM, Mitch Capper <mitch.capper@gmail.com> wrote:
Gerry, I forgot to ask are you using the latest binary build of FSClient or are you building from the latest contrib repo against the latest master of FS? I am not sure if its related but figured might as well make sure you are latest the latest build there. If you want I can send over a newer binary build.
~Mitch
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
_________________________________________________________________________ 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
So, here's what's in my log: Why all the " switch_core_io.c:883 Deactivating write resampler " messages? Its this what is causing all the stutter? 2012-04-04 13:12:05.385377 [DEBUG] switch_ivr_play_say.c:2392 OPEN TTS cepstral 2012-04-04 13:12:05.385377 [DEBUG] switch_ivr_play_say.c:2401 Raw Codec Activated 2012-04-04 13:12:05.385377 [DEBUG] switch_ivr_play_say.c:2092 Speaking text: you pressed the number 6 2012-04-04 13:12:05.405378 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.425380 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.445381 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.465382 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.485383 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.505384 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.525385 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.545386 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.565388 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.585389 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.625391 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.745398 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.785400 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.885406 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.925408 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:05.965410 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.025414 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.165422 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.225425 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.305430 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.445438 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.505441 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.585446 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.605447 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.725454 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.865462 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.885463 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:06.925465 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.005470 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.065473 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.145478 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.225483 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.285486 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.425494 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.485497 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.565502 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.705510 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.765513 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.845518 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.905521 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:07.985526 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.125534 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.265542 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.405550 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.465553 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.525557 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.685566 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.825574 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.845575 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:08.965582 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.025585 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.045587 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.085589 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.185595 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.245598 [NOTICE] switch_core_io.c:883 Deactivating write resampler 2012-04-04 13:12:09.265599 [DEBUG] switch_ivr_play_say.c:2284 done speaking text 2012-04-04 13:12:09.645621 [DEBUG] switch_core_media_bug.c:508 Removing BUG from portaudio/6036246907 On Wed, Apr 4, 2012 at 10:16 AM, Gerry Hull <gerry@pstn2.net> wrote:
Hi Mitch,
I installed http://files.freeswitch.org/windows/installer/x86/FSClient.zip
I'm not sure how new that is.
I'll want to d/l your source later... right now just trying to prove out some concepts.
I tried to build the full FS using the _2010 sln last night, but it generated a lot of errors, even after following the instructions in the wiki. I'll try and figure that out later.
Please, send the latest binary and I'll try that.
I was able to build the mod_flite and mod_cepstral, so I know they are the latest.
-Gerry
On Wed, Apr 4, 2012 at 9:33 AM, Mitch Capper <mitch.capper@gmail.com>wrote:
Gerry, I forgot to ask are you using the latest binary build of FSClient or are you building from the latest contrib repo against the latest master of FS? I am not sure if its related but figured might as well make sure you are latest the latest build there. If you want I can send over a newer binary build.
~Mitch
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
_________________________________________________________________________ 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)
-
Gerry Hull
-
Mitch Capper