Text to Speech

Functions

int _CRSpeech (mmachine m)
 _CRSpeech : create speech instance
int _DSSpeech (mmachine m)
 _DSSpeech : destroy speech instance
int _SetSpeechText (mmachine m)
 _SetSpeechText : Set speech Text
int _SetSpeechVolume (mmachine m)
 _SetSpeechVolume : Set speech volume
int _GetSpeechVolume (mmachine m)
 _GetSpeechVolume : Get speech volume
int _SetSpeechRate (mmachine m)
 _SetSpeechRate : set speech rate
int _GetSpeechRate (mmachine m)
 _GetSpeechRate : get speech rate
int _PlaySpeech (mmachine m)
 _PlaySpeech : play speech
int _PauseSpeech (mmachine m)
 _PauseSpeech : pause speech
int _ResumeSpeech (mmachine m)
 _ResumeSpeech : resume speech
int _StopSpeech (mmachine m)
 _StopSpeech : Stop speech
int _CBSpeechEnd (mmachine m)
 n_CBSpeechEnd : set callback end of speech
int _GetSpeechVoices (mmachine m)
 _GetSpeechVoices : get speech voices
int _SetSpeechVoice (mmachine m)
 _SetSpeechVoice : set speech voice
int _GetSpeechVoice (mmachine m)
 _GetSpeechVoice : get speech voice
int _CBSpeechWord (mmachine m)
 _CBSpeechWord : Set callback on speech word
int _CBSpeechText (mmachine m)
 _CBSpeechText : Set callback on speech text
int _CBSpeechPhoneme (mmachine m)
 _CBSpeechPhoneme : set callback on speech phoneme

Detailed Description

Scol functions definition


Function Documentation

int _CBSpeechEnd ( mmachine  m  ) 

n_CBSpeechEnd : set callback end of speech

Prototype: fun [ObjSpeech fun [ObjSpeech u0] u1 u0] ObjSpeech

Parameters:
ObjSpeech : speech object
fun [ObjSpeech u0] : callback function

  • ObjSpeech : speech object
  • u0 : user parameter
u0 : user parameter
Returns:
: 0 on success or -1 on fail

Definition at line 558 of file plugin.cpp.

int _CBSpeechPhoneme ( mmachine  m  ) 

_CBSpeechPhoneme : set callback on speech phoneme

Prototype: fun [ObjSpeech fun [ObjSpeech u0 I] u1 u0] ObjSpeech

Parameters:
ObjSpeech : speech object
fun [ObjSpeech u0 I] u1 : Callback function

  • ObjSpeech : speech object
  • u0 : user parameter
  • I : phoneme
u0 : user parameter
Returns:
: 0 on success or -1 on fail

Definition at line 834 of file plugin.cpp.

int _CBSpeechText ( mmachine  m  ) 

_CBSpeechText : Set callback on speech text

Prototype: fun [ObjSpeech fun [ObjSpeech u0 S] u1 u0] ObjSpeech

Parameters:
ObjSpeech : speech object
fun [ObjSpeech u0 S] u1 : Callback function

  • ObjSpeech : speech object
  • u0 : user parameter
  • S : text
u0 : user parameter
Returns:
: 0 on success or -1 on fail

Definition at line 785 of file plugin.cpp.

int _CBSpeechWord ( mmachine  m  ) 

_CBSpeechWord : Set callback on speech word

Prototype: fun [ObjSpeech fun [ObjSpeech u0 S] u1 u0] ObjSpeech

Parameters:
ObjSpeech : speech object
fun [ObjSpeech u0 S] u1 : Callback function

  • ObjSpeech : speech object
  • u0 : user parameter
  • S : word
u0 : user parameter
Returns:
: 0 on success or -1 on fail

Definition at line 736 of file plugin.cpp.

int _CRSpeech ( mmachine  m  ) 

_CRSpeech : create speech instance

Prototype: fun [Chn] ObjSpeech

Parameters:
Chn : channel
Returns:
ObjSpeech: speech object

Definition at line 149 of file plugin.cpp.

int _DSSpeech ( mmachine  m  ) 

_DSSpeech : destroy speech instance

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to destroy
Returns:
I : 0 on success or -1 on fail

Definition at line 195 of file plugin.cpp.

int _GetSpeechRate ( mmachine  m  ) 

_GetSpeechRate : get speech rate

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : speech rate

Definition at line 373 of file plugin.cpp.

int _GetSpeechVoice ( mmachine  m  ) 

_GetSpeechVoice : get speech voice

Prototype: fun [ObjSpeech] S

Parameters:
ObjSpeech : speech object
Returns:
S : voice name

Definition at line 692 of file plugin.cpp.

int _GetSpeechVoices ( mmachine  m  ) 

_GetSpeechVoices : get speech voices

Prototype: fun [ObjSpeech] [S r1]

Parameters:
ObjSpeech : speech object
Returns:
[S r1] : list voices name

Definition at line 599 of file plugin.cpp.

int _GetSpeechVolume ( mmachine  m  ) 

_GetSpeechVolume : Get speech volume

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : speech volume

Definition at line 302 of file plugin.cpp.

int _PauseSpeech ( mmachine  m  ) 

_PauseSpeech : pause speech

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : 0 on success or -1 on fail

Definition at line 446 of file plugin.cpp.

int _PlaySpeech ( mmachine  m  ) 

_PlaySpeech : play speech

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : 0 on success or -1 on fail

Definition at line 407 of file plugin.cpp.

int _ResumeSpeech ( mmachine  m  ) 

_ResumeSpeech : resume speech

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : 0 on success or -1 on fail

Definition at line 482 of file plugin.cpp.

int _SetSpeechRate ( mmachine  m  ) 

_SetSpeechRate : set speech rate

Prototype: fun [ObjSpeech I] I

Parameters:
ObjSpeech : speech object to set
I : speech rate
Returns:
I : 0 on success or -1 on fail

Definition at line 337 of file plugin.cpp.

int _SetSpeechText ( mmachine  m  ) 

_SetSpeechText : Set speech Text

Prototype: fun [ObjSpeech S] I

Parameters:
ObjSpeech : speech object to set
S : speech text
Returns:
I : 0 on success or -1 on fail

Definition at line 228 of file plugin.cpp.

int _SetSpeechVoice ( mmachine  m  ) 

_SetSpeechVoice : set speech voice

Prototype: fun [ObjSpeech S] I

Parameters:
ObjSpeech : speech object to set
S : speech voice
Returns:
I : 0 on success or -1 on fail

Definition at line 651 of file plugin.cpp.

int _SetSpeechVolume ( mmachine  m  ) 

_SetSpeechVolume : Set speech volume

Prototype: fun [ObjSpeech I] I

Parameters:
ObjSpeech : speech object to set
I : speech volume
Returns:
I : 0 on success or -1 on fail

Definition at line 266 of file plugin.cpp.

int _StopSpeech ( mmachine  m  ) 

_StopSpeech : Stop speech

Prototype: fun [ObjSpeech] I

Parameters:
ObjSpeech : speech object to set
Returns:
I : 0 on success or -1 on fail

Definition at line 518 of file plugin.cpp.

 All Classes Files Functions Variables Defines
Generated on Fri Jun 11 12:08:48 2010 for Template by  doxygen 1.6.3