You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug 1
GenericExecuteSynth "echo '$DATA' | piper --sentence_silence 0.5 --output-raw --model ~/.local/share/piper/voices/en_US-lessac-high.onnx | aplay -r 22050 -f S16_LE -t raw -"
# only use medium quality voices to respect the 22050 rate for aplay in the command above.
GenericCmdDependency "piper"
GenericCmdDependency "aplay"
GenericCmdDependency "printf"
GenericSoundIconFolder "/usr/share/sounds/sound-icons/"
GenericPunctNone ""
GenericPunctSome "--punct=\"()<>[]{}\""
GenericPunctMost "--punct=\"()[]{};:\""
GenericPunctAll "--punct"
#GenericStripPunctChars ""
GenericLanguage "en" "en_US" "utf-8"
#GenericLanguage "fr" "fr_FR" "utf-8"
#AddVoice "en" "MALE1" "en_US-hfc_male-medium.onnx"
AddVoice "en" "FEMALE1" "en_US-lessac-high.onnx"
#AddVoice "fr" "MALE1" "fr_FR-upmc-medium.onnx -s 1"
#AddVoice "fr" "FEMALE1" "fr_FR-upmc-medium.onnx"
DefaultVoice "en_US-lessac-high.onnx"
#GenericRateForceInteger 1
#GenericRateAdd 1
#GenericRateMultiply 100
in piper.conf the --sentence_silence 0.5 option is not recognized. This is used to stop the 2-3s pause between sentences which occurs in piper tts. when i run
echo 'Summer crammed the harbor with noise and sunlight. It was eleven thirty. The day split open down the middle, crushing the docks under the burden of its heat. Moored at the sheds of the Algiers Municipal Depot, black-hulled, red-chimneyed freighters were loading sacks of wheat. Their dusty fragrance mingled with the powerful smell of tar melting under a hot sun.' | piper --output-raw --sentence_silence 0.5 --model ~/.local/share/piper/voices/en_US-lessac-high.onnx | aplay -r 22050 -f S16_LE -t raw -
for example (which is in piper.conf) in terminal, it works as expected and there's a 0.5s pause as expected. But when i use the tts in foliate it doesn't recognize the --sentence_silence 0.5 option i set up in piper.conf.
To Reproduce
Steps to reproduce the behavior:
Install piper-tts download this file speechd.conf_and_piper.conf.zip and place the speechd.conf in /home/avijit/.config/speech-dispatcher and piper.conf in /home/avijit/.config/speech-dispatcher/modules
Download .onnx and .onnx.json files and store them in ~/.local/share/piper/voices/
If tts and speech-dispatcher doesn't work in foliate, then kill speech dispatcher from system monitor and run speech-dispatcher -t 0
You will see that even after using --sentence_silence 0.5, there's a 2-3s pause between sentences.
Version:
Foliate version: 3.1.1
OS/Distribution and version: Ubuntu 24.04
Desktop environment: GNOME 46
Installation method: snap
The text was updated successfully, but these errors were encountered:
And I Also have this error when running foliate and sudo /usr/lib/snapd/snap-discard-ns foliate doesn't work for me.
(com.github.johnfactotum.Foliate:207383): com.github.johnfactotum.Foliate-WARNING **: 11:53:39.361: Error: Requiring Tracker, version none: Typelib file for namespace 'Tracker' (any version) not found
getURIFromTracker@resource:///com/github/johnfactotum/Foliate/library.js:83:24
get@resource:///com/github/johnfactotum/Foliate/library.js:121:42
getBookFromIdentifier@resource:///com/github/johnfactotum/Foliate/library.js:169:36
getBook@resource:///com/github/johnfactotum/Foliate/library.js:166:21
activate@resource:///com/github/johnfactotum/Foliate/library.js:860:63
activate@resource:///com/github/johnfactotum/Foliate/library.js:386:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
** (com.github.johnfactotum.Foliate:207383): WARNING **: 11:53:39.389: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
** (com.github.johnfactotum.Foliate:207383): WARNING **: 11:53:39.389: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
** (process:207529): WARNING **: 11:53:40.179: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
** (process:207529): WARNING **: 11:53:40.179: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
Describe the bug
I'm trying to use foliate with Piper-tts and eliminate the 2-3s pause between sentences. My
speechd.conf
ismy
piper.conf
file isin
piper.conf
the--sentence_silence 0.5
option is not recognized. This is used to stop the 2-3s pause between sentences which occurs in piper tts. when i runfor example (which is in
piper.conf
) in terminal, it works as expected and there's a 0.5s pause as expected. But when i use the tts in foliate it doesn't recognize the--sentence_silence 0.5
option i set up inpiper.conf
.To Reproduce
Steps to reproduce the behavior:
speechd.conf
in/home/avijit/.config/speech-dispatcher
andpiper.conf
in/home/avijit/.config/speech-dispatcher/modules
~/.local/share/piper/voices/
speech-dispatcher -t 0
--sentence_silence 0.5
, there's a 2-3s pause between sentences.Version:
The text was updated successfully, but these errors were encountered: