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

nodejs client example? #21

Open
FerLuisxd opened this issue Dec 14, 2022 · 1 comment
Open

nodejs client example? #21

FerLuisxd opened this issue Dec 14, 2022 · 1 comment

Comments

@FerLuisxd
Copy link

I found there is a python client example to be used on the backend but what about a nodejs one?
I would like to be able to send an audio buffer to the server and get a response

@fquirin
Copy link
Contributor

fquirin commented Dec 14, 2022

Hi @FerLuisxd ,

do you handle recording and (optionally) resampling already? Because I don't know how that works in Node.js, but large parts of the SEPIA web-audio lib should still be compatible. Maybe we can pick some parts and put it together for Node.js.

The most important parts are the sepia-stt-socket-client as server interface and the stt-socket-worker that handles the logic like buffering and streaming to the server. Since the worker is part of the web-audio lib, it might be possible to simplify it for stand-alone usage with Node.js.

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