Skip to content

publicocean0/mp3recorder.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

mp3recorder.js

mp3 recorder tool using a worker for encoding into mp3 format

Object

var r= new MP3Recorder(options) where options is object setting possible events

Api

pause: to pause the recorder
resume: to resume the recorder
getElapsedTime: get the recording elapsed time
isPaused: if the recorder is recording or not
start: to start the recordering
stop : to stop the recordering

Events

onInit(context,processor): when the audio context is created
onPause: paused the recorder
onResume: resumed the recorder
onStart: started the recordering
onStop : stopped the recordering
onCompleted(blob,elapsed): when mp3 is generated
onError(message): when a error occurs

Releases

No releases published

Packages

No packages published