[mary-dev] Event notification system?

Marc Schroeder schroed at dfki.de
Tue Oct 6 08:45:42 CEST 2009



Paulo Levi schrieb:
> I see, such a functionality would only be used in streaming mode.
> 
> I need both - the times and the audio, if sync can't be handled by
> events - i asked for events, because i'm not wild about another thread
> besides the ones i already have when playing audio, but if under the
> hood it would just use a thread again, it doesn't matter.
> 
> How about the word expansion like in the 1995 example, does the
> REALISED_ACOUSTPARAMS distinguish the original word?

Try it out! You should find an <mtu orig="1995"> element inserted above 
the <t> for the expanded words. (mtu = "multi-token unit"...)

Best,
Marc


> 
> 
> On Mon, Oct 5, 2009 at 8:17 AM, Marc Schroeder <schroed at dfki.de> wrote:
>> Hi,
>>
>> for the moment MARY has no such thing. Instead, you can get the timing
>> information from the REALISED_ACOUSTPARAMS output format. Given the fact
>> that the audio output is independent of the TTS functionality, that seemed
>> reasonable.
>>
>> I am open to suggestions how to add such functionality without breaking the
>> client-server independence.
>>
>> Best,
>> Marc
>>
>> Paulo Levi schrieb:
>>> Hi. I'm wondering if MaryTTS has some kind of event notification system?
>>>
>>> I'd like to recognize when the "original" words are being spoken.
>>> For example "1995 and counting" is normally translated to "one
>>> thousand nine hundred ninety-five and counting"
>>> I'd like to have a event (_) like this from that original text:
>>> "_one thousand nine hundred ninety-five _and _counting"
>>> So i can highlight words. No need to have the original text length or
>>> position, because that is known to me, but the synchronization problem
>>> is harsh.
>>>
>>> I'm aware that this is problematic, taking into account MaryTTS
>>> server/client architecture,
>>> but even if i have to modify the server, it would be useful for me (i
>>> plan to run the server in the same machine as the client).
>>> _______________________________________________
>>> Mary-dev mailing list
>>> Mary-dev at dfki.de
>>> http://www.dfki.de/mailman/cgi-bin/listinfo/mary-dev
>> --
>> Dr. Marc Schröder, Senior Researcher at DFKI GmbH
>> Coordinator EU FP7 Project SEMAINE http://www.semaine-project.eu
>> Portal Editor http://emotion-research.net
>> Team Leader DFKI Speech Group http://mary.dfki.de
>>
>> Homepage: http://www.dfki.de/~schroed
>> Email: schroed at dfki.de
>> Phone: +49-681-302-5303
>> Postal address: DFKI GmbH, Campus D3_2, Stuhlsatzenhausweg 3, D-66123
>> Saarbrücken, Germany
>> --
>> Official DFKI coordinates:
>> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>> Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
>> Geschaeftsfuehrung:
>> Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
>> Dr. Walter Olthoff
>> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>> Amtsgericht Kaiserslautern, HRB 2313
>>

-- 
Dr. Marc Schröder, Senior Researcher at DFKI GmbH
Coordinator EU FP7 Project SEMAINE http://www.semaine-project.eu
Portal Editor http://emotion-research.net
Team Leader DFKI Speech Group http://mary.dfki.de

Homepage: http://www.dfki.de/~schroed
Email: schroed at dfki.de
Phone: +49-681-302-5303
Postal address: DFKI GmbH, Campus D3_2, Stuhlsatzenhausweg 3, D-66123 
Saarbrücken, Germany
--
Official DFKI coordinates:
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313


More information about the Mary-dev mailing list