Common-voice: Play / Pause button should not Pause

Created on 18 Jul 2017  路  8Comments  路  Source: mozilla/common-voice

While validating sentences I often get half way through the sentence and I want to restart it. The only option available now is to pause (and then resume) the playback which is not very useful. I would suggest simply changing the button to restart playback instead of pausing it.

help wanted

Most helpful comment

If someone interrupts your listening, you would need to pause, then resume.

This is not really a use case for me. If this occurs then it's usually paused in the middle of a word so I have to listen to the recording again anyway, which is not a real pain because they are usually only a few seconds in length.

If the pause button would be changed to a :repeat: repeat icon then it might not be clear when the recording is playing.

How about just a :arrow_forward: play and a :white_square_button: stop icon? So it starts playing when you click play, it goes back to the start when you click stop, and the icon reverts to the play icon.

All 8 comments

There is another option you did not mention, to wait a few seconds until the clip ends, then play it again.

Waiting is what I'm trying to avoid. And even if I were to wait for playback to end, why would I ever need to pause the clip?

If someone interrupts your listening, you would need to pause, then resume.

Yeah I can see your point @mbebenita, but I also see the point around pausing and restarting. I'm ambivalent as to which is the better approach. I'd love to hear other weigh in here.

Yeah I don't know which is better either. However, there are arguments on both sides.

If someone interrupts your listening, you would need to pause, then resume.

This is not really a use case for me. If this occurs then it's usually paused in the middle of a word so I have to listen to the recording again anyway, which is not a real pain because they are usually only a few seconds in length.

If the pause button would be changed to a :repeat: repeat icon then it might not be clear when the recording is playing.

How about just a :arrow_forward: play and a :white_square_button: stop icon? So it starts playing when you click play, it goes back to the start when you click stop, and the icon reverts to the play icon.

Ok, let's turn the pause button into a stop button, and make it restart the recording.

https://github.com/mozilla/voice-web/blob/7d6bb745801d31cb1ae5673caf3c7928cf44c4fc/web/src/lib/components/listen-box.tsx#L68

Working on this, opening PR shortly! :)

Was this page helpful?
0 / 5 - 0 ratings