Comments (6)
even with the above, i was still facing delay when new paragraph starts. i switched to this - brailcom/speechd#866 (comment) --- make sure you are using medium model for this.
from pied.
@tarsobcaldas did you found any solution, i am having the same problem.
from pied.
Not yet, unfortunately
from pied.
@tarsobcaldas found solution, it works for me.
source -> ken107/read-aloud#375 (comment)
This is my config, for reference ->
piper.conf
DefaultVoice "en/en_GB/alan/medium/en_GB-alan-medium.onnx"
# Specifying a rarely used symbol & big limit so that speech-dispatcher doesn't cut text into chunks:
GenericDelimiters "˨"
GenericMaxChunkLength 1000000
# These lines are important to specify for every language you'll use, otherwise some characters will not work:
GenericLanguage "en" "en-us" "utf-8"
#GenericLanguage "en" "en-gb" "utf-8"
#GenericLanguage "ru" "ru" "utf-8"
GenericCmdDependency "sox"
GenericCmdDependency "aplay"
GenericExecuteSynth \
"echo '$DATA' | /usr/bin/piper-tts --model '/usr/share/piper-voices/$VOICE' --output_raw | sox -r 22050 -c 1 -b 16 -e signed-integer -t raw - -t wav - tempo $RATE pitch $PITCH norm | aplay -r 22050 -f S16_LE -t raw -"
GenericRateAdd 1
GenericPitchAdd 1
GenericVolumeAdd 1
GenericRateMultiply 1
GenericPitchMultiply 1000
# Adding all voices we want:
#AddVoice "en" "FEMALE1" "en/en_GB/jenny_dioco/medium/en_GB-jenny_dioco-medium.onnx"
#AddVoice "en" "MALE1" "en/en_GB/alan/medium/en_GB-alan-medium.onnx"
#AddVoice "en" "FEMALE1" "en/en_GB/semaine/medium/en_GB-semaine-medium.onnx"
#AddVoice "en" "FEMALE1" "en/en_US/hfc_female/medium/en_US-hfc_female-medium.onnx"
#AddVoice "en" "FEMALE1" "en/en_GB/alba/medium/en_GB-alba-medium.onnx"
#AddVoice "en" "FEMALE1" "en/en_US/amy/medium/en_US-amy-medium.onnx"
#AddVoice "ru" "MALE1" "ru/ru_RU/dmitri/medium/ru_RU-dmitri-medium.onnx"
AddVoice "en" "MALE1" "en/en_US/ryan/high/en_US-ryan-high.onnx"
speechd.conf
AddModule "piper" "sd_generic" "piper.conf"
DefaultModule piper
LanguageDefaultModule "en" "piper"
from pied.
Yes, it seems that adding these lines solves the problem:
GenericDelimiters "˨"
GenericMaxChunkLength 1000000
from pied.
@tarsobcaldas Could you reopen this issue? The solution was only a workaround. The file in there says "GENERATED BY PIED," which means that it can probably be fixed on pied's side.
from pied.
Related Issues (17)
- Speech dispatcher doesn't work after after installing. HOT 6
- Request: Support more than one voice for language switching
- FR - Ability to switch voices in terminal HOT 1
- Playback Speed HOT 1
- It skips letters, does not read the end, does not read at all in Firefox - Polish language, on Arch Linux HOT 3
- TTS Simply doesn't work
- bug: voice download stops when toggling "play/pause"
- Consider removing home access on flatpak
- Uninstall button
- Publish to Flathub HOT 11
- spd-say -L returns Failed to get voice list HOT 1
- Very limited choice of voices HOT 5
- Local configuration stomps on system-wide configuration HOT 1
- [Request] Instructions to build appimage or normal installation package or pip install HOT 5
- Request: support usage of multiple voices HOT 4
- Management of installed voices (list, delete) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pied.