-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delays when transcribing streaming audio #58
Comments
Hi @scott-vector, interesting use case! |
Yeah I was going to convert to that style. Do you have any interest in that?
…On Sat, Nov 12, 2022 at 3:38 AM ccoreilly ***@***.***> wrote:
Hi @scott-vector <https://github.com/scott-vector>, interesting use case!
Please take into account that transcription speed depends on the CPU of
the user as it is running locally. I have experienced low speed on an
Android phone vs a Macbook.
You might try using AudioWorklets
<https://github.com/ccoreilly/vosk-browser/tree/master/examples/modern-vanilla>
to see if it helps. Otherwise it'd be interesting to analyze where the
latencies are coming from.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOV5EQPL7KQCQWTSMOGR6TWH5JRFANCNFSM6AAAAAAR4AHBSM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Generally speaking, yes, it' be nice to integrate AudioWorklets seamlessly in the library but allow developers to use the underlying API directly. |
@scott-vector Hey, have you managed to fix delays? |
First of all, excellent work. Vosk is great as it is, and this library makes it even better.
I am experiencing a heavy delay on transcription when pulling in a stream from webRTC (partials and fulls).
I suspect maybe it is because of the deprecated "createScriptProcessor" and "onaudioprocess" pieces, but I am unsure.
Here is how I am processing things. If you have any ideas as to why things would be delayed, please let me know. Thank you.
The text was updated successfully, but these errors were encountered: