Click or drag to resize
ILyncPlatformLibraryInteractionSpeak Method (String, LyncPlatformLibrarySamplesPerSecond, LyncPlatformLibraryAudioBitsPerSample, LyncPlatformLibraryAudioChannel)
Speaks a text using the TTS engine specifying the LyncPlatformLibrarySamplesPerSecond, LyncPlatformLibraryAudioBitsPerSample and LyncPlatformLibraryAudioChannel then raises an PlaybackEnded event on completion.

Namespace: Inkostar.Interfaces
Assembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void Speak(
	string textToSpeak,
	LyncPlatformLibrarySamplesPerSecond samplesPerSecond,
	LyncPlatformLibraryAudioBitsPerSample bitsPerSample,
	LyncPlatformLibraryAudioChannel channel
)

Parameters

textToSpeak
Type: SystemString
The text to be spoken.
samplesPerSecond
Type: Inkostar.EnumsLyncPlatformLibrarySamplesPerSecond
The audio output number of samples per seconds.
Examples
LyncPlatformLibrarySamplesPerSecond.SamplesPerSecond32000
bitsPerSample
Type: Inkostar.EnumsLyncPlatformLibraryAudioBitsPerSample
The audio output LyncPlatformLibraryAudioBitsPerSample.
Examples
LyncPlatformLibraryAudioBitsPerSample.AudioBitsPerSample16
channel
Type: Inkostar.EnumsLyncPlatformLibraryAudioChannel
The audio output number of channels.
Examples
LyncPlatformLibraryAudioChannel.AudioChannelStereo
See Also