Forum Discussion

Wimvan-den-Bosc's avatar
Wimvan-den-Bosc
Community Member
14 years ago

Ability for users to record and playback sound during a quiz

Hi there,

I have been thinking a lot about the implementation of the following 2 ideas; I hope I am not the only one that has these wishes. It would be a game changer

1. To be able to use Google's Voice Search Engine in storyline! A user has to fill in the blank by speaking the word. Google's Voice Search is pretty good in recognizing words. I have found an Android application which used the Search Engine to display the spoken words as text. -this was a speech-to-sms program.

2. The ability for a user, learner, to listen first to a sound created in the course..and then the option to record his/her own voice so that the user can compare the pronunciation. -I have the Cambridge Advanced Learner's dictionary which has this option.

Can anyone tell me about the possibilities, or share some thoughts about this?

Online Language learning often goes without practicing the pronunciation...or when it does, then this website just only revolves completely around this skill.

Cheers

Wim

38 Replies

  • I too have this need. My use case is for call center agents to rehearse their responses to different customer scenarios. 

     

  • Anyone has a workaround we can use for 2021?

    As you all know, flash has been decommissioned on browsers so vocaroo won't work anymore.

  • LauraBoling's avatar
    LauraBoling
    Community Member

    Looking for a feature like this as well. We are looking to have a scenario play and then the phone representative record their response. Then, on the next slide, hear our generated response and compare the similarities and difference between the employees response and our pre-generated response.

  • AshrafLi's avatar
    AshrafLi
    Community Member

    This code works very well in the storyline. The issue just that should put a particular time to record in "await sleep(5000);" calculated by milliseconds in the code below. You can just put it directly inside a trigger using (Execute JavaScript) anywhere, then it will play by itself after finishing recording.

    There are other ways to save recording but I tried about one year ago and no way could work. I hope it can work in new versions.

    You can put it in Command, shape... or even in the player tab.

    It could be used for practicing speaking for students.

    Hope it can help.

    Here's the code:

    const recordAudio = () =>
    new Promise(async resolve => {
    const stream = await navigator.mediaDevices.getUserMedia({ audio: true });

    const mediaRecorder = new MediaRecorder(stream);

    const audioChunks = [];


    mediaRecorder.addEventListener("dataavailable", event => {
    audioChunks.push(event.data);

    });


    const start = () => mediaRecorder.start();


    const stop = () =>
    new Promise(resolve => {
    mediaRecorder.addEventListener("stop", () => {

    const audioBlob = new Blob(audioChunks);

    const audioUrl = URL.createObjectURL(audioBlob);

    const audio = new Audio(audioUrl);
    const play = () => audio.play();

    resolve({ audioBlob, audioUrl, play });

    });


    mediaRecorder.stop();

    });


    resolve({ start, stop });

    });


    const sleep = time => new Promise(resolve => setTimeout(resolve, time));


    (async () => {
    const recorder = await recordAudio();

    recorder.start();

    await sleep(5000);

    const audio = await recorder.stop();

    audio.play();
    })();

     

  • Is the functionality avilable now? I am developing a module on spoken english and would like the user to record and play back their voice. 

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      Hello Debraj,

      We still don't have any new updates to share regarding this feature request, but we'll be sure to let everyone subscribed to this thread know when this feature gets added. Here's a quick look at how we manage feature requests.

      In the mean time, you can check out my colleague Katie's response here where she shared some community posts that contained workarounds provided by members of the community. 

  • Has this been added to the Storyline roadmap as of 2024? There's been at least eight years of users asking for this, the demand seems to be present.

  • I need not recording but voice recognition feature and how do i implement it in storyline