Record audio question type

Question types ::: qtype_recordrtc
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Chris Nelson, at the OU (Perry building)Mahmoud Kassaei
A manually graded Moodle question type, where the student records a short audio response to answer the question asked.
Latest release:
922 sites
354 downloads
31 fans
Current versions available: 3
This question type is like the standard essay question type, but instead of writing some text, students have a recording widget where they can record some audio (in future, we plan to also add video recording). We've basically taken RecordRTC (https://docs.moodle.org/38/en/RecordRTC) and implemented it as a question type. 

We consider this an evolution of an Essay question with RecordRTC buttons available to students. We have essentially taken the existing parts and distilled them into a specific question type for the ease and convenience of teachers designing quiz questions and for the students taking them.

Like the standard essay question type, it still requires human grading.

While this question type has obvious uses in Moodle Quiz, it has been primarily designed to be used in an embedded question context (see https://moodle.org/plugins/filter_embedquestion).

This question type has two behaviours: deferred feedback, for use in formal Moodle Quiz tests where a tutor would mark the students' recordings; and a new self-rating behaviour, where students mark themselves.

The self-rating behaviour is used essentially whenever the behaviour is interactive or immediate. We have assumed two use-cases: 1) the student listens to a 'model' audio clip and then records their attempt to follow it. They compare the two clips, and then rate their mimicry. Or 2) the student attempts to pronounce a written sentence verbally, and the feedback contains a model pronunciation clip, allowing the student to then compare the clips and self-rate their accuracy.

This plugin was created by The Open University UK, specifically for its School of Languages and Applied Linguistics.

(We hope that we could look at giving Essay a self-rating behaviour next, which could be used in a similar embedded fashion as an alternative to Pattern Matching sentences. Although if you're thinking about that area already, you might find Gordon Bateson's essay auto-grade plugin of interest.)

Potential privacy issues

You should consider the fact that under GDPR, a recording of a user's voice is personally identifiable data (it is arguably also biometric data). Such 'Special category data' requires extra protection.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Chris Nelson: Product owner
at the OU (Perry building)
Mahmoud Kassaei: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Fri, Nov 20, 2020, 12:56 PM
    Hi,

    Tried doing editing quiz and suddenly getting error message below.

    Exception - syntax error, unexpected '?'

    More information about this error (http://docs.moodle.org/36/en/error/moodle/generalexceptionmessage)

    Debug info:
    Error code: generalexceptionmessage

    Stack trace:
    * line 135 of /question/type/recordrtc/question.php: ParseError thrown
    * line 100 of /question/engine/bank.php: call to include_once()
    * line 154 of /question/engine/bank.php: call to question_bank::get_qtype()
    * line 1171 of /mod/quiz/classes/output/edit_renderer.php: call to question_bank::get_all_qtypes()
    * line 97 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\output\edit_renderer->initialise_editing_javascript()
    * line 211 of /mod/quiz/edit.php: call to mod_quiz\output\edit_renderer->edit_page()

    I'm using Moodle 3.6.6 (Build: 20190909) and PHP 7.0.33.

    Any advise is deeply appreciated.
  • Sun, Dec 13, 2020, 1:33 AM
    Hi @Chris Nelson

    any news about video recording plugin?
  • Tim at Lone Pine Koala Sanctuary
    Sun, Dec 13, 2020, 5:39 AM
    The code is done, and we are running it at the OU. I must find time to upload it.
  • Sun, Feb 7, 2021, 2:42 AM
    I've just tried this plugin and thought I would place an update here. It seems that iDevices can now record and save to an assignment, however, when using an iDevice there is no way to see or hear your recording. I think this must be down to the format things are saved in. Is it possible to have an option to save audio as MP3 and video as MP4?
  • Tim at Lone Pine Koala Sanctuary
    Sun, Feb 7, 2021, 5:41 PM
    Anyone would think that Apple has a strong business incentive to keep people using apps sold through the app store, rather that HTML 5 web pages that just work wink Every other browser supports .ogg (completely open format). Meanwhile, other browser can't record in MP3.

    Yes, we plan do to something about this, when we can work out what, and how.
  • Tue, Feb 16, 2021, 12:28 AM
    Hello sir,
    i have installed but when i want to add new assessment it show this error
    This page isn’t working right now domain.com can't currently handle this request.
    HTTP ERROR 500
  • Tim at Lone Pine Koala Sanctuary
    Tue, Feb 16, 2021, 12:49 AM
    That is not the most helpful error message ever. If you can turn on debugging output (https://docs.moodle.org/en/Debugging) that might give more clues.
  • Thu, May 6, 2021, 8:09 AM
    este error me salio: Call to undefined method question_attempt::get_outer_question_div_unique_id(), para solucionarlo editar,
    question/type/recordrtc/render.php
    Cambiar
    $PAGE->requires->js_call_amd('qtype_recordrtc/avrecording', 'init', [$qa->get_outer_question_div_unique_id(), $setting]);
    por:
    $qid = 'q'.$qa->get_slot();
    $PAGE->requires->js_call_amd('qtype_recordrtc/avrecording', 'init',[$qid, $setting]);

    Para mi funciono en moodle 3.5.1



  • Thu, May 6, 2021, 9:33 AM
    Hi Tim, Chris and Mahmoud,
    My team were investigating this plugin and after testing decided to pursue a different solution due to the need for iOS-compatibility. I've run into an issue when trying to uninstall it. The Question Instances Report claimed to see 2 instances on our system, one visible and one hidden. I went in and deleted the visible instance, and the Report changed to only show the hidden instance, as expected. I then went in and found the hidden instance, and deleted the quiz containing it. After doing this, the Question Instances Report still claims to be able to see one hidden instance, and thus won't give me the option to uninstall. Has anyone else reported behaviour like this, and is there a known fix for it? Any help you can offer is greatly appreciated smile
  • Tim at Lone Pine Koala Sanctuary
    Thu, May 6, 2021, 5:49 PM
    @salvador mtz - This question type does not support Moodle 3.5.

    @Keenan Nunes-Vaz after deleting the quiz that uses the question, you then need to find that question in the question bank, (you will need to use the 'Also show old questions' option) and delete it again - which probably requires restoring it first.

    We are going to do a work-around for Apple's non-support of open audio formats when we can, but we keep having too many other things to do.

  • Fri, May 7, 2021, 8:14 AM
    Thanks Tim, that solved it! Enabling 'Also show old questions' revealed the hidden question, enabling me to delete it, which itself enabled me to uninstall the plugin. Thanks for your prompt response smile.
  • Sun, May 23, 2021, 8:01 PM
    Hello
    Thank you very much for Plugin. It's amazing.

    Does it support version 3.11 ?

    Regards
  • Tim at Lone Pine Koala Sanctuary
    Tue, Jun 1, 2021, 7:54 PM
    It probably works in 3.11, but I have not had time to testing it myself. If you are able to try it, please comment where with your findings.
  • Mon, Oct 4, 2021, 3:06 PM
    Hi Tim,

    This question type is not supported on Moodle mobile app.
    Is there any way to make it functional on the mobile app?

    Regards
  • Mon, Oct 4, 2021, 4:30 PM
    Hi @Amit

    The underlying recording tech used for this question type is the same as the Atto WebRTC tech, so we are waiting for Moodle to support RTC in the Moodle App first.

    Although another blocker is that Apple do not currently support the open-source WEBM video or OGG audio formats.

    We have just got an MP3-based audio version out ourselves that covers desktop/laptop-based Apple Macs, which if we haven't already shared, we will do as soon as we've ironed it out fully.

    However, I understand that Moodle and Apple are currently discussing and iOS may support the open-source standards soon.

    Best wishes,

    Chris.
1 2 3
Please login to post comments