I don't know how I managed this, but it happened, and it's exciting...
I updated the TTS Voice Enumerator to use MS Agent characters (attached). Here is how you can try the trick:
1. Open two windows of the enumerator.
2. Enter the names of two *different* characters in the character box e.g. "Genie" and "Merlin", then check "Use MS Agent" on both windows to show the two characters.
3. Click a voice button on the first window so that the first character starts speaking.
4. A few seconds later, while the first has still something to say, click a voice button on the second window.
The first sentence of the second character will be "muted", but from the next one, you will hear *both* characters speaking at the same time!!!
I guess that with proper synchronization we can now have choirs of caroler characters :-)
I'll leave this project to the daring...
Costas Andriotis
kan...@outsource.gr
PS1: You can open more than two windows. All "n" characters are heard at the same time.
PS2: It works even when characters speak with the same voice or in different languages.
PS3: The sound card driver might play a role but I doubt it.
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:eKiJKNJZAHA.1984@tkmsftngp02...
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:eNImfSLZAHA.1768@tkmsftngp05...
"Costas Andriotis" <kan...@outsource.gr> wrote in message news:u482CBOZAHA.1984@tkmsftngp02...I ran this under W2K Pro. My guess is that msagent.exe, being an out-of-process application, loads each the TTS engine of each control instance on different process space. Even though you can control all engines from a single code module through event handlers, the engines themselves know nothing on each other.I am on tight deadline now for a big project, so I don't have time to try various configurations, but I can make a few suggestions for you people to try:
- Ignore the DSS control, you shouldn't need it for MS Agent "choirs".
- Load a number of Agent controls on the *same* page, in order to have a single synchronizing script..
- Try using bookmarks to synchronize the speech. You will probably need to add the bookmark event handler for all agent controls. Requests are too "coarse" to be useful for this kind of synching.
- Avoid the first muted sentence, by "speaking" a simple synch bookmark (no text at all) at the beginning.
- You can try two synchronization techniques:
- The first agent control that hits a synch bookmark, causes the others to skip the rest of the block (StopAll), and issues speak commands for the next text block to all characters.
- All agent controls wait after a synch bookmark, until the last control hits that bookmark. At this point you issue speak commands for the next text block to all characters.
The result depends of course on the speed of the script inside the bookmark handler, so keep it simple. On my 800MHz it seems that a choir, even a "ballet"!, *is* possible with careful synchronization. Obviously, if you are using different TTS Modes, set all speeds to the same value. Slight modifications of the speed might still be needed. Try modifying the voice pitch between characters, to add some "color". Try a simple song or canon, like "row-row-row your boat". Next thing to try: issue animation/move commands in the bookmark handlers, to add choreography... Costas AndriotisPS. DSS instantiation is allowed only under "safe" security settings. If you run it under "High" security, it won't start at all, giving the messages you got. Under "Medium" you get a prompt, and under "Low" it runs ok."Rob Lindman" <thegre...@hotmail.com> wrote in message news:eNImfSLZAHA.1768@tkmsftngp05...
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:eNImfSLZAHA.1768@tkmsftngp05...
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:OXWxweTZAHA.1932@tkmsftngp02...
"The Guardian" <thegu...@blackvault.com> wrote in message news:epBaZ0TZAHA.404@tkmsftngp05...
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:uccGnhUZAHA.1292@tkmsftngp05...
"The Guardian" <thegu...@blackvault.com> wrote in message news:epBaZ0TZAHA.404@tkmsftngp05...
"Costas Andriotis" <kan...@outsource.gr> wrote in message news:uYec3OfZAHA.1700@tkmsftngp03...Could also be that some sound drivers won't allow mixing sounds from two different sources... Try the attached choir.htm. I get a non-constant behavior/sequence every time I restart. It could just be a "bug" after all, which appeared after recent OS updates...MA has said that this feature was left out in order not to confuse the user. On the other hand, it seems to open interesting possibilities. So why not include it in a future version?What bothers me is the first muted sentence. I haven't found a way around it. Hiding the balloon, just hides the problem.Costas Andriotis"Rob Lindman" <thegre...@hotmail.com> wrote in message news:OXWxweTZAHA.1932@tkmsftngp02...
"Costas Andriotis" <kan...@outsource.gr> wrote in message news:uYec3OfZAHA.1700@tkmsftngp03...Could also be that some sound drivers won't allow mixing sounds from two different sources... Try the attached choir.htm. I get a non-constant behavior/sequence every time I restart. It could just be a "bug" after all, which appeared after recent OS updates...MA has said that this feature was left out in order not to confuse the user. On the other hand, it seems to open interesting possibilities. So why not include it in a future version?What bothers me is the first muted sentence. I haven't found a way around it. Hiding the balloon, just hides the problem.Costas Andriotis
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:OXWxweTZAHA.1932@tkmsftngp02...
Could also be that some sound drivers won't allow mixing sounds from two different sources... Try the attached choir.htm. I get a non-constant behavior/sequence every time I restart. It could just be a "bug" after all, which appeared after recent OS updates...MA has said that this feature was left out in order not to confuse the user. On the other hand, it seems to open interesting possibilities. So why not include it in a future version?What bothers me is the first muted sentence. I haven't found a way around it. Hiding the balloon, just hides the problem.Costas Andriotis
"Rob Lindman" <thegre...@hotmail.com> wrote in message news:OXWxweTZAHA.1932@tkmsftngp02...