Your Moodle version

Assignment submissions : Online audio recording

assignsubmission_onlineaudio
Maintained by Picture of Paul Nicholls 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!
Moodle 2.3, 2.4, 2.5, 2.6

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.

INSTALLATION:
- 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

Screenshots

Screenshot
Screenshot

Contributors

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

Comments RSS

Show comments
  • Picture of Joost Elshoff
    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...
  • Picture of Klaus Steitz
    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: http://download.hrz.tu-darmstadt.de/media/HRZ/elc/Moodle/assignsubmission_onlineaudio.php

    It could be integrated in the next version...

    Klaus
  • Picture of Alan Hovden
    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.

    -Al
  • Picture of Paul Nicholls
    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).

    -Paul
  • Picture of tong adam
    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?
  • Picture of Martin Henits
    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
  • Picture of Martin Henits
    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?
  • Picture of Martin Henits
    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
  • Me at Wu Zhun, near Shanghai
    Tue, Jul 16, 2013, 3:20 PM
    Hmmm. Ok, perhaps I'm reading this incorrectly.
    The instructions for this are actually clear.

    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

    and as such, it does it. Creates the widget on the page. and appears to work. Dam. It does work. Uploads and everything.
    Maybe I"ve been at this too long.
    I thought the original one sat on the page as a widget, that you could use to practice with. Recording and playing back until you were ready to upload. As a piece of Moodle Media. This one is actually an Assignment, as it says. hmmm
    Sorry if I'm confusing you. - Robert

  • Picture of Bob Cole
    Wed, Sep 11, 2013, 4:19 AM
    I've had success with the plugin on Moodle 2.4.1 but so far only in Safari 6.0.5, and Mozilla Firefox 22.0. Is the plug-in compatible with Google Chrome? I'm not able to activate the microphone or to save a file when in the Chrome environment.
  • Picture of Paul Nicholls
    Wed, Sep 11, 2013, 11:37 AM
    Hi Bob,
    Yes, this works with Chrome - but you have to allow the microphone access twice. In addition to the Flash Player request (as per other browsers), Chrome will put a stealthy grey bar across the top of the page asking for access (or, if it has remembered a denial, a small icon at the right-hand side of the address bar, through which you can grant permission).

    This is a reasonably recent change in Chrome to address a security issue. Unfortunately, its current implementation means that if you don't grant permission via the Chrome request, Flash Player thinks it has access but will not actually receive any audio.

    -Paul
  • Picture of Blair F.
    Wed, Oct 9, 2013, 1:45 AM
    We are experiencing the same problem identified by techexplorer, here in the bugtracker: https://github.com/pauln/moodle-assignsubmission_onlineaudio/issues/5, resulting in a white screen after uploading a file.

    Call to undefined method assign_submission_onlineaudio::portfolio_exportable() in /moodle/mod/assign/submission/onlineaudio/locallib.php on line 205

    We are using Moodle 2.5.2.
  • Picture of eda karacelebi
    Thu, Jan 23, 2014, 5:56 PM
    hello everone, I installed but it is not working. I am using Moodle 2.5. When I click record it iseems recording but it never save.. could you please help?
  • Picture of Gorn ---
    Fri, Jan 31, 2014, 8:46 PM
    Hi paul,

    we're using Moodle 2.4.8, unfortunately the plugin doesn't seem to work. The error message is as follows:

    Debug info:
    Error code: unsupportedsubplugin
    Stack trace:

    line 34 of /mod/assignment/mod_form.php: moodle_exception thrown
    line 191 of /lib/formslib.php: call to mod_assignment_mod_form->definition()
    line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
    line 268 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

    We also have problems with some strings, but that's just a minor concern.
1 2
Please login to post comments