RHVoice as a library #522
Unanswered
rubens-schmitz
asked this question in
Q&A
Replies: 3 comments 2 replies
-
hello. you can have a look at /usr/include/RHVoice.h |
Beta Was this translation helpful? Give feedback.
2 replies
-
I think @Olga-Yakovleva can describe more about it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is whatever the developer using the library wants it to be. If you
need some custom information to be available in your callback functions,
set the user data to the pointer to that custom structure. If you don't
need anything like that, just set it to NULL.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, Olga, you're a hero, big thanks to you and everyone involved.
I would like to know how to use RHVoice as a library, after it had been installed. I tried many ways but always get "undefined reference". I'm a C++ beginner so I might be missing something basic.
I'm using RHVoice on personal projects[0], the stack is Debian 10 and Qt 5. I've made a package[1] with a modified test.cpp[2], which has a -d option to work as interactive, speaking the words that come from stdin.
I spawn a RHVoice-test process, and send words to it. This is far from ideal, as it has no control over playback, pitch, voice, etc...
The ideal would be a Qt Text-to-speech plugin, and to build that I need to use RHVoice as a library.
[0] https://bitbucket.org/rubens-schmitz/
[1] https://bitbucket.org/rubens-schmitz/rhvoice/
[2] https://bitbucket.org/rubens-schmitz/rhvoice/src/master/test.cpp
Beta Was this translation helpful? Give feedback.
All reactions