LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

LDSpeech
The Speech library allows text to be spoken and speech recognition.

LastSpoken LastSpokenConfidence Listen
Speak Speed Vocabulary
Voice Voices Volume

LastSpoken
Text of the last speech spoken (and recognised) by the computer.

LastSpokenConfidence
The last speech spoken detection confidence of correctness (0 to 1).

Listen
Event when speech is spoken (and recognised) by the computer.
A good microphone, lots of training or consise dictionary are needed to get decent results.


Speak(text)
Speak some text.
text Text to be spoken.
returns None.

Speed
Speed of speech (-10 to 10).

Vocabulary(dictionary)
Set a vocabulary of words and phrases for the speech regonition to use.
If this is unset, then a large language vocabulary is used and the results will generally be less good (unusable).
Also distinct phrases can have a better recognition than single words.

dictionary An array of words or phrases to be recognised.
If it is empty, then the default language vocabulary is used.

returns None.

Voice
The current voice.

Voices()
Returns an array of available voices.
returns An array of available voices.

Volume
Volume of speech (0 to 100).