more G-Labs products

Author Topic: using Program.Say  (Read 1432 times)

January 05, 2015, 03:37:42 AM
Read 1432 times

enterprised

  • ****
  • Information
  • Sr. Member
  • Posts: 101
  • Things are only impossible until they are not
In a system withe the following hardware:
  • HG 1 - Raspberry Pi B+
  • HG 2 - Raspberry Pi B+
  • HG 3 - PC (windows7)

If I have an app running on HG 1 which uses the "Program.Say("The garage door has been opened", "en-US");" code, can I hear this on HG 3 when I have HG 1 linked to HG 3 in interconnections?

If not, is there a way to forward voice (speaking notifications using Program.Say) from one HG box to another?

Does voice (speaking notifications using Program.Say) actually work on a Raspberry Pi or only on MS Windows?

Peter
4a 75 73 74 20 61 20 70 65 72 73 6f 6e 20 68 61 76 69 6e 67 20 66 75 6e 20 77 69 74 68 20 68 6f 6d 65 20 61 75 74 6f 6d 61 74 69 6f 6e
enterprised == guytpetj

January 10, 2015, 12:53:58 AM
Reply #1

drpepper

  • *
  • Information
  • Newbie
  • Posts: 23
Hey Peter, is your Program.Say working correctly and you can hear it? I've had some issues with this.

If it is indeed working, you can do this a few simple ways via the programming interface but I do not believe it would happen by default, it depends on how your program is written.

Have you looked at the Status events forwarder? Program 75.

January 10, 2015, 04:44:20 AM
Reply #2

enterprised

  • ****
  • Information
  • Sr. Member
  • Posts: 101
  • Things are only impossible until they are not
It works fine with programs running native on the windows PC, but not with anything running on my raspberries who are using the interconnections (program 75) to communicate with the PC. All interconnected modules and programs are running fine, they are just not talking to me with program.say.
4a 75 73 74 20 61 20 70 65 72 73 6f 6e 20 68 61 76 69 6e 67 20 66 75 6e 20 77 69 74 68 20 68 6f 6d 65 20 61 75 74 6f 6d 61 74 69 6f 6e
enterprised == guytpetj

January 10, 2015, 07:12:20 PM
Reply #3

DutchHans

  • **
  • Information
  • Jr. Member
  • Posts: 39
Hi, there's a perfect solution for your problem. Jshan has created a notification module for android. On android there's a program "voice notify" this speaks out loud all notifications via tts. You can add your notifications in your program, like"the garage doors are open" .
I think its worth to try.
Success!
Bye, Hans