microphone-js
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,30 @@ | ||
declare const Microphone: (customConfig?: CustomConfig | undefined) => MicrophoneInstance; | ||
export default Microphone; | ||
interface AudioState { | ||
leftChan: Float32Array[] | ||
rightChan: Float32Array[] | ||
recordingLength: number | ||
} | ||
interface Config { | ||
nbChannels: number | ||
sampleRate: number | ||
bufferSize: number | ||
byteRate: number | ||
} | ||
interface CustomConfig { | ||
nbChannels?: number | ||
sampleRate?: number | ||
bufferSize?: number | ||
onData?: (event: any) => any | ||
} | ||
interface MicrophoneInstance { | ||
start: () => void | ||
stop: () => void | ||
reset: () => void | ||
download: (blob: Blob) => void | ||
getBlob: () => Blob | undefined | ||
} | ||
declare const Microphone: (customConfig?: CustomConfig | undefined) => MicrophoneInstance | ||
export default Microphone |
{ | ||
"name": "microphone-js", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59058
618