| Author |  | 
      
        | krommetje Super User
 
  
  
 Joined: December 29 2004
 Location: Netherlands
 Online Status: Offline
 Posts: 695
 | 
          I have been searching in this board for any threads concerning TTS but there is not much to find. My HA-server has TTS and this works OK (a women voice....
           | Posted: September 16 2005 at 03:47 | IP Logged |   |  
           | 
 |   DUH  ) can someone enlighten me about how to use TTS together with GV's ? Second question: Any more ideas regarding TTS. Just speaking GV's like Temperature and audible warnings is simple to program...
 
 Peter
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          I'm not sure what you are asking. If speaking GV's like temp and warnings are simple, it sounds like you are doing it already. Are you looking for other ideas?
           | Posted: September 16 2005 at 08:00 | IP Logged |   |  
           | 
 |  
 If so, here is a formula that I use in a Timed Event on the night before trash day:
 
 
 
| Code: 
 
    
    | 
      
       | ph_playsound( "attention.wav", 0) + ph_tts("Take out the trash and recycling bin.") |  |  |  | 
       
        | Back to Top |       | 
       
       
        |  | 
        | krommetje Super User
 
  
  
 Joined: December 29 2004
 Location: Netherlands
 Online Status: Offline
 Posts: 695
 | 
          
           | Posted: September 16 2005 at 16:53 | IP Logged |   |  
           | 
 |  
| TonyNo wrote: 
 
    
    | 
      
       | I'm not sure what you are asking. If speaking GV's like temp and warnings are simple, it sounds like you are doing it already. Are you looking for other ideas? |  |  |  
 yes, all temperatures are spoken already, so that is no problem, but what should I do if a GV contains AND text as well as numeric values, lets say a GV within a GV?
 I have a firalarm in PH and I have been programming audible warnings in case of fire or carbon-monoxide....
 Other Ideas are welcome as well...
 
 
 
 
| Quote: 
 
    
    | 
      
       | here is a formula that I use in a Timed Event on the night before trash day: 
 
| Code: 
 
    
    | 
      
       | ph_playsound( "attention.wav", 0) + ph_tts("Take out the trash and recycling bin.") |  |  |  |  |  |  
 hey that is neat! i'd have to make a macro which has a span of 2 weeks... in my village, in an odd weeknumber the house-hold-trash is collected and in an even weeknumber the other is collected (you know: like left over diners, weeds from the garden, eggshells, potatopeelings and stuff....) how many minutes are there in 2 weeks?
   
 Peter
 
 Edited by krommetje
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          20160
           | Posted: September 17 2005 at 19:33 | IP Logged |   |  
           | 
 |    
 GV's within GV's should be no problem.  GV substitution will substitute the first GV and then search and substitute the next GV, etc. up until the "Maximum variable substitution limit".  Depending upon which speech engine you are using (Microsoft Mary, AT&T, Nextup, Cepstral, etc.) will determine how numbers mixed with text will be spoken.  For example, some engines may speak 456 as four five six while others will do four hundred fifty six.
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | krommetje Super User
 
  
  
 Joined: December 29 2004
 Location: Netherlands
 Online Status: Offline
 Posts: 695
 | 
          Well, i think I know why Mary Spoke to me: "Exclamation Mark"
           | Posted: September 18 2005 at 04:28 | IP Logged |   |  
           | 
 |   In the GV within the GV there was text AND an ! and this was due to a typo in the formula which created the GV...   
 And for your 2nd remark: Mary speaks the full temperature so when it is 20.9 degrees she wispers
  to me: "the temperature is twenty-comma-nine degrees" so I think that is OK...
 
 The only thing left for me to do is to have the computerspeakers to be heard in the livingroom and the bedrooms. I think I am going to do that with wireless-loudspeakers.... I could also use a TV-modulator and put the VGA-signal together with the sound onto my cable so I can view the PH-status-screen anywhere in the house on any TV...
 
 Peter
 | 
       
        | Back to Top |       | 
       
       
        |  |