API reference
API reference
Select your platform
No SDKs available
No versions available

ITTSEventPlayer Interface

An interface to be implemented for any script that can perform audio event playback across the lifecycle of an audio file.

Properties

CurrentEvents : TTSEventContainer
[Get]
The current TTS events if applicable
Signature
TTSEventContainer Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.CurrentEvents
ElapsedSamples : int
[Get]
The current number of elapsed samples for the playing tts audio data
Signature
int Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.ElapsedSamples
OnSampleUpdated : TTSEventSampleDelegate
[Get][Set]
The callback following a change to the current sample
Signature
TTSEventSampleDelegate Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.OnSampleUpdated
TotalSamples : int
[Get]
The total samples available for the events
Signature
int Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.TotalSamples