I have put together some code for testing the voice recorder (java applet).
The voice recorder test is on github (https://github.com/mkassaei/voice_recorder_test
To add this to your moodle install, type:
clone git://github.com/mkassaei/voice_recorder_test.git voice_recorder_test
in the top level of your moodle folder, then visit http://path.to.your/moodle/voice_recorder_test/test.php
This displays the voice recorder which allows user to record and playback the current recording (The save/submit button with an appropriate form and hidden element is not added here).
For my project (an oralresponse question type) which allows teachers to record audio and save it to repository where recorded files associates with the activity (in this case, the current question).
Basically, my understanding is that I need to display the applet where user can record and play back audio and then by pressing “Use this recording” button the filepicker would have a filename prepared to be stored (cf. voicerecorderupload.php in my test project) and the action needs to be set to something (similar to upload plugin). We may also want to add a “save as” option to the form.