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:
282 sites
36 downloads
32 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.

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


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

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Me at Wu Zhun, near Shanghai
    Tue, 16 Jul 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, 16 Jul 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

  • Bob Cole
    Wed, 11 Sep 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.
  • Paul Nicholls
    Wed, 11 Sep 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
  • Blair F.
    Wed, 9 Oct 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.
  • eda karacelebi
    Thu, 23 Jan 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?
  • Gorn ---
    Fri, 31 Jan 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.
  • María José Blanes
    Thu, 8 May 2014, 7:08 PM
    Hi,
    nice plug-in!
    I have Moodle 2.6 and I can use it without problems in Firefox or Chrome, but in debug mode, I get a warning message and I don't know how to fix it:

    filter_text() is deprecated, use format_text(), format_string() etc instead.•line 474 of /lib/deprecatedlib.php: call to debugging()
    •line 195 of /mod/assign/submission/onlineaudio/locallib.php: call to filter_text()
    •line 284 of /mod/assign/submission/onlineaudio/locallib.php: call to assign_submission_onlineaudio->print_user_files()
    •line 240 of /mod/assign/assignmentplugin.php: call to assign_submission_onlineaudio->get_form_elements()
    •line 5752 of /mod/assign/locallib.php: call to assign_plugin->get_form_elements_for_user()
    •line 5833 of /mod/assign/locallib.php: call to assign->add_plugin_submission_elements()
    •line 48 of /mod/assign/submission_form.php: call to assign->add_submission_form_elements()
    •line 191 of /lib/formslib.php: call to mod_assign_submission_form->definition()
    •line 3188 of /mod/assign/locallib.php: call to moodleform->moodleform()
    •line 503 of /mod/assign/locallib.php: call to assign->view_edit_submission_page()
    •line 53 of /mod/assign/view.php: call to assign->view()


    In IExplorer 10, the "Settings.." button of the player doesn't work... so it's possible students can't give the system permission to access the microphone.

    Thanks for your work,
    Maria
  • Harlow Pinson
    Tue, 13 May 2014, 11:34 PM
    Problem with Moodle 2.7. White screen upon upload, and upon and subsequent views. This is in Chrome Version 34.0.1847.131 m and in Firefox 29.0.1.
  • Jason Barr
    Wed, 21 May 2014, 4:23 AM
    I am having a problem with this block in Moodle 2.6.2. It will record the audio but when we click the upload button I get this error:

    A required parameter (id) was missing
    More information about this error
    Debug info:
    Error code: missingparam
    Stack trace:
    • line 463 of /lib/setuplib.php: moodle_exception thrown
    • line 545 of /lib/moodlelib.php: call to print_error()
    • line 7 of /mod/assign/submission/onlineaudio/upload.php: call to required_param()

    I have tried explorer, chrome and firefox. I have tried an older version of flash and the latest version of flash too.
  • Paul Nicholls
    Tue, 27 May 2014, 7:32 AM
    Hi Jason,
    I've just released version 1.1.2, which should fix this issue.
  • Boris Puhanic
    Thu, 19 Jun 2014, 4:05 PM
    There seems to be an error in locallib.php which causes an error when trying to grade submissions. Line 180 refers to : require_once ... mod/assignment/locallib.php

    I think it should be ...mod/assign/locallib.php.
  • Toni Soto
    Tue, 1 Jul 2014, 7:09 AM
    Yes the error is fixed as soon as you change in /mod/assign/submission/onlineaudio/locallib.php (line 180):
    from...
    require_once($CFG->dirroot . '/mod/assignment/locallib.php');
    .. to ..
    require_once($CFG->dirroot . '/mod/assign/locallib.php');

    ... as Boris said.

  • me
    Tue, 15 Jul 2014, 3:40 AM
    Hello! We have just moved to 2.7, and installed this plugin for that version. We see the "microphone permission" request, we see the "recording buttons", but when we SAVE and then UPLOAD, we see a "Uploading, please wait....." message that never goes away. So we can complete the entire process, but not get the recorded file to upload. I am using Firefox 26.....is there something obvious that needs to be adjusted to eliminate this final stoppage to the assignment process?
  • Paul Nicholls
    Wed, 16 Jul 2014, 12:28 PM
    Thanks, Boris/Toni - I've just released v1.1.3 which fixes that reference (and two others) to the "old" mod/assignment plugin. Jim, this should fix your issue with it on 2.7 - please grab a copy from here or Github and you should be all sorted!
Please login to post comments