Up

Speech from SAPI (Speech Application Programming Interface)

Based from the development made in Microsoft, allow the recognition and synthesis speech (MS Windows system is required)

Example

typeof speech = ObjSpeech;;
	
fun main ()=
	_showconsole;	
	set speech = _CRSpeech _channel;
	if speech == nil then
	(
		_fooS "Speech object is nil = error ! Do something !";
		0
	)
	else
	(
		_SetSpeechText speech "My taylor is rich !";
		_SetSpeechVolume speech 100;
		_PlaySpeech speech;
		(...)
	);	
	0;;

Note

See the doc in the development server too.