UNPKG

@sarafhbk/react-audio-recorder

Version:

This is a simple audio recorder package for react application using the javascript Web Audio API.

12 lines (11 loc) 328 B
import { RECORD_STATUS } from './status'; export declare const useAudioRecorder: () => { startRecording: () => void; stopRecording: () => void; pauseRecording: () => void; resumeRecording: () => void; status: RECORD_STATUS; audioResult: string; errorMessage: string; timer: number; };