Hi all,
I once wrote a tts-script (text-to-speech) which covers the languages English and German (with variations).
For that I was making use of the command pico2wave
.
Now I´d like to implement Swedish in my script as well but pico2wave
doesn´t cover that language. It´s a bit of a shame though as pico2wave
delivers really high quality of natural sound reproduction; not mechanical at all.
So for Swedish I´d like to implement espeak
.
The voives here (f/m) sound mechanical indeed but may be tolerated due to the fact
that I tend to read along the respective text parallel to the output of the script.
For testing purposes I wrote this reduced simple script:
#!/bin/bash
read -p "Please enter text: " input
echo $input > /tmp/kgw.txt
firejail espeak -s 160 -a 198 -vsv+f2 -f /tmp/kgw.txt
It works well, yet I have one question left to ask:
Is there a limit of how long (i.e. how many words or how many characters) the text written into the variable “input” may be?
I tried it with a short text:
Välkommen till ett exklusivt event som samlar beslutsfattare och strateger inom it-säkerhet.
Ta del av erfarenhet och råd från experter, var med och diskutera med andra som har liknande utmaningar och
inspireras av nya insikter. På Security Day ryms såväl strategiska frågor som praktiska utmaningar.
and it worked without any hiccups. But that´s still a pretty short text.
Many thanks in advance for your help.
Many greetings.
Rosika