UNPKG

ai-slot-web-sdk

Version:

Effortlessly incorporate lifelike digital beings into your web applications, offering real-time conversations, actions, and facial expressions. They support a wide range of voices, languages, and emotional tones.

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; }