From: MrT <tar...@ya...> - 2006-10-23 14:40:32
|
Matthew Williams-2 wrote: > > What's strange is that you are missing the "generating audrey file..." and > "audrey file x is ready" statements. > > Let's start the debugging by adding some debug statements to > mh/code/common/audreyspeak.pl. Please keep debug=voice for these tests. > Matt, I added the suggested debug code and ran two test, one where rooms=familyroom and the other where address=192.168.1.101. Basically, using "address" triggers the code that generates a wave file whereas "rooms" does not. ------ Console output for rooms=familyroom ------- Running external command: michelle talks to family room set by tk db1 set voice cmd Voice_Cmd=HASH(0x4b821ac) to reserved set_by=tk r= Voice_Text: speak rooms=familyroom, Hello! I am Michelle! input phrase is 'Hello! I am Michelle!' output phrase is 'Hello! I am Michelle!' Voice_Text volume=, mh_volume=88 vc=Win32::OLE=HASH(0x49053ec) Voice_Text new volume=88 Setting xml voice (LH Michelle) to spec=Name=LH Michelle Voice_Text.pm ms_tts: v=msv5 comp= async= to_file= VTxt=Win32::OLE=HASH(0x49053e c) text=<volume level='88'> <voice required='Name=LH Michelle'> Hello! I am Mich elle! </voice> </volume> 10/23/2006 09:43:00 : Saving object states ... done db1 set voice cmd Voice_Cmd=HASH(0x4af10a0) to Check set_by=time r= -------------------- ------ Console output for address=192.168.1.101 ------- Running external command: michelle talks to address set by tk db1 set voice cmd Voice_Cmd=HASH(0x4b824c4) to reserved set_by=tk r= Voice_Text: speak address=192.168.1.101, Hello! I am Michelle! input phrase is 'Hello! I am Michelle!' output phrase is 'Hello! I am Michelle!' Voice_Text volume=, mh_volume=88 vc=Win32::OLE=HASH(0x49053ec) Voice_Text new volume=88 Setting xml voice (LH Michelle) to spec=Name=LH Michelle Voice_Text.pm ms_tts: v=msv5 comp= async= to_file=./../web/cache/speak_address.4 2.wav VTxt=Win32::OLE=HASH(0x49053ec) text=<volume level='88'> <voice required=' Name=LH Michelle'> Hello! I am Michelle! </voice> </volume> Voice_text running address code: run 'get_url -quiet "http://192.168.1.101/cgi-b in/SendMessage?M=GOTO_URL&S=http://10.1.1.149:8080/cache/speak_address.42.wav" / dev/null' Running: C:\Perl\bin\perl.exe args=get_url -quiet "http://192.168.1.101/cgi-bin/ SendMessage?M=GOTO_URL&S=http://10.1.1.149:8080/cache/speak_address.42.wav" /dev /null 10/23/2006 09:45:00 : Saving object states ... done db1 set voice cmd Voice_Cmd=HASH(0x4af10a0) to Check set_by=time r= -------------------- The audreyspeak.pl code is confusing. Why is there a call to "file_ready_for_audrey" in "play_to_audrey" but none in "speak_to_audrey"? I can't see how speak_to_audrey's call to "&Voice_Text::speak_text(%parms)" can accomplish the same thing as play_to_audrey's call to file_ready_for_audrey. -- View this message in context: http://www.nabble.com/Author%28s%29-of-Voice_Text.pm--tf2468414.html#a6954373 Sent from the Misterhouse - User mailing list archive at Nabble.com. |