expo-sound-analysis
Version:
Expo plugin for iOS Sound Analysis
13 lines • 458 B
TypeScript
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