Difference between revisions of "LlSpeech2Text"

From Second Life Wiki
Jump to navigation Jump to search
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=llSpeechtoText|sort=SpeechToText
|p1_type=string|p1_name=name
|p1_type=list|p1_name=targets
|p2_type=key|p2_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=Essential for voice enabled objects to continue to exist if voice is introduced into SL.|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}}

Revision as of 02:17, 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 llSpeechtoText( 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 llSpeechtoText( list targets );