Online audio recording

Assignment submissions ::: assignsubmission_onlineaudio
Maintained by Paul Nicholls
Audio recorder (Flash 10.1+) submission method. Records locally and uploads via HTTP POST, so there's no need for a streaming server!
Latest release:
563 sites
31 fans
Current versions available: 3

Finally putting an end to the need for a streaming server (or a Java applet) to allow students to record audio clips for Moodle assignments, the Online Audio Recording assignment uses Flash (10.1+) to record audio from a microphone, convert it to MP3 format and upload it to Moodle via HTTP POST.

- Place the "onlineaudio" directory within your_moodle_install/mod/assign/submission/
- Visit the admin notifications page and complete the installation
- Done!

USAGE (teacher):
- As a teacher, create (or edit) an assignment
- Under "Submission settings", set "Online audio recording" to "Yes" and choose the maximum number of recordings
- Save the assignment

USAGE (student):
- In the assignment submission, find the "Online audio recording" section
- If you haven't used it before, you may need to allow access to your microphone
- Click the red circle button to begin recording
- Click the blue square button (or the red circle button again) to stop recording
- Enter a file name and click "Save"
- Wait for it to state that it's "Ready to upload" and click the "Upload" button

Related plugins:
Online Audio Recording (assignment type for old mod_assignment)
Record Audio (repository plugin - record audio anywhere you can upload a file!)


Screenshot #0
Screenshot #1


Paul Nicholls (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Thu, Sep 6, 2012, 1:38 PM
    Thank you for the contribution. I would like to know if it is possible to the assignment upgrade tool to convert 2.2 legacy audio recording assignments to the 2.3 type. This is assuming both plugins are installed on the same site.
  • Sat, Sep 29, 2012, 2:58 AM
    Hi. Very good mod! Thank you! But when I click to the upload button, a blank page appears and I have not more access to the assignment. I had not this problem in the 2.2 version. My moodle version is 2.3.2+ (Build: 20120927)
  • Mon, Oct 8, 2012, 3:58 AM
    Rob, the assignment upgrade tool should work to convert legacy Online Audio assignments to the new 2.3 type - as long as you're running the 1.0 release of the 2.3 type, since that's where I added support for it.
    Olivier, you'll need to turn debug output on and turn up the debug level until you get a message instead of a blank page. If the error message isn't enough to help you work it out, feel free to either post in the forums or send me a private message with the details.

  • Wed, Oct 10, 2012, 6:18 AM
    Thanks for your module. I found that some language strings were missing and and portfolio_exportable() was not defined.
  • Wed, Oct 10, 2012, 8:08 AM
    Some language strings refer strings in assignment_onlineaudio.php which is for assignment 2.2 type.
  • Mon, Oct 22, 2012, 8:36 PM
    buen trabajo
  • Mon, Oct 29, 2012, 6:49 PM
    Looks great, but could it be modified to also include video recording? Settings of the Flash player indicate it could be done, but I can't find reference of it in the script...
  • Tue, Dec 4, 2012, 11:09 PM
    Hello Paul, thanks for the 2.3 version! Converting empty assignments from 2.2 to 2.3 works fine, but if there are already submitted assignments i just get an error when trying to upgrade to 2.3: "The assignment conversion was not successful. The log from the upgrade was: Could not convert assignment. Exception was: {$a}."
    Do you know a workaround - or any idea?
    Thanks a lot!

    PS: again i created a german language file for the 2.3 Online audio recording:

    It could be integrated in the next version...

  • Thu, Feb 28, 2013, 7:42 AM
    I want to install the Moodle 2.3 version of this. Should I uninstall the 2.2 version first? I know the 2.3 version is installed in a different directory so they may be able to co-exist - one for the old assignment type and one for the new. If not, how do I uninstall the old 2.2 version? There is no uninstall/delete button in the Moodle Site Administration area that I can find.

  • Thu, Feb 28, 2013, 7:47 AM
    Hi Al,
    The two can coexist - and, in fact, it might be necessary to have both in order to successfully migrate existing questions from the old plugin to the new one (I'm not sure, as I haven't tried doing it without having both installed).

  • Wed, Apr 3, 2013, 4:07 PM
    Hi, this plugin is very good. Just the string bug not yet solved. And if it can use HTML5 instead of flash, it will be an excellent plugin, am i right?
  • Thu, Apr 18, 2013, 1:39 AM
    It's a very good plugin. Thanks.
    However, in my opinion the file naming step is redundant and it would be good if we could get rid of this step.
    Is the flash recorder (recorder.swf) open source itself? If I could have access to its source code I might try to modify it in my desired way.
    Thanks again
  • Thu, Apr 18, 2013, 2:24 AM
    also it would be nice if we could somehow limit the total length of the recorded voice; for example to 5 seconds. is there any parameter that can be passed to recorder.swf to make it record for a limited time?
  • Thu, Apr 18, 2013, 2:40 AM
    and it would be really helpful if the strings that are shown in the recorder could be translated. I mean some strings like: "file name", "save", "ready to upload", ...
  • Me at Wu Zhun, near Shanghai
    Tue, Jul 16, 2013, 3:09 PM
    Thanks for your reply Paul. No real luck so far though.
    One thing I note. On 2.3, the package goes into mod/assignment/type, but on 2.5.1 it goes into mod/assign/submission ???
    I'm presuming that this isn't a typo or some such.

    Now, following the instructions, I placed it in the correct directory. Enabled it and made it visible. However, although I can see it listed in File Picker, there is no way I can get it to display on the page so a student can use it. It displays in the File Picker window, where you can use it, but not embed it into a page as a piece of Moodle Media.
    I'm sure 2.5.1 (20131207) has changes that are affecting these things, because it all worked fine until I did that last upgrade to (20131207)
    Thanks. Robert
Please login to post comments