RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

XML Speech Engine

W

Wasted

Guest
XML Speech Engine

I was wishing runuo had an easy-to-use and easy-to-update non compiled
speech engine, scripted in XML. Something like:

<voice>
<block>
<keyword></keyword>
<answer></answer>
</block>
<voice>

<voice id="Sample">
<block id="Hello">
<keyword>hi</keyword><keyword>sup</keyword><keyword>how are thee</keyword>
<answer>im fine.</answer><answer>im good.</answer><answer>hi!</answer>
</block>
<block id="Bye">
<keyword>bye</keyword><keyword>cya</keyword><keyword>goodbye</keyword>
<answer>cya</answer><answer>come back soon</answer>
</block>
</voice>

You could attach it by calling a SetMobileSpeech (Mobile from, string voiceID )
from the Voice core class.

Maybe some pre-scripted keywords such as a Action property in block id.

as in a banker voice:
<block id="bankbox" action="Banker.Openbank">

This would call the type Banker Openbank method.

And maybe pattern matching in keywords.
 
Top