Difference between revisions of "LlSpeech2Text"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0
|func=llSpeechtoText|sort=SpeechToText
|func=llSpeech2Text|sort=Speech2Text
|p1_type=string|p1_name=name
|p1_type=list|p1_name=targets
|p1_type=key|p1_name=id
|return_text=handle for llSpeech2TextRemove
|return_text=handle for llSpeech2TextRemove
|return_type=integer
|return_type=integer
|func_desc=listens for voice and converts to text. Like llListen it can filter speech from a specified avatar/object or can listen for all chat in range if these are null values. The converted text is send to the listen event on channel LISTEN_VOICE2TEXT. The return value can be used in llSpeech2TextRemove (compare llListenRemove).
|func_desc=listens for voice from the avatars/objects specified in '''targets''' (by name or UUID) and converts to text. Listens to all in range if this is the empty list. The converted text is send to the listen event on channel LISTEN_VOICE2TEXT. The return value can be used in llSpeech2TextRemove (compare llListenRemove).
|spec|caveats|examples|helpers|related|also|notes=Useful in devices compiling other visitor statistics than that of "traffic" without having to use laggy (and inaccurate on large parcels) scans.|mode=request}}
|spec|caveats|examples|helpers|related|also|notes=Essential for voice enabled objects to continue to exist if voice is introduced into SL.|mode=request}}

Latest revision as of 11:39, 3 April 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: integer llSpeech2Text( list targets );
REQUEST Function ID
0.1 Forced Delay
10.0 Energy

listens for voice from the avatars/objects specified in targets (by name or UUID) and converts to text. Listens to all in range if this is the empty list. The converted text is send to the listen event on channel LISTEN_VOICE2TEXT. The return value can be used in llSpeech2TextRemove (compare llListenRemove).
Returns an integer handle for llSpeech2TextRemove

• list targets

Caveats

  • This function causes the script to sleep for 0.1 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

Notes

Essential for voice enabled objects to continue to exist if voice is introduced into SL.

Deep Notes

Search JIRA for related Issues

Signature

//function integer llSpeech2Text( list targets );