UNPKG

web-vad

Version:

Web Voice Activity Detection (VAD)

36 lines (35 loc) 1.15 kB
declare var $ce973a3aaf304746$export$700c1521c45794a6: any; declare class $ce973a3aaf304746$export$d0b8dcd6dc101d82 { static precacheModels(sileroURL: any): Promise<void>; constructor(options: any); options: any; state: string; audioContext: null; stream: null; sourceNode: null; audioVADNode: null; init(): Promise<$0c77cb1bb2feb95e$export$206ec340d8ea02fe>; validateOptions(): boolean; onFrameProcessed(): void; onVADMisfire(): void; onSpeechStart(): void; onSpeechEnd(): void; pause: () => void; start: () => void; destroy: () => void; } declare class $0c77cb1bb2feb95e$export$206ec340d8ea02fe { constructor(audioContext: any, options: any); options: any; audioContext: any; vadNode: any; frameProcessor: any; load(): Promise<this>; start: () => void; receive: (node: any) => void; pause: () => void; processFrame: (frame: any) => Promise<void>; destroy: () => void; handleFrameProcessorEvent: (ev: any) => void; } export { $ce973a3aaf304746$export$700c1521c45794a6 as VADState, $ce973a3aaf304746$export$d0b8dcd6dc101d82 as VAD };