Skip to content
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

Real-time audio input example #23

Open
bruskajp opened this issue Apr 2, 2023 · 2 comments
Open

Real-time audio input example #23

bruskajp opened this issue Apr 2, 2023 · 2 comments

Comments

@bruskajp
Copy link
Contributor

bruskajp commented Apr 2, 2023

The whisper.cpp repo has a real time audio input example. I think we should have a version of that in the rust code here.

I'm on my second iteration of it, following similar techniques to those used in the the cpp example code.

How do you feel about this being a part of the whisper-rs repo?

The other packages that I use are:
cpal: microphone recording
webrtc-vad: voice recognition detection
ringbuf: a ring buffer

@tazz4843
Copy link
Owner

tazz4843 commented Apr 4, 2023

This would be certainly a very good idea I think. If and when you do make a PR, request a review from me that way I see it quicker.

@tazz4843 tazz4843 linked a pull request Apr 7, 2023 that will close this issue
@ShayBox
Copy link

ShayBox commented Apr 8, 2023

This is exactly what I need, I want to add live captioning to VRChat.
I spent all day getting vosk to work but results are poor, Whisper looks promising.

I can't wait for this 😄

EDIT: Does this fork/pull request currently work? it gives me various actions like breathing, but no words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants