-
Notifications
You must be signed in to change notification settings - Fork 890
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 |
|
@flatsiedatsie thank you for |
|
The only downside now I cannot determine when the audio piped to |
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 = truepart might not be needed.