Question types: Record audio question type

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.
390 sites
511 downloads
18 fans
Current versions available: 2
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 Chris Nelson
    Sat, Feb 1, 2020, 12:59 AM
    Thanks for the feedback, Hakan. smile

    We've kept v1.0 as simple as possible, but we'll be refining it over the next several months. I should signpost that in the next version, we'll probably be turning on the video recording option, and as a result, it'll require a slight rename.
  • Picture of Johannes Raymakers
    Thu, Feb 6, 2020, 6:41 AM
    Thank you for this beautiful plugin. This plugin will prove its worth especially for foreign language education. However there is one problem: the recording option does not work on an iPad. Is there a solution for that? Are there browsers for the iPad that work? Will there be a version in future that is suitable for the iPad?
  • Picture of Chris Nelson
    Thu, Feb 6, 2020, 4:01 PM
    Hi Johannes,

    We're only just planning roll-out to OU students for the next academic year ourselves, so it's still very much early days. All we've really done for v1.0 is make RecordRTC a dedicated quiz question type (rather than being Essay with the Atto RecordRTC button available - there were obvious benefits to streamline the interface). Therefore it has all the support (and current issues) of the 'main' RecordRTC plug-in, the latest being reported at https://docs.moodle.org/38/en/RecordRTC

    In the short-term, I assume that Chrome on an iDevice should work, but if I recall correctly, Apple have a security policy of not allowing websites access to the microphone. I need to test that assumption myself, but my understanding is that app access to the microphone is OK, which is why we'll be working on ensuring the question works with the Moodle App for September.
  • Picture of Chris Nelson
    Fri, Feb 7, 2020, 9:18 PM
    OK, I've now had a chance to directly test wider support. It looks like the browser is completely cut off from the device microphone on iOS devices (whether it is Safari or Chrome doesn't seem to matter. Additionally, Chrome for iOS doesn't include the necessary audio support of its Android/Windows siblings). That seems to be a deliberate platform limitation rather than an issue with the plug-in.

    Checking the Moodle App on iOS, RecordRTC (when a button in Atto), doesn't seem to work either. However, I am pretty sure that non-browser apps *can* access the microphone with user permission when its built in. I am not an expert in this area, but it appears that Moodle will need to add support for RecordRTC into the app, and also add app permissions for microphone access. I'll discuss this with the manager who looks after the OU-branded version of the Moodle App as they are better placed to raise this general app/iOS issue.
  • Picture of Johannes Raymakers
    Sat, Feb 8, 2020, 1:11 AM

    Dear Chris,
    Thank you very much for your efforts to make this plugin usable for iOS devices.
  • Picture of Antonello Ratta
    Thu, Mar 26, 2020, 3:43 PM
    Thanks for what you are doing.
    Unfortunately I can't use it. I loaded the plugin on a 3.8 platform but when I test to see how a student receives the question, I get this error: "WebRTC not supported
    Your browser offers limited or no support for WebRTC technologies yet, and cannot be used with this type of question. Please switch or upgrade your browser. "
    Maybe this happens because my site is not https? Since I have not uploaded the SSL certificate or are there other problems that I can't understand?
    Thanks for your help.
    Antonello Ratta
  • Tim at Lone Pine Koala Sanctuary
    Thu, Mar 26, 2020, 4:59 PM
    That is correct. It is a limitation that Web browsers put on audio/video recording. It can only work on HTTPS sites. There is nothing we can do about this in the plugin. (In this day and age, really, ever site should be HTTPS.) You will find that the same thing applies to the record audio button in the Moodle editor tool.
  • Picture of Antonello Ratta
    Thu, Mar 26, 2020, 8:05 PM
    Thanks Tim. As I imagined
  • Picture of Sébastien Viel
    Tue, Apr 7, 2020, 5:04 AM
    Hi from France ! Thank you for your wonderful plugin !
    I just want to inform you that I had the same error message than Antonello Ratta with Safari on Catalina (10.15.4) while my site works on HTTPS. The problem disappears when I use Chrome ou Firefox and the plugin works fine. So, I will suggest my students to use this two web browsers. Thanks again !
  • Tim at Lone Pine Koala Sanctuary
    Tue, Apr 7, 2020, 5:09 AM
    Correct. Safari does not support the Web RTC technology that this question type uses. (https://caniuse.com/#search=MediaRecorder)
  • Picture of José Vidal de Araújo
    Thu, Apr 9, 2020, 9:43 AM
    How do I add the button, other than by the editor?
  • Picture of Chris Nelson
    Thu, Apr 9, 2020, 6:06 PM
    Hi Jose,
    This is a Moodle Quiz question type rather than the general Atto-based record button. There's more info on the Atto button at: https://docs.moodle.org/36/en/RecordRTC
  • 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.
1 2
Please login to post comments