MycroftAI / mimic-recording-studio

Mimic Recording Studio is a Docker-based application you can install to record voice samples, which can then be trained into a TTS voice with Mimic2
Apache License 2.0
493 stars 111 forks source link

Recording does not stop automatically #96

Open dselzle opened 1 year ago

dselzle commented 1 year ago

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):

vmarmot commented 1 year ago

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)

marshalleq commented 11 months ago

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.

numberformat commented 8 months ago

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
    };