mimic-recording-studio
mimic-recording-studio copied to clipboard
Recording does not stop automatically
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:
- Hit spacebar to record a phrase.
- Speak the phrase.
- Stop talking and be silent.
- 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
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)
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.
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
};