Class tcustomespeakng

Unit

Declaration

type tcustomespeakng = class(tmsecomponent)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fstate: speakstatesty;
Protected flastvoice: int32;
Protected fspeakqueue: tcustomeventqueue;
Protected fspeakthread: teventthread;
Protected fidlecond: condty;

Methods

Protected procedure doasyncevent(var atag: int32) override;
Protected function speakexe(athread: tmsethread): int32;
Protected procedure loaded() override;
Protected procedure connect();
Protected procedure disconnect();
Protected procedure doidle(var again: boolean);
Protected procedure checkerror(const astate: espeak_ng_status);
Protected procedure voicechanged();
Protected procedure checkvoice(avoice: int32);
Protected procedure internalspeak(const atext: msestring; const aoptions: speakoptionsty; const avoice: int32);
Protected procedure internalspeakcharacter(const achar: char32; const aoptions: speakoptionsty; const avoice: int32);
Protected procedure internalspeakkeyname(const akey: msestring; const aoptions: speakoptionsty; const avoice: int32);
Protected procedure lock();
Protected procedure unlock();
Protected procedure beginchange();
Protected procedure endchange();
Protected procedure postidle();
Protected procedure postevent(const aevent: tspeakevent);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy(); override;
Public procedure speak(const atext: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
Public procedure speakcharacter(const achar: char32; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
Public procedure speakkeyname(const akey: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
Public procedure wait();
Public procedure cancel();

Properties

Public property active: boolean read factive write setactive default false;
Public property datapath: filenamety read fdatapath write fdatapath;
Public property options: espeakoptionsty read foptions write foptions default defaultespeakoptions;
Public property device: msestring read fdevice write fdevice;
Public property bufferlength: int32 read fbufferlength write fbufferlength default 0;
Public property voicedefault: int32 read fvoicedefault write setvoicedefault default 0;
Public property voices: tvoices read fvoices write setvoices;
Public property identifier: msestring read fidentifier write setidentifier;
Public property voicename: msestring read fvoicename write setvoicename;
Public property variant: msestring read fvariant write setvariant;
Public property language: msestring read flanguage write setlanguage;
Public property gender: genderty read fgender write setgender default gen_none;
Public property age: card8 read fage write setage default 0;
Public property variantnum: card8 read fvariantnum write setvariantnum default 0;
Public property volume: flo64 read fvolume write setvolume;
Public property rate: flo64 read frate write setrate;
Public property pitch: flo64 read fpitch write setpitch;
Public property range: flo64 read frange write setrange;
Public property capitals: int32 read fcapitals write setcapitals default 0;
Public property wordgap: int32 read fwordgap write setwordgap default 0;
Public property punctuationlist: msestring read fpunctuationlist write setpunctuationlist;
Public property onbeforeconnect: espeakngeventty read fonbeforeconnect write fonbeforeconnect;

Description

Fields

Protected fstate: speakstatesty;
 
Protected flastvoice: int32;
 
Protected fspeakqueue: tcustomeventqueue;
 
Protected fspeakthread: teventthread;
 
Protected fidlecond: condty;
 

Methods

Protected procedure doasyncevent(var atag: int32) override;
 
Protected function speakexe(athread: tmsethread): int32;
 
Protected procedure loaded() override;
 
Protected procedure connect();
 
Protected procedure disconnect();
 
Protected procedure doidle(var again: boolean);
 
Protected procedure checkerror(const astate: espeak_ng_status);
 
Protected procedure voicechanged();
 
Protected procedure checkvoice(avoice: int32);
 
Protected procedure internalspeak(const atext: msestring; const aoptions: speakoptionsty; const avoice: int32);
 
Protected procedure internalspeakcharacter(const achar: char32; const aoptions: speakoptionsty; const avoice: int32);
 
Protected procedure internalspeakkeyname(const akey: msestring; const aoptions: speakoptionsty; const avoice: int32);
 
Protected procedure lock();
 
Protected procedure unlock();
 
Protected procedure beginchange();
 
Protected procedure endchange();
 
Protected procedure postidle();
 
Protected procedure postevent(const aevent: tspeakevent);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy(); override;
 
Public procedure speak(const atext: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
 
Public procedure speakcharacter(const achar: char32; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
 
Public procedure speakkeyname(const akey: msestring; const aoptions: speakoptionsty = []; const avoice: int32 = -1);
 
Public procedure wait();
 
Public procedure cancel();
 

Properties

Public property active: boolean read factive write setactive default false;
 
Public property datapath: filenamety read fdatapath write fdatapath;
 
Public property options: espeakoptionsty read foptions write foptions default defaultespeakoptions;
 
Public property device: msestring read fdevice write fdevice;
 
Public property bufferlength: int32 read fbufferlength write fbufferlength default 0;
 
Public property voicedefault: int32 read fvoicedefault write setvoicedefault default 0;
 
Public property voices: tvoices read fvoices write setvoices;
 
Public property identifier: msestring read fidentifier write setidentifier;
 
Public property voicename: msestring read fvoicename write setvoicename;
 
Public property variant: msestring read fvariant write setvariant;
 
Public property language: msestring read flanguage write setlanguage;
 
Public property gender: genderty read fgender write setgender default gen_none;
 
Public property age: card8 read fage write setage default 0;
 
Public property variantnum: card8 read fvariantnum write setvariantnum default 0;
 
Public property volume: flo64 read fvolume write setvolume;
 
Public property rate: flo64 read frate write setrate;
 
Public property pitch: flo64 read fpitch write setpitch;
 
Public property range: flo64 read frange write setrange;
 
Public property capitals: int32 read fcapitals write setcapitals default 0;
 
Public property wordgap: int32 read fwordgap write setwordgap default 0;
 
Public property punctuationlist: msestring read fpunctuationlist write setpunctuationlist;
 
Public property onbeforeconnect: espeakngeventty read fonbeforeconnect write fonbeforeconnect;
 

Generated by PasDoc 0.16.0.