html5 audio recorder

html5-audio-recorder

HTML

First we have the controls. We have a button to record, and stop the recording.

Then we have a recordingsList list tag to hold all the recordings.

Recorder.js

We create a new AudioContext, which we use it as a parameter in Recorder class.
We must implement the onAnalysed callback handler.

Only then we can start to use the recorder

start record handler

stop record handler

Assign handlers to event listeners.