Friday, November 6, 2009

Smallworld has found its voice

Bhimesh over at MagikFun provided an example of how to get Smallworld to talk.

Here's my attempt at getting Magik to talk in multiple languages...


_block
v << ole_client.create_object("sapi.spvoice")
v.speak("ggooten abendd. vilkommen")
v.speak("good evening. welcome")
v.release_object()
_endblock
$


The German spelling is atrocious, but I found that you sometimes have to butcher the spelling to get the voice software to do a better pronunciation.

Imagine the possibilities now that Smallworld has found its voice!

No comments: