-
Notifications
You must be signed in to change notification settings - Fork 492
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
Adds --server and --volume option #378
base: master
Are you sure you want to change the base?
Conversation
This runs the core of the project in a loop until the process receives a termination signal.
The second commit to this pull request adds a This also works with JSON input, to change the volume while in server mode. E.g.
|
how would on go about using this server(i.e make requests)? how's this different from https://github.com/rhasspy/piper/blob/master/src/python_run/README_http.md |
It's not really a server, it's a long-running cli process.
Making a request works as follows:
Looking back, |
thanks, since the piper-tts python package doesn't sound as good (since the binary uses patched espeak-ng), this is alternative for now. can you share the binary ? |
Sure, the binary can be found here: https://github.com/createcandle/voco/tree/master/llm/tts Implementation example can be found here: |
linked binary was aarch64, forgot to mention but m running x86_64 arch.
|
Then you'll have to compile it yourself. |
this will increase the volume |
This runs the core of the project in a loop until the process receives a termination signal.
After creating this issue I thought I'd see if I could add "server" functionality myself. It's probably not optimal, since I'm not a C++ coder. The
bool running = true
part might not be needed.