mirror of
https://github.com/SillyTavern/Extension-Speech-Recognition.git
synced 2026-10-15 13:32:06 +00:00
[GH-ISSUE #2] Broken, sent in WAV files seem to be completely empty. #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/Extension-Speech-Recognition#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snpNEXT on GitHub (Feb 12, 2024).
Original GitHub issue: https://github.com/SillyTavern/Extension-Speech-Recognition/issues/2
The generated wav files that are created when recording in the browser are always blank. I have confirmed that my microphone works in other browser applications and websites.
@Cohee1207 commented on GitHub (Feb 13, 2024):
Provide some details like your browser, STT backend, just anything.
@snpNEXT commented on GitHub (Feb 13, 2024):
I'm on google chrome, SillyTavern is 1.11.3 and I also tried 1.11.4 (staging)
@Velour-Fog commented on GitHub (May 4, 2024):
I can confirm that I also have this issue. I have narrowed it down to being a chrome specific issue, as it works fine in Firefox.
I have installed this extension via the download extension feature, and enabled --enable-modules=whisper-stt via the SillyTavern-extras server. I set it to "Whisper (Extras)" in the Speech Recognition settings, and when I hit record and talk, the "stt_test.wav" file has no audio recorded, but is the correct length. When I switch over to Firefox, it works totally fine.
Somehow the audio isn't being picked up in chrome for me despite me checking allow microphone when I am on the SIllyTavern UI. I even tried it after disabling all chrome browser extensions. Opening a new tab and going to a microphone test website shows that its definitely picking up the microphone.
PS- It also works fine when I use "Browser" under "Select Speech-to-text Provider". So its able to record audio via that, just not via "Whisper (Extras)".
@SolvAI commented on GitHub (May 30, 2024):
}
}
Error: failed to call OrtRun(). error code = 6.
at e.run (C:\SillyTavern\node_modules\onnxruntime-web\dist\ort-web.node.js:6:454392)
at e.run (C:\SillyTavern\node_modules\onnxruntime-web\dist\ort-web.node.js:6:443740)
at e.OnnxruntimeWebAssemblySessionHandler.run (C:\SillyTavern\node_modules\onnxruntime-web\dist\ort-web.node.js:6:446675)
at m.run (C:\SillyTavern\node_modules\onnxruntime-common\dist\ort-common.node.js:6:9992)
at sessionRun (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:207:36)
at encoderForward (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:520:18)
at Function.seq2seqForward [as _forward] (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:361:34)
at Function.forward (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:820:27)
at Function.seq2seqRunBeam [as _runBeam] (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:480:29)
at Function.runBeam (file:///C:/SillyTavern/node_modules/sillytavern-transformers/src/models.js:1373:27)