Skip to content

Releases: artenax/rhvoice

1.8.0

18 Jul 01:31
Compare
Choose a tag to compare

Usage:
echo ''Some text'' | /opt/rhvoice/bin/RHVoice-test
echo ''Some text'' | /opt/rhvoice/bin/RHVoice-test -o output.wav
echo ''Some text'' | /opt/rhvoice/bin/RHVoice-test -o - -q max -v 100 | aplay - && echo Done
/opt/rhvoice/bin/RHVoice-test -i input.txt -o output.wav -q max -v 100
GUI

If you encounter clicks during realtime playback on newer systems, use the aplay command. It is available in the UI builds for Rosa and Jammy.
echo ''Some text'' contains two single apostrophes to avoid errors when these characters occur in the text.
Copy files: sudo cp -RP rhvoice /opt/rhvoice

Build options:
LDFLAGS='-Wl,-rpath,/opt/rhvoice/lib' cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/rhvoice -DSPEECH_DISPATCHER_MODULES_DIR=/usr/lib/speech-dispatcher-modules -Dservicedir=/usr/share/dbus-1/services -Dcommon_doc_dir=/opt/rhvoice/share/doc -DBUILD_CLIENT=1 -DBUILD_SERVICE=1 -DBUILD_SPEECHDISPATCHER_MODULE=1 -DBUILD_TESTS=ON -DBUILD_UTILS=ON -DCPACK_DEB_COMPONENT_INSTALL=OFF -DCPACK_NSIS_COMPONENT_INSTALL=OFF -DCPACK_RPM_COMPONENT_INSTALL=OFF -DENABLE_MAGE=OFF -DENABLE_SONIC=OFF -DHARDENING_PIC=OFF -DHARDENING_SSE2=OFF -DSANITIZE_ADDRESS=OFF -DWITH_CLI11=OFF -DWITH_DATA=ON -DWITH_PULSE=ON -DWITH_LIBAO=OFF -DWITH_PORTAUDIO=OFF -Drelease=ON -Ddev=OFF -Denable_xp_compat=OFF -DCMAKE_INSTALL_LIBDIR=/opt/rhvoice/lib -DBUILD_SHARED_LIBS=OFF -DRHVOICE_VERSION_FROM_GIT=1.8.0-128 -DUSE_CCACHE=OFF

ALT Linux forum suggested a more convenient yad script instead of UI.

Builds for mageia6 and ubuntu 16.04 don't support /etc (dictionaries, etc.), but have rpath (cmake). The jammy (beta) build has support for /etc, but no rpath (scons). Generated sound files are identical.
The rhvoice-beta archive includes a script for translating selected text. Just assign a hotkey for it in your DE - it's very convenient.