Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: TTS changes pronounciation by itself Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
judetf
Senior Member
Senior Member


Joined: January 23 2008
Online Status: Offline
Posts: 234
Posted: February 21 2008 at 21:22 | IP Logged Quote judetf

In playing with TonyNo's weather macro, I am trying to incorporate TTS to speak the temperature.

When I add a TTS line to the macro and have it speak the temperature global variable after it's been set, it says:
"twenty two point two degrees" (I add the word "degrees")

But when I leave TTS out of the macro and instead build a trigger and use a formula to run the weather macro and then use ph_tts in the trigger to read the same variable, it says:
"twenty two dot two degrees"

It is changing from "point" to "dot" for the decimal point all by itself.

Any ideas and ways to control? I know I could programmatically change the decimal point to the word "point" but that's... inelegant. Besides, I'm curious as to why it works differently depending on where/how called.

Thanks!
jtf
Back to Top View judetf's Profile Search for other posts by judetf
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: February 22 2008 at 11:45 | IP Logged Quote BeachBum

Try using 2 ph_tts

ph_tts( ph_getglobal_s("curtemp")) + ph_tts("degrees")

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
judetf
Senior Member
Senior Member


Joined: January 23 2008
Online Status: Offline
Posts: 234
Posted: February 22 2008 at 12:20 | IP Logged Quote judetf

Hmm, that "fixes" it. It throws a break into the continuity of the TTS, but it works. Thanks!
Back to Top View judetf's Profile Search for other posts by judetf
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum