Is it possible to pass XML SAPI Tags to the speech engine or will this
be an enhancement request for the growl text-to-speech developer?
The SAPI engine can translate the speech using special tags see the
following link
http://msdn.microsoft.com/en-us/library/ms717077(v=vs.85).aspx
I am interested in using the following tags
<spell>,<emph> and especially <voice>
By using the <voice> tag you can change the voice used so you could
start out using a female voice then switch to a mail voice.
Thanks for the help.
The bad news is that the current Speak 'display' plugin does not work
with the SAPITTS xml that you linked to. The Speak display is written
in C# and apparently the managed wrapper does not support the SAPITTS
xml format, even though it is using the same Speech API behind the
scenes. If you pass the xml-encoded text to C#'s SpeechSynthesizer
class, it just reads it literally.
The good news is that the managed wrapper *does* support the SSML
markup language
(http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.speakssml.aspx)
so it should be possible to supply some SSML-marked-up text and have
it honor the instructions. (Note that the current version of the Speak
plugin assumes the input is straight text, so it would need to be
modified in order to work with SSML). It would probably be easy enough
to detect if the input text is SSML markup or plain text and have the
display use the appropriate method. The SSML is a little more verbose,
but shouldnt be too hard to construct.
I did a quick test and was able to get the plugin to recognize the
SSML markup and speak it appropriately. I will try to polish it up a
bit and put out a new version sometime after the holidays.
> --
> You received this message because you are subscribed to the Google Groups "growl for windows" group.
> To post to this group, send email to growl-fo...@googlegroups.com.
> To unsubscribe from this group, send email to growl-for-wind...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/growl-for-windows?hl=en.
>
1. make sure you actually have the updated Speak plugin installed.
Some browsers will cache the download, so you dont actually get the
updated files. The Speak.dll should have a date from December or
later.
2. Make sure there are no extra line breaks in your message. When I
copy your message from this email, there are extra line breaks in it
that cause the GNTP parser to fail. I am not sure if that is due to my
email client inserting those linebreaks or if that is how it came from
the Wireshark capture, but linebreaks have special meaning to GNTP.
(and if the Speak display fails to be able to parse/speak the SSML, it
falls back to the normal title/text values).
Double check those and let me know how it goes.
One other thing to check is if you have more than one copy of the
Speak display installed. If you ever used the 'Install Now' button, it
installs the display in your local user folder instead of in the
Program Files folder, so check here:
%LOCALAPPDATA%\Growl\2.0.0.0\Displays\
(if you have the display in both places, the local version takes
precedence and if you didnt update that version, you will still have
the old version being used by GfW).
if you end up building something cool with it, definitely let the group know.