-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to install on non Fedora distros? #22
Comments
All steps described in the manual install are the same for all distros, just the names for additional packages i.e. mbrola, gtts etc. if or if not available in a specific distro, differ from distro to distro. Basically you download the Master.ZIP file down, thats the GREEN "<> CODE" button in the code tab. For details see the individual install hints in the README.md . Just work your way from top to bottom in that readme. It's really straight forward and just one small step each. MBOLA is a bit more complex, but it's optional and Piper or GTTS as much, much better TTS-Systems. When you have all files in position, you run the compile.sh inside /usr/share/pva and the required java classes are created. Now you are ready to start it ( not as root, as user! ) . I suggest to start it via the desktop entry in you menu as any other app you start. This makes it easy to autostart it later. it should like this in the end:
Keep in mind, that you do not need every TTS system, but the one you wanne use, needs to work and be configured as "say" command in the config, otherwise you won't hear an answere. For tests, run "pva" inside /usr/share/pva as you desktopuser in a terminal. A manual stop will result in bound serverports and you need to kill python and java processes manually! Watch the log in ~/.var/log/ if something goes wrong, as you will see any output there. you can manually send sentences to the server by using openssl : echo 'keyword text' | openssl s_client -connect 127.0.0.1:39999 -nbio If the java process is running and bound to port 39999 ( check with netstat -lnap|grep java ) you will get a reaction in the log, even it's gets ignored : "Nicht für mich gedacht:was auch immer hier steht" -> means -> "not for me: what ever you send" If you see your text but "Nicht für mich gedacht" , you forgot to use the configured keyword :D If the STS system ( vosk ) is running ( check this with "pavucontrol" -> record tab ) , and you do not get any recognized words in the pva logfile, the sound input level may be to low OR it's the wrong device it listens too. If you use something besides german, you need to translate the commands before you start, or nothing will happen, when you speak to it ;) But you can store all your translations & changes in your ~/.config/pva/conf.d/ directory , so you don't need to be root to change the config. |
Thanks! Will try it out. |
Hi, this look very interesting. I am looking for documentations to install from source on non Fedora distros but can't find any. I am using Ubuntu.
Thanks.
The text was updated successfully, but these errors were encountered: