[jawsscripts] Re: Speaking a text with a specified voice?

  • From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 10 Feb 2013 10:07:25 +0200

Thanks Stefan and Doug. Unfortunately it seems that there is no way to 
instruct JAWS to speach a piece of text with a specified synthesizer, 
although I was sure that this should be a simple thing.

--Octavian

----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, February 10, 2013 12:45 AM
Subject: [jawsscripts] Re: Speaking a text with a specified voice?


> SpeechInUse() actually tells you only whether or not speech, as
> opposed to Braille output, is being used by the JAWS user. It does not
> tell you when something is actually being said.
>
> On Sat, Feb 09, 2013 at 08:05:57PM +0200, Stefan Moisei wrote:
> Hi,
> The function SpeechInUse() should tell you if jaws is speaking or not.
>
> -----Original Message----- 
> From: Octavian Rasnita
> Sent: Saturday, February 09, 2013 5:29 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Speaking a text with a specified voice?
>
> Hi,
>
> Is it possible to create a JAWS script that speaks a text with a specified
> installed voice, then after it finishes, switch back to the default voice?
>
> I tried:
>
> SetActiveVoiceProfileByName ("Carmen2")
> SayString(sTrText)
> SetActiveVoiceProfileByName ("Eloquence")
>
> But nothing is spoken. When the function SetActiveVoiceProfileByName() is
> called the second time, it stops immediately the speech.
>
> I have found this by doing:
>
> SetActiveVoiceProfileByName ("Carmen2")
> SayString(sTrText)
> Delay (50, TRUE )
> SetActiveVoiceProfileByName ("Eloquence")
>
> This time the text was spoken as wanted, but I wasn't able to use the
> computer for a few seconds after that, because of the Delay() function.
>
> I guess that it is not possible to calculate how much time it would take 
> to
> speak a certain text with a specified voice, but isn't possible to detect
> somehow when JAWS finished speaking, in order to be able to switch the 
> voice
> in that moment?
>
> I also tried using SetSynth ("eloq") but it didn't help either.
>
> Thanks.
>
>
>
> --Octavian
>
> __________???
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
> __________???
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
> -- 
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group - Accessibility-on-Demand
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
> 

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: