I don’t quite understand what that means, but there is some snippets of LUA in the URL I provided (DLNA Media Controller):
[b]Making a renderer say something[/b]
The DLNA Media Controller plugin exposes Text to Speech capability through Google’s service. The functionality is exposed declaratively through the Say action under Advanced Scenes. The functionality is also exposed programmatically via Lua code.
To play a message, use this lua code:
luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say",
{Text="The sun shines outside", Language="en"},
666)
This action will pause the current playback, say the text, and then the playback will be resumed. Language is a string of 2 characters, like en, fr …
To play a message setting the volume for the message at level 60:
luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say",
{Text="The sun shines outside", Language="en", Volume=60},
666)
The volume will be adjusted to play the message, and finally restored to its previous level. When the Volume parameter is not used, the volume is not adjusted and the message is played with the current volume.
To play a message using your personal OSX TTS server rather than using Google Internet service:
luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say",
{Text="The sun shines outside", Language="en", Engine="OSX_TTS_SERVER"},
666)
Two accepted values for the engine: “GOOGLE” for the Google Internet service and “OSX_TTS_SERVER” for a personal OSX TTS server.
In addition, the Text to Speech capability can be setup with the following variables (use the TTS tab to adjust the values):
DefaultLanguageTTS - default language used when calling the Say action; must be a string of 2 characters
DefaultEngineTTS - default engine used when calling the Say action; must be either GOOGLE or OSX_TTS_SERVER
OSXTTSServerURL - defines the location of your OSX TTS server; something like http://www.mypersonaltts.org:80
Notes:
Google service may be removed at any time
Explanations on how to setup the OSX TTS server: Wolf Paulus' Journal, thoughts and ideas on technology
Parameters not specified will default internally. (Language=en, Engine=GOOGLE, Volume=nil) By default, the volume is not set.