Unit mseespeakng

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record espeak_VOICE  
Record espeak_ng_ERROR_CONTEXT_  
Class tespeakerror  

Functions and Procedures

function espeakngerrormessage(const err: espeak_ng_STATUS): string;
procedure initializeespeakng(const sonames: array of filenamety; const espeakdatapath: string = '');
procedure releaseespeakng();

Types

espeak_ng_OUTPUT_MODE = cint32;
espeak_PARAMETER = (...);
espeak_POSITION_TYPE = (...);
pespeak_VOICE = ˆ espeak_VOICE;
espeak_ng_STATUS = cuint;
espeak_ng_CONTEXT_TYPE = (...);
espeak_ng_ERROR_CONTEXT = ˆespeak_ng_ERROR_CONTEXT_;

Constants

espeaknglib: array[0..1] of filenamety = ('libespeak-ngsync.so.1','libespeak-ngsync.so');
ENS_GROUP_MASK = $70000000;
ENS_GROUP_ERRNO = $00000000;
ENS_GROUP_ESPEAK_NG = $10000000;
ENS_OK = 0;
ENS_COMPILE_ERROR = $100001FF;
ENS_VERSION_MISMATCH = $100002FF;
ENS_FIFO_BUFFER_FULL = $100003FF;
ENS_NOT_INITIALIZED = $100004FF;
ENS_AUDIO_ERROR = $100005FF;
ENS_VOICE_NOT_FOUND = $100006FF;
ENS_MBROLA_NOT_FOUND = $100007FF;
ENS_MBROLA_VOICE_NOT_FOUND = $100008FF;
ENS_EVENT_BUFFER_FULL = $100009FF;
ENS_NOT_SUPPORTED = $10000AFF;
ENS_UNSUPPORTED_PHON_FORMAT = $10000BFF;
ENS_NO_SPECT_FRAMES = $10000CFF;
ENS_EMPTY_PHONEME_MANIFEST = $10000DFF;
ENS_SPEECH_STOPPED = $10000EFF;
ENS_UNKNOWN_PHONEME_FEATURE = $10000FFF;
ENS_UNKNOWN_TEXT_ENCODING = $100010FF;
espeakCHARS_AUTO = 0;
espeakCHARS_UTF8 = 1;
espeakCHARS_8BIT = 2;
espeakCHARS_WCHAR = 3;
espeakCHARS_16BIT = 4;
espeakSSML = $10;
espeakPHONEMES = $100;
espeakENDPAUSE = $1000;
espeakKEEP_NAMEDATA = $2000;
ENOUTPUT_MODE_SYNCHRONOUS = $0001;
ENOUTPUT_MODE_SPEAK_AUDIO = $0002;
espeakRATE_MINIMUM = 80;
espeakRATE_MAXIMUM = 450;
espeakRATE_NORMAL = 175;

Variables

espeak_ng_ClearErrorContext: procedure(context: espeak_ng_ERROR_CONTEXT) cdecl;
espeak_ng_GetStatusCodeMessage: procedure(status: espeak_ng_STATUS; buffer: pcchar; length: size_t) cdecl;
espeak_ng_InitializePath: procedure(path: pcchar)cdecl;
espeak_ng_Initialize: function(context: espeak_ng_ERROR_CONTEXT): espeak_ng_STATUS cdecl;
espeak_ng_InitializeOutput: function(output_mode: espeak_ng_OUTPUT_MODE; buffer_length: cint; device: pcchar): espeak_ng_STATUS cdecl;
espeak_ng_GetSampleRate: function(): cint cdecl;
espeak_ng_SetParameter: function(parameter: espeak_PARAMETER; value: cint; relative: cint): espeak_ng_STATUS cdecl;
espeak_ng_SetPunctuationList: function(punctlist: pwchar_t): espeak_ng_STATUS cdecl;
espeak_ng_SetVoiceByName: function(name: pcchar): espeak_ng_STATUS cdecl;
espeak_ng_SetVoiceByProperties: function(voice_selector: pespeak_VOICE): espeak_ng_STATUS cdecl;
espeak_GetCurrentVoice: function(): pespeak_VOICE cdecl;
espeak_ng_Synthesize: function(text: pointer; size: size_t; position: cuint; position_type: espeak_POSITION_TYPE; end_position: cuint; flags: cuint; unique_identifier: pcuint; user_data: pointer): espeak_ng_STATUS cdecl;
espeak_ng_SynthesizeMark: function(text: pointer; size: size_t; index_mark: pcchar; end_position: cuint; flags: cuint; unique_identifier: pcuint; user_data: pointer): espeak_ng_STATUS cdecl;
espeak_ng_SpeakKeyName: function(key_name: pchar): espeak_ng_STATUS cdecl;
espeak_ng_SpeakCharacter: function(character: wchar_t): espeak_ng_STATUS cdecl;
espeak_IsPlaying: function(): cint cdecl;
espeak_ng_Cancel: function(): espeak_ng_STATUS cdecl;
espeak_ng_SetCancelState: function(canceled: cint): espeak_ng_STATUS cdecl;
espeak_ng_Synchronize: function(): espeak_ng_STATUS cdecl;
espeak_ng_Terminate: function(): espeak_ng_STATUS cdecl;

Description

Functions and Procedures

function espeakngerrormessage(const err: espeak_ng_STATUS): string;
 
procedure initializeespeakng(const sonames: array of filenamety; const espeakdatapath: string = '');
 
procedure releaseespeakng();
 

Types

espeak_ng_OUTPUT_MODE = cint32;
 
espeak_PARAMETER = (...);
 
Values
  • espeakSILENCE = 0
  • espeakRATE = 1
  • espeakVOLUME = 2
  • espeakPITCH = 3
  • espeakRANGE = 4
  • espeakPUNCTUATION = 5
  • espeakCAPITALS = 6
  • espeakWORDGAP = 7
  • espeakOPTIONS = 8
  • espeakINTONATION = 9
  • espeakRESERVED1 = 10
  • espeakRESERVED2 = 11
  • espeakEMPHASIS
  • espeakLINELENGTH
  • espeakVOICETYPE
  • N_SPEECH_PARAM
espeak_POSITION_TYPE = (...);
 
Values
  • POS_CHARACTER = 1
  • POS_WORD
  • POS_SENTENCE
pespeak_VOICE = ˆ espeak_VOICE;
 
espeak_ng_STATUS = cuint;
 
espeak_ng_CONTEXT_TYPE = (...);
 
Values
  • ERROR_CONTEXT_FILE
  • ERROR_CONTEXT_VERSION
espeak_ng_ERROR_CONTEXT = ˆespeak_ng_ERROR_CONTEXT_;
 

Constants

espeaknglib: array[0..1] of filenamety = ('libespeak-ngsync.so.1','libespeak-ngsync.so');
 
ENS_GROUP_MASK = $70000000;
 
ENS_GROUP_ERRNO = $00000000;
 
ENS_GROUP_ESPEAK_NG = $10000000;
 
ENS_OK = 0;
 
ENS_COMPILE_ERROR = $100001FF;
 
ENS_VERSION_MISMATCH = $100002FF;
 
ENS_FIFO_BUFFER_FULL = $100003FF;
 
ENS_NOT_INITIALIZED = $100004FF;
 
ENS_AUDIO_ERROR = $100005FF;
 
ENS_VOICE_NOT_FOUND = $100006FF;
 
ENS_MBROLA_NOT_FOUND = $100007FF;
 
ENS_MBROLA_VOICE_NOT_FOUND = $100008FF;
 
ENS_EVENT_BUFFER_FULL = $100009FF;
 
ENS_NOT_SUPPORTED = $10000AFF;
 
ENS_UNSUPPORTED_PHON_FORMAT = $10000BFF;
 
ENS_NO_SPECT_FRAMES = $10000CFF;
 
ENS_EMPTY_PHONEME_MANIFEST = $10000DFF;
 
ENS_SPEECH_STOPPED = $10000EFF;
 
ENS_UNKNOWN_PHONEME_FEATURE = $10000FFF;
 
ENS_UNKNOWN_TEXT_ENCODING = $100010FF;
 
espeakCHARS_AUTO = 0;
 
espeakCHARS_UTF8 = 1;
 
espeakCHARS_8BIT = 2;
 
espeakCHARS_WCHAR = 3;
 
espeakCHARS_16BIT = 4;
 
espeakSSML = $10;
 
espeakPHONEMES = $100;
 
espeakENDPAUSE = $1000;
 
espeakKEEP_NAMEDATA = $2000;
 
ENOUTPUT_MODE_SYNCHRONOUS = $0001;
 
ENOUTPUT_MODE_SPEAK_AUDIO = $0002;
 
espeakRATE_MINIMUM = 80;
 
espeakRATE_MAXIMUM = 450;
 
espeakRATE_NORMAL = 175;
 

Variables

espeak_ng_ClearErrorContext: procedure(context: espeak_ng_ERROR_CONTEXT) cdecl;
 
espeak_ng_GetStatusCodeMessage: procedure(status: espeak_ng_STATUS; buffer: pcchar; length: size_t) cdecl;
 
espeak_ng_InitializePath: procedure(path: pcchar)cdecl;
 
espeak_ng_Initialize: function(context: espeak_ng_ERROR_CONTEXT): espeak_ng_STATUS cdecl;
 
espeak_ng_InitializeOutput: function(output_mode: espeak_ng_OUTPUT_MODE; buffer_length: cint; device: pcchar): espeak_ng_STATUS cdecl;
 
espeak_ng_GetSampleRate: function(): cint cdecl;
 
espeak_ng_SetParameter: function(parameter: espeak_PARAMETER; value: cint; relative: cint): espeak_ng_STATUS cdecl;
 
espeak_ng_SetPunctuationList: function(punctlist: pwchar_t): espeak_ng_STATUS cdecl;
 
espeak_ng_SetVoiceByName: function(name: pcchar): espeak_ng_STATUS cdecl;
 
espeak_ng_SetVoiceByProperties: function(voice_selector: pespeak_VOICE): espeak_ng_STATUS cdecl;
 
espeak_GetCurrentVoice: function(): pespeak_VOICE cdecl;
 
espeak_ng_Synthesize: function(text: pointer; size: size_t; position: cuint; position_type: espeak_POSITION_TYPE; end_position: cuint; flags: cuint; unique_identifier: pcuint; user_data: pointer): espeak_ng_STATUS cdecl;
 
espeak_ng_SynthesizeMark: function(text: pointer; size: size_t; index_mark: pcchar; end_position: cuint; flags: cuint; unique_identifier: pcuint; user_data: pointer): espeak_ng_STATUS cdecl;
 
espeak_ng_SpeakKeyName: function(key_name: pchar): espeak_ng_STATUS cdecl;
 
espeak_ng_SpeakCharacter: function(character: wchar_t): espeak_ng_STATUS cdecl;
 
espeak_IsPlaying: function(): cint cdecl;
 
espeak_ng_Cancel: function(): espeak_ng_STATUS cdecl;
 
espeak_ng_SetCancelState: function(canceled: cint): espeak_ng_STATUS cdecl;
 
espeak_ng_Synchronize: function(): espeak_ng_STATUS cdecl;
 
espeak_ng_Terminate: function(): espeak_ng_STATUS cdecl;
 

Generated by PasDoc 0.16.0.