UNPKG

convai-web-sdk

Version:

Integrate lifelike digital beings into your web applications with real-time conversations, actions, and facial expressions. Supports a variety of voices, languages, and emotions.

15 lines (14 loc) 416 B
export declare class AudioRecorder { private audioContext; private userMedia; private mediaStream; private workletNode; private audioCallback; private audioWorkletModule; constructor(); private convertoFloat32ToInt16; start(audioCallback: (buffer: ArrayBuffer) => void): void; stop(): void; removeMicrophoneAccess(): void; getMicrophoneAccess(): void; }