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.

Overview

Properties

int
The current sample of the playing tts audio data if applicable
int
The total samples available for the events
The callback following a change to the current sample
The current events if applicable
TTSEventContainerDelegate
The callback following a event update

Details

Properties

int Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.CurrentSample
The current sample of the playing tts audio data if applicable
int Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.TotalSamples
The total samples available for the events
TTSEventSampleDelegate Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.OnSampleUpdated
The callback following a change to the current sample
TTSEventContainer Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.CurrentEvents
The current events if applicable
TTSEventContainerDelegate Meta.WitAi.TTS.Interfaces.ITTSEventPlayer.OnEventsUpdated
The callback following a event update
Did you find this page helpful?
Thumbs up icon
Thumbs down icon