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