| Author | 
         | 
         
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: July 06 2020 at 19:25 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi - has anyone played around with Text-to-speech?  The manuals are 
 a little sketchy, and suggest you just select an engine and it works, but 
 not for me.  Has anyone gotten it working?  Can you suggest what is 
 needed or where to look to get it set up right (and an example "Hello 
 World" formula?
 
 Thanks!
 /j
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: July 06 2020 at 19:44 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
For starters  - I don't see PH appearing as something that generates 
 audio in the sound menus (mixer, etc) - that could be my issue as 
 ph_tts("Hello") seems to execute without issue.   
 
 Thanks!
 /j
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         dhoward Admin Group 
          
  
  Joined: June 29 2001 Location: United States
 Online Status: Offline Posts: 4447
          | 
        
         
          
           | Posted: July 07 2020 at 00:02 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Jeff,
 
 TTS should be pretty simple. I know I used to use it all the time when I had the PowerHome machine hooked up to my whole house audio system.
 
 To set it up, you first need to install the Microsoft Speech API (Msspchapi.Exe on the Downloads page) followed by the Microsoft SAPI 4.0 TTS module 
 (Msttsl.Exe on the Downloads page).
 
 If you'd like SAPI 5 (highly recommended) then you would next download and install the SAPI 5 setup. For some reason I don't have a link on the Downloads 
 page but you can find the install here: SAPI5Setup
 
 Once the prerequisites are out of the way, in the PH Explorer under Setup->TTS, select the SAPI 5 controller. Restart PowerHome. When PowerHome restarts, 
 go to the menu option Voice->TTS Setup and select the desired TTS voice. Click the "Save Settings to Table" option and then click "Exit".
 
 You should then be able to execute the ph_tts("Hello") function and hear the playback.
 
 Hope this helps,
 
 Dave.
 
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: July 07 2020 at 08:06 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks Dave - will give all this a try.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |