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

  • From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 11 Feb 2013 21:23:52 -0600

The problem may be that you need to be able to determine when jaws is done 
speaking, so you can switch voices only when the previous statement is fully 
spoken.
But, we don't have a way to know when that happens.  And, even if you did, 
your script will take quite a long time to run, and no other key strokes 
will be processed until you hear the whole thing, or cancel speech.

I remember hunting for a way to see when the synth finished, and found none. 
I ended up using a syllable counter, which I had written for another 
situation, and using the sylable count, and the speech rate to estimate the 
amount of time required.  Horribly clunky, and not always sufficient.  And, 
language dependent?  Hmmm.
Yep.



----- Original Message ----- 
From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, February 10, 2013 10:19 AM
Subject: [jawsscripts] Re: Speaking a text with a specified voice?


Oh yes, it would be great if it would be possible to make Jaws speak with a
specified voice alias. Actually, this is what I tried, but without good
results.

--Octavian

----- Original Message ----- 
From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, February 10, 2013 1:42 PM
Subject: [jawsscripts] Re: Speaking a text with a specified voice?


> Maybe not a specified synthesizer but how about a specified voice
> alias?  I would suspect that functionality to be present and if so you
> might be able to make it work for your needs.
>
> On 2/9/13, Octavian Rasnita <orasnita@xxxxxxxxx> wrote:
>> 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
>>
>>
>
>
> -- 
> Soronel Haetir
> soronel.haetir@xxxxxxxxx
> __________�
>
> 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



__________�

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

Other related posts: