Announcement

Collapse
No announcement yet.

Should this work?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Should this work?

    &hs.GetPlugins("mcsAudrey").AudreySpeak "basement","testing 1 2 3 "

    The log shows no errors and that it was exacuted but no speech from the audrey. (I verfired the device is on).

    Thanks & Happy New Year

    #2
    HS does not allow multiple parameters from their UI with the "&". You will find a a set of "EX" methods with mcsAudrey that allow you to do what you want. A ";" is used to separate parameters when using the "EX"


    &hs.GetPlugins("mcsAudrey").AudreySpeakEx "basement;testing 1 2 3"

    Comment


      #3
      Same result as before. The command runs, but nothing from the audrey.

      1/1/2007 7:04:58 PM - Info - Running script statement immediately: &hs.GetPlugins("mcsAudrey").AudreySpeakEx "basement;testing 1 2 3"

      Comment


        #4
        Enable the debug so we can see what is actually being sent to Audrey.

        Comment


          #5
          I tried to play the temp file 'AudreyTempFile5.wav' it say the word 'zero' thru media play. It should have been the word 'Help'. Audrey still silent.

          Here is the debug log.
          And Thanks for looking.
          Paul
          Version 1.24.6

          1/2/2007 5:32:07 PM - Info - Event Trigger "Carriers"
          1/2/2007 5:32:07 PM - Info - Running script statement immediately: &hs.GetPlugins("mcsAudrey").AudreySpeakEx ("basement,Help" )
          1/2/2007 5:32:07 PM - mcsAudrey Debug - GetAudreyObjects , count=2
          1/2/2007 5:32:07 PM - mcsAudrey Debug - Async Command, loadWav.shtml?http://90.0.0.6:80/AudreyTemp/Audrey...5.wav,1.082403
          1/2/2007 5:32:07 PM - mcsAudrey Debug - SendTheCommand=loadWav.shtml?http://90.0.0.6:80/AudreyTemp/AudreyTempFile5.wav
          1/2/2007 5:32:08 PM - mcsAudrey Debug - IE Navigate to http://90.0.0.30/loadWav.shtml?http:...yTempFile5.wav on 90.0.0.30 using IWebBrowser2
          1/2/2007 5:32:08 PM - mcsAudrey Debug - Async Command, loadWav.shtml?http://90.0.0.6:80/AudreyTemp/Audrey...5.wav,1.834497
          1/2/2007 5:32:08 PM - mcsAudrey Debug - SendTheCommand=loadWav.shtml?http://90.0.0.6:80/AudreyTemp/AudreyTempFile5.wav
          1/2/2007 5:32:08 PM - mcsAudrey Debug - IE Navigate to http://90.0.0.31/loadWav.shtml?http:...yTempFile5.wav on 90.0.0.31 using IWebBrowser2
          1/2/2007 5:32:11 PM - mcsAudrey Debug - IEObj_Complete to http://90.0.0.31/loadWav.shtml?http:...yTempFile5.wav
          1/2/2007 5:32:11 PM - mcsAudrey Debug - IEObj_Complete to http://90.0.0.30/loadWav.shtml?http:...yTempFile5.wav
          1/2/2007 5:32:11 PM - mcsAudrey Debug - DoNextCOmmand, questat=False, powerupWait=False
          1/2/2007 5:32:11 PM - mcsAudrey Debug - DoNextCOmmand, questat=False, powerupWait=False
          1/2/2007 5:32:31 PM - mcsAudrey Debug - X10 Callback B4=3 was on=False
          1/2/2007 5:32:34 PM - mcsAudrey Debug - X10 Callback B4=3 was on=False
          1/2/2007 5:32:36 PM - mcsAudrey Debug - OK Click Saving Name Basement at ~111
          1/2/2007 5:32:36 PM - mcsAudrey Debug - OK Click Saving Name Family at ~11
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(0)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Terminate Class for Audrey basement
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(0)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(1)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Terminate Class for Audrey family
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(1)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(2)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(2)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(3)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(3)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(4)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(4)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(5)
          1/2/2007 5:32:36 PM - mcsAudrey Debug - Release Timer(5)
          1/2/2007 5:32:40 PM - mcsAudrey - User Configuration Setup Initialization Complete

          Comment


            #6
            Looks like a wav file was sent as expected.

            Is the voume on Audrey turned up?

            Play the /AudreyTemp/AudreyTempFile5.wav on the PC and see if the TTS generated the expected sound file.

            Comment


              #7
              I can play the wav file on the PC but at says 'ZERO' no matter what I tell the audrey to speek.
              Nothing from the Audrey. The volume is up besause I can play wav files on the Audrey. I just can't get the text to speech to work.

              Comment


                #8
                I found the problemm with AudreySpeakEX that always results in Zero. The corrrection is posted at the top of the subforum.

                You may also have better luck with the hs.Plugin method such as the example I used to test with below

                &hs.plugin("mcsAudrey").AudreySpeakEx("Office;This is a test")

                Comment


                  #9
                  Well the wav file is correct now, Still not speaking from the audrey.

                  Comment


                    #10
                    It looks like you are using a comma rather than a semicolon delimiter.

                    Note two messages were sent one to 90.0.0.31 and one to 90.0.0.30. One should be the basement. I dont know what the other is.

                    Comment

                    Working...
                    X