Record audio question type

Question types ::: qtype_recordrtc
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Chris NelsonChris 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:
764 sites
392 downloads
29 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)
Picture of Chris Nelson
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
  • Picture of José Vidal de Araújo
    Sat, Apr 11, 2020, 6:20 AM
    Thanks!
  • Picture of Behrouz Pedrami Pour
    Tue, Jun 9, 2020, 1:29 AM
    Hi,
    I have installed the plugin on our moodle with version : Moodle 3.5.3+ (Build: 20181120), After that U have created a question as this type but when I clicked on preview moodle show the following errro:
    Call to undefined method question_attempt::get_outer_question_div_unique_id()

    Would you please help me?
  • Tim at Lone Pine Koala Sanctuary
    Tue, Jun 9, 2020, 2:22 AM
    I'm sorry. This plugin type is not acutally compatible with Moodle 3.5. I have updated the information.
  • Picture of Juan Lomeli
    Fri, Aug 28, 2020, 11:14 PM
    Hi, Chris!
    Congrats on your great work with this plugin.
    Is there any progress or news about RecordRTC compatibility with iOS on iPhone and iPad?
  • Picture of Chris Nelson
    Sat, Aug 29, 2020, 2:15 AM
    Hi Juan,
    It's more an issue of Apple's full support of WebRTC - although some RTC-related settings are hidden under 'experimental features' in desktop Safari, so it might be soon(?)
    Some initial testing has suggested that the open-source codecs are not supported very well on iOS. For audio, we are investigating an option of saving to MP3 instead (as the patents expired, and is fully supported on all devices), which will assist in playback on any device, if not actual recording.
    We're also looking at ensuring that this question type will work on the Moodle App in the near future, which may also help get this working on iOS (as it seems to be easier for specific iOS apps to have microphone access compared to a website in a general-purpose web browser). However, that also depends on how good the 'normal Atto RecordRTC technology is implemented in the Moodle App already.
    But in general feature news: Mahmoud and Tim are working on video recording, so keep an eye out for the next release.
  • Picture of Juan Lomeli
    Sun, Aug 30, 2020, 1:53 AM
    Hi, Chris!
    Thank you for your quick and illustrating answer.
    I'll keep on waiting smile
    Again, great work!
    Best, Juan.
  • Picture of V B
    Thu, Oct 8, 2020, 11:12 PM
    Hi Chris,
    I'm interested in video recording plugin, do you have any information about release date?
  • Picture of Chris Nelson
    Thu, Oct 8, 2020, 11:15 PM
    @V B: Mahmoud is literally working on it now. Give us a couple of weeks? smile
  • Picture of JC Dodo
    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.
  • Picture of V B
    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.
  • Picture of Dylan Lewis
    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.
  • Picture of Shalaw M Jamal
    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.
1 2
Please login to post comments