<div dir="ltr"><div>Hi Simion,</div><div><br></div><div>I hadn't thought of queueing the jobs. Jovie did that and had a complex user interface for cancelling jobs and moving to the next job, etc. Speech-dispatcher supports that, but I don't want to make the user interface too complex. I'll take a look at how QtSpeech's speech-dispatcher plugin sets things up. If I remember right there are different modes speech-dispatcher can use, read directly where everything is spoken immediately, or queue where new jobs go to the end of the line. I think most other platforms just speak everything directly (the android, windows and macos qtspeech plugins) if so and if we want to add queueing to klipper we'll likely need QtSpeech to expose the mode switching ability (and do nothing on the platforms that don't support it) and use it in klipper.</div><div><br></div><div>BR,</div><div>Jeremy<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 27, 2019 at 11:48 PM Simion <<a href="mailto:simion314@gmail.com">simion314@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">
<div bgcolor="#FFFFFF">
<p>Hi Jereymy</p>
<p>I think Jovie had no default shortcuts, we set them ourselves .<br>
</p>
<p>Will klipper have a queue ? So you can have more then one thing
scheduled to be spoken one after the other?</p>
<p><br>
</p>
<div>On 9/28/19 3:56 AM, Jeremy Whiting
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Awesome, good to know.</div>
<div><br>
</div>
<div>Also, I got a good start on the klipper ability to speak
clipboard today and found there are a couple of options
available from what I can tell. I can either make it speak the
clipboard, speak the current text selection (like macos
option-escape does when enabled) or both each with their own
shortcut key. I'm thinking I'll make it disabled by default
but when enabled both actions will be available with a default
shortcut of meta-escape for speak selected text and some other
keyboard shortcut for speak clipboard. Are there any preferred
shortcuts you all use with Jovie to speak clipboard? I figured
I'd make stop and pause/resume actions also like I did for
okular, but likely without keyboard shortcuts by default for
these, though I'm open to suggestions if there's a reason to
have a default shortcut for these also.</div>
<div><br>
</div>
<div>Since plasma 5.17 feature freeze already happened the
klipper changes wont be in plasma until 5.18 which freezes in
January of next year unfortunately, but it will be good to
have this Jovie replacement in place I think.</div>
<div><br>
</div>
<div>BR,</div>
<div>Jeremy<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 27, 2019 at 6:41
PM Gustav Degreef <<a href="mailto:gustav97@gmail.com" target="_blank">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">Thanks
a lot Jeremy. I am about to travel, so I will post back about
my<br>
results in a bit.<br>
<br>
I am using opensuse 15.0, kde plasma version 5.12.8,
frameworks 5.45.0,<br>
Qt 5.9.4, kernel 4.12.14-lp150.12.70-default<br>
<br>
Gustav<br>
<br>
On 9/26/19 10:32 PM, Jeremy Whiting wrote:<br>
> Hi Gustav,<br>
><br>
> Just out of curiosity, which distribution and version of
linux are you<br>
> using?<br>
><br>
> To answer your question though, crontab is an application
that runs<br>
> things at different times on a unix based system. crontab
-e is a<br>
> command to edit the cron table of commands. Running
crontab -e and<br>
> adding the line you mentioned:<br>
><br>
> @restart /usr/bin/festival --server<br>
><br>
> will make festival --server run at each boot of the
computer I believe.<br>
><br>
> Hope that helps. Another possibility according to arch
linux's wiki<br>
> <a href="https://wiki.archlinux.org/index.php/Festival#Can't_open_/dev/dsp" rel="noreferrer" target="_blank">https://wiki.archlinux.org/index.php/Festival#Can't_open_/dev/dsp</a>
is<br>
> to add some lines to the festival configuration to allow
it to open<br>
> the /dev/dsp<br>
><br>
> BR,<br>
> Jeremy<br>
><br>
> On Thu, Sep 26, 2019 at 7:25 PM Gustav Degreef <<a href="mailto:gustav97@gmail.com" target="_blank">gustav97@gmail.com</a><br>
> <mailto:<a href="mailto:gustav97@gmail.com" target="_blank">gustav97@gmail.com</a>>>
wrote:<br>
><br>
> 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<br>
> make my<br>
> post clearer. <br>
> As a result of these discussions I have more clearly
understood<br>
> the role<br>
> of speech-dispatcher. Since will be used with
Qtspeech, it makes<br>
> sense<br>
> to work with it.  So, Perching with google I
understood how<br>
> central<br>
> speech-dispatcher is to linux TTS. I tried again to
configure<br>
> Festival<br>
> with speech-dispatcher. I want to try and configure
a different<br>
> voice. <br>
> I wan to try and experiment with different voices.Â
Espeak is OK,<br>
> but I<br>
> feel I have to move forward. But again I am
stuck. Here is<br>
> 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<br>
> $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<br>
> 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<br>
> need to run |festival| as a server in order to make<br>
> |speech-dispatcher| use it as default. We can do that
by adding<br>
> 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<br>
> 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<br>
> 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<br>
> read, I think I<br>
> >> understand better. Correct me if I
am wrong, but don't<br>
> you have<br>
> >> to tell<br>
> >> speech-dispatcher which voice (e-speak,
festival, etc.) to<br>
> use? If I<br>
> >> can figure out how to tell speech-dispatcher
which voice to use<br>
> then<br>
> >> Jovie (or Qtspeech) will then output my
choice? I have<br>
> looked<br>
> >> into it,<br>
> >> and there are several (about 6 different)
voices I can use in<br>
> Linux.<br>
> >><br>
> >><br>
> >><br>
><br>
<br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote></div>