mimic-recording-studio icon indicating copy to clipboard operation
mimic-recording-studio copied to clipboard

Recording does not stop automatically

Open dselzle opened this issue 2 years ago • 3 comments

Describe the bug After I stop talking while recording a phrase, the recording does not stop automatically. It only stops if I hit the Escape key.

To Reproduce Steps to reproduce the behavior:

  1. Hit spacebar to record a phrase.
  2. Speak the phrase.
  3. Stop talking and be silent.
  4. The recording continues indefinitely.

Expected behavior Recording stops automatically when it detects silence.

Log files None that I can find.

Environment (please complete the following information):

  • Device type: Dell XPS 13 Plus 9320
  • OS: Ubuntu 22.10
  • Browsers: Chrome 108.0.5359.124, Firefox 108.0
  • Mimic Recording Studio: Docker container, don't know how to find version numbers

dselzle avatar Dec 29 '22 21:12 dselzle

This also happening to me :+1: Debian Sid with Docker docker-ce/bullseye 5:24.0.2-1~debian.11~bullseye amd64 and both latest Firefox and Vivaldi browsers(exact same steps to reproduce)

vmarmot avatar Jun 04 '23 21:06 vmarmot

Oh I thought this was as designed lol. OK, so it's happening to me too. I wonder if it's super sensitive to background noise.

marshalleq avatar Aug 03 '23 04:08 marshalleq

In record.js around line 321 change the value to your liking. I was -80 I changed it to -70 and it worked for my microphone and background noise in my room.

  silenceDetection = stream => {
    const options = {
      interval: "150",
      threshold: -70
    };

numberformat avatar Nov 13 '23 01:11 numberformat