UNPKG

expo-sound-analysis

Version:
13 lines 458 B
import { EventSubscription } from "expo-modules-core"; export interface SoundEvent { type: string; confidence: number; timestamp: number; } export declare class SoundAnalyzer { static startAnalysis(): Promise<void>; static stopAnalysis(): Promise<void>; static analyzeFile(uri: string): Promise<SoundEvent[]>; static addSoundListener(listener: (event: SoundEvent) => void): EventSubscription; } //# sourceMappingURL=index.d.ts.map