Html5 Audio and Microphone Plugin that displays the waveform based on wavesurfer js

I need help!

I posted an Audio Player Project based on wavesurfer js which function perfectly. See  and

But I need help on how to insert an option to record the voice of a person so he or she can see the waveform when playing back the recording.

My problem is that I have little programming skills because I am a teacher not a developer and need this project for my classes.

Thank you in advance