API reference

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
OnEventsUpdated : TTSEventContainerDelegate
[Get][Set]
The callback following a event update
Signature
TTSEventContainerDelegate Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.OnEventsUpdated
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