<div dir="ltr"><div>Hi Gustav,</div><div><br></div><div>Just out of curiosity, which distribution and version of linux are you using?</div><div><br></div><div>To answer your question though, crontab is an application that runs things at different times on a unix based system. crontab -e is a command to edit the cron table of commands. Running crontab -e and adding the line you mentioned:</div><div><br></div><div>@restart /usr/bin/festival --server</div><div><br></div><div>will make festival --server run at each boot of the computer I believe.</div><div><br></div><div>Hope that helps. Another possibility according to arch linux's wiki <a href="https://wiki.archlinux.org/index.php/Festival#Can't_open_/dev/dsp">https://wiki.archlinux.org/index.php/Festival#Can't_open_/dev/dsp</a> is to add some lines to the festival configuration to allow it to open the /dev/dsp</div><div><br></div><div>BR,</div><div>Jeremy<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 26, 2019 at 7:25 PM Gustav Degreef <<a href="mailto:gustav97@gmail.com">gustav97@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello folks,<br>
<br>
I edited this thread some to make it easier to follow my current post.<br>
It is not directed at Simion, though his comments are helpful to make my<br>
post clearer. <br>
As a result of these discussions I have more clearly understood the role<br>
of speech-dispatcher.  Since will be used with Qtspeech, it makes sense<br>
to work with it.   So,  Perching with google  I understood how central<br>
speech-dispatcher is to linux TTS.  I tried again to configure Festival<br>
with speech-dispatcher.  I want to try and configure a different voice. <br>
I wan to try and experiment with different voices.  Espeak is OK, but I<br>
feel I have to move forward.  But again I am stuck.  Here is where I am at.<br>
<br>
I could never get speech output even on the CLI.<br>
<br>
The error I would get was -festival: can't open /dev/dsp<br>
<br>
It is due to a bug.   The workaround is:<br>
Create ~/.festivalrc with the following content<br>
<br>
;use ALSA<br>
(Parameter.set 'Audio_Method 'Audio_Command)<br>
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")<br>
<br>
<br>
I then needed to configure speech-dispatcher, so I ran:<br>
<br>
spd-conf<br>
<br>
as a regular user.  It creates the speech-dispatcher global server<br>
configuration file:<br>
<br>
in ~/.config/speech-dispatcher/|speechd.conf|<br>
<br>
This configures speech-dispatcher (interactively) with a number of<br>
variables, the default voice is espeak.<br>
<br>
I then edit speechd.conf, which allows for many different voices.  I change:<br>
<br>
|#AddModule "espeak" "sd_espeak" "espeak.conf"||<br>
|<br>
|AddModule "festival" "sd_festival" "festival.conf"|<br>
|<br>
|<br>
|and|<br>
||||<br>
<br>
|#DefaultModule espeak |<br>
<br>
|DefaultModule festival The next step I do not understand: "|We need to run |festival| as a server in order to make |speech-dispatcher| use it as default. We can do that by adding the following line at the end of the file that's open when we use the <br>
command: |sudo crontab -e|:<br>
<br>
|@reboot /usr/bin/festival --server"|<br>
<br>
|||I can't understand the last step.  I've never used crontab fore, any<br>
help would be appreciated, Gustav.|<br>
||<br>
<br>
||<br>
<br>
<br>
<br>
On 9/22/19 9:29 AM, Simion wrote:<br>
<br>
<br>
snip<br>
<br>
> As I said I suggest to get used of using faster and faster voices,<br>
> your family will understand and you will read same texts 2 times<br>
> faster so you gain time, at that speed any voice will sound robotic,<br>
> this would not work if you want other to listen with you (but you can<br>
> have a normal speed and a fast speed talker in jovie)<br>
><br>
><br>
> On 9/22/19 2:54 PM, Gustav Degreef wrote:<br>
>><br>
>> snip<br>
>><br>
>> Â From what you and others are saying and from what I've read, I think I<br>
>> understand better.  Correct me if I am wrong, but don't you have<br>
>> to tell<br>
>> speech-dispatcher which voice (e-speak, festival, etc.) to use?  If I<br>
>> can figure out how to tell speech-dispatcher which voice to use then<br>
>> Jovie (or Qtspeech) will then output my choice?  I have looked<br>
>> into it,<br>
>> and there are several (about 6 different) voices I can use in Linux.<br>
>><br>
>><br>
>><br>
<br>
</blockquote></div>