Action< VoiceAudioInputState > | OnAudioStateChange[Get] Callbacks as audio state changes |
OnSampleReady[Get] Fired when a sample is ready to be read Parameters marker The marker in the AudioBuffer's ringbuffer where the sample starts levelMaxThe maximum volume (0-1) seen in this sample | |
OnSampleReceived[Get] Fired when a sample is received from an audio input source Parameters samples The raw float sample buffer sampleCountThe number of samples in the buffer maxLevelThe max volume in this sample | |
OnMicLevelChanged[Get] Fired when the volume level of an input source changes Parameters level The level of the volume on that input (0-1) | |
OnByteDataReady[Get] Fired when data is ready to be sent to various voice services Parameters buffer The byte buffer about to be sent offsetThe offset into the buffer that should be read lengthThe length of the data to be sent | |
OnByteDataSent[Get] Fired when byte data is sent to various voice services Parameters buffer The byte buffer about to be sent offsetThe offset into the buffer that should be read lengthThe length of the data to be sent |
delegate void | Fired when a sample is ready to be read Parameters marker The marker in the AudioBuffer's ringbuffer where the sample starts levelMaxThe maximum volume (0-1) seen in this sample |
Action<VoiceAudioInputState> Meta.WitAi.Events.AudioBufferEvents.OnAudioStateChange |
---|
Callbacks as audio state changes |
OnSampleReadyEvent Meta.WitAi.Events.AudioBufferEvents.OnSampleReady |
---|
Fired when a sample is ready to be read Parameters marker The marker in the AudioBuffer's ringbuffer where the sample starts levelMaxThe maximum volume (0-1) seen in this sample |
WitSampleEvent Meta.WitAi.Events.AudioBufferEvents.OnSampleReceived |
---|
Fired when a sample is received from an audio input source Parameters samples The raw float sample buffer sampleCountThe number of samples in the buffer maxLevelThe max volume in this sample |
WitMicLevelChangedEvent Meta.WitAi.Events.AudioBufferEvents.OnMicLevelChanged |
---|
Fired when the volume level of an input source changes Parameters level The level of the volume on that input (0-1) |
WitByteDataEvent Meta.WitAi.Events.AudioBufferEvents.OnByteDataReady |
---|
Fired when data is ready to be sent to various voice services Parameters buffer The byte buffer about to be sent offsetThe offset into the buffer that should be read lengthThe length of the data to be sent |
WitByteDataEvent Meta.WitAi.Events.AudioBufferEvents.OnByteDataSent |
---|
Fired when byte data is sent to various voice services Parameters buffer The byte buffer about to be sent offsetThe offset into the buffer that should be read lengthThe length of the data to be sent |
delegate void Meta.WitAi.Events.AudioBufferEvents.OnSampleReadyEvent ( RingBuffer< byte >.Marker marker, float levelMax ) |
---|
Fired when a sample is ready to be read Parameters marker The marker in the AudioBuffer's ringbuffer where the sample starts levelMaxThe maximum volume (0-1) seen in this sample |