RawAudioClipStream
(
newReadyLength
, newMaxLength
)
|
Generates sample buffer on construct
Signature
Meta.Voice.Audio.RawAudioClipStream.RawAudioClipStream(float newReadyLength=WitConstants.ENDPOINT_TTS_DEFAULT_READY_LENGTH, float newMaxLength=WitConstants.ENDPOINT_TTS_DEFAULT_MAX_LENGTH) Parameters newReadyLength: floatnewMaxLength: float |
RawAudioClipStream
(
newChannels
, newSampleRate
, newReadyLength
, newMaxLength
)
|
Generates sample buffer on construct
Signature
Meta.Voice.Audio.RawAudioClipStream.RawAudioClipStream(int newChannels, int newSampleRate, float newReadyLength=WitConstants.ENDPOINT_TTS_DEFAULT_READY_LENGTH, float newMaxLength=WitConstants.ENDPOINT_TTS_DEFAULT_MAX_LENGTH) Parameters newChannels: intnewSampleRate: intnewReadyLength: floatnewMaxLength: float |
SampleBuffer
: float []
[Get] |
Sample buffer containing all raw float data
Signature
float [] Meta.Voice.Audio.RawAudioClipStream.SampleBuffer |
AddSamples
(
buffer
, bufferOffset
, bufferLength
)
|
Adds a sample buffer to the current stream in its entirety.
Signature
override void Meta.Voice.Audio.RawAudioClipStream.AddSamples(float[] buffer, int bufferOffset, int bufferLength) Parameters buffer: float []
A buffer of decoded floats that were decoded
bufferOffset: int
The offset of the buffer to be used
bufferLength: int
The total samples to be used
Returns override void |