Class tcustomespeakng
Unit
Declaration
type tcustomespeakng = class(tmsecomponent)
Description
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tcustomespeakng
Overview
Fields
fstate: speakstatesty; |
|
flastvoice: int32; |
|
fspeakqueue: tcustomeventqueue; |
|
fspeakthread: teventthread; |
|
fidlecond: condty; |
Methods
procedure doasyncevent(var atag: int32) override; |
|
function speakexe(athread: tmsethread): int32; |
|
procedure loaded() override; |
|
procedure connect(); |
|
procedure disconnect(); |
|
procedure doidle(var again: boolean); |
|
procedure checkerror(const astate: espeak_ng_status); |
|
procedure voicechanged(); |
|
procedure checkvoice(avoice: int32); |
|
procedure internalspeak(const atext: msestring; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure internalspeakcharacter(const achar: char32; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure internalspeakkeyname(const akey: msestring; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure lock(); |
|
procedure unlock(); |
|
procedure beginchange(); |
|
procedure endchange(); |
|
procedure postidle(); |
|
procedure postevent(const aevent: tspeakevent); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure speak(const atext: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure speakcharacter(const achar: char32; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure speakkeyname(const akey: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure wait(); |
|
procedure cancel(); |
Properties
property active: boolean read factive write setactive default false; |
|
property datapath: filenamety read fdatapath write fdatapath; |
|
property options: espeakoptionsty read foptions write foptions
default defaultespeakoptions; |
|
property device: msestring read fdevice write fdevice; |
|
property bufferlength: int32 read fbufferlength
write fbufferlength default 0; |
|
property voicedefault: int32 read fvoicedefault
write setvoicedefault default 0; |
|
property voices: tvoices read fvoices write setvoices; |
|
property identifier: msestring read fidentifier write setidentifier; |
|
property voicename: msestring read fvoicename write setvoicename; |
|
property variant: msestring read fvariant write setvariant; |
|
property language: msestring read flanguage write setlanguage; |
|
property gender: genderty read fgender write setgender default gen_none; |
|
property age: card8 read fage write setage default 0; |
|
property variantnum: card8 read fvariantnum write setvariantnum default 0; |
|
property volume: flo64 read fvolume write setvolume; |
|
property rate: flo64 read frate write setrate; |
|
property pitch: flo64 read fpitch write setpitch; |
|
property range: flo64 read frange write setrange; |
|
property capitals: int32 read fcapitals write setcapitals default 0; |
|
property wordgap: int32 read fwordgap write setwordgap default 0; |
|
property punctuationlist: msestring read fpunctuationlist
write setpunctuationlist; |
|
property onbeforeconnect: espeakngeventty read fonbeforeconnect
write fonbeforeconnect; |
Description
Fields
fstate: speakstatesty; |
|
flastvoice: int32; |
|
fspeakqueue: tcustomeventqueue; |
|
fspeakthread: teventthread; |
|
fidlecond: condty; |
|
Methods
procedure doasyncevent(var atag: int32) override; |
|
function speakexe(athread: tmsethread): int32; |
|
procedure loaded() override; |
|
procedure connect(); |
|
procedure disconnect(); |
|
procedure doidle(var again: boolean); |
|
procedure checkerror(const astate: espeak_ng_status); |
|
procedure voicechanged(); |
|
procedure checkvoice(avoice: int32); |
|
procedure internalspeak(const atext: msestring; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure internalspeakcharacter(const achar: char32; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure internalspeakkeyname(const akey: msestring; const aoptions: speakoptionsty; const avoice: int32); |
|
procedure lock(); |
|
procedure unlock(); |
|
procedure beginchange(); |
|
procedure endchange(); |
|
procedure postidle(); |
|
procedure postevent(const aevent: tspeakevent); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure speak(const atext: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure speakcharacter(const achar: char32; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure speakkeyname(const akey: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1); |
|
procedure wait(); |
|
procedure cancel(); |
|
Properties
property active: boolean read factive write setactive default false; |
|
property datapath: filenamety read fdatapath write fdatapath; |
|
property options: espeakoptionsty read foptions write foptions
default defaultespeakoptions; |
|
property device: msestring read fdevice write fdevice; |
|
property bufferlength: int32 read fbufferlength
write fbufferlength default 0; |
|
property voicedefault: int32 read fvoicedefault
write setvoicedefault default 0; |
|
property voices: tvoices read fvoices write setvoices; |
|
property identifier: msestring read fidentifier write setidentifier; |
|
property voicename: msestring read fvoicename write setvoicename; |
|
property variant: msestring read fvariant write setvariant; |
|
property language: msestring read flanguage write setlanguage; |
|
property gender: genderty read fgender write setgender default gen_none; |
|
property age: card8 read fage write setage default 0; |
|
property variantnum: card8 read fvariantnum write setvariantnum default 0; |
|
property volume: flo64 read fvolume write setvolume; |
|
property rate: flo64 read frate write setrate; |
|
property pitch: flo64 read fpitch write setpitch; |
|
property range: flo64 read frange write setrange; |
|
property capitals: int32 read fcapitals write setcapitals default 0; |
|
property wordgap: int32 read fwordgap write setwordgap default 0; |
|
property punctuationlist: msestring read fpunctuationlist
write setpunctuationlist; |
|
property onbeforeconnect: espeakngeventty read fonbeforeconnect
write fonbeforeconnect; |
|
Generated by PasDoc 0.16.0.