LogoRobo.js
Packages@robojs/ai

VoiceInputFrame

Interface: VoiceInputFrame

Audio frame delivered to the engine when streaming microphone input.

Properties

PropertyTypeDescription
channelsnumberNumber of audio channels encoded within the frame.
dataBufferRaw PCM data for the frame.
encoding"pcm16"Encoding used for data.
isSpeechEnd?booleanSignals when the caller believes speech content has ended.
lengthnumberFrame length in PCM samples.
sampleRatenumberSample rate applied to the frame.
speakerId?null | stringOptional speaker identifier for diarization-aware engines.
timestampnumberTimestamp in milliseconds when the frame was captured.

On this page