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

useAudioDetection #10

Open
ttessarolo opened this issue Jan 24, 2025 · 2 comments
Open

useAudioDetection #10

ttessarolo opened this issue Jan 24, 2025 · 2 comments

Comments

@ttessarolo
Copy link

Hi I've rewritten your code using and audioWorklet from Chromium team. I've also created a React hook:

https://github.com/ttessarolo/useAudioDetection

@solyarisoftware
Copy link
Owner

Ciao Tommaso,
It would be great if you could mention my project as well! I kindly invite you to refer to it.

I’m not deeply involved in this JavaScript work anymore, but I’m curious to understand why you decided to port it to React—there are probably good reasons behind that. At the time, my goal was to deliberately write it in vanilla JavaScript.

Adding an explanatory note and a kind reference to the original project would be much appreciated.

Thank you,
Giorgio

@ttessarolo
Copy link
Author

Ciao Giorgio,

all done: I've included a Reference paragraph.

Regarding the motivations, I was exploring various approaches to send live audio to an LLM model. First, I tried evaluating solutions that used the client for audio chunking. Along the way, I radically changed my approach, opting for WebRTC and server-side processing instead. Check this out –> https://github.com/ttessarolo/ai-realtime-api. I’m trying to recreate OpenAI’s real-time API to use with local models.

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

No branches or pull requests

2 participants