[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-accessibility
Subject: Re: How to configure Qtspeech
From: Jeremy Whiting <jpwhiting () kde ! org>
Date: 2019-09-22 0:54:40
Message-ID: CADWV2K5SQLkgTpZOunB-g0PJ1CGy2MM3Wc1knkeWAMTd5qAUdw () mail ! gmail ! com
[Download RAW message or body]
Hi Gustav,
I see, no worries. In okular/qtspeech news the other day I played with
okular's speak current page/document a bit on linux here and found a couple
of issues I'm considering how to fix:
1) QtSpeech on linux loads the speech plugin randomly unless a specific
plugin is specified. Okular's use of QtSpeech doesn't specify a plugin
which is probably best, but because of this if you have both the
speech-dispatcher and the flite qtspeech plugin installed it randomly uses
one or the other to speak. Here I don't have flite installed, but do have a
working speech-dispatcher, so half of the time I wouldn't get any speech at
all (when it chose the flite plugin). I'm thinking to fix this either
okular needs a setting to let the user choose which speech plugin to use,
or QtSpeech itself needs a configuration to let the user say which plugin
they prefer.
2) There's not a way to pause/resume. For this I added a patch to okular
that is up for review here: https://phabricator.kde.org/D24102 which seems
to work nicely so far (when QtSpeech randomly chooses the right plugin
anyway) to let me pause/resume what it's reading.
As for general speak clipboard contents I think a good place to add this
feature would be in klipper itself that comes with plasma-desktop. I'll get
that in place next I think. My idea is to have a context menu item in
Klipper's system tray icon to speak clipboard contents and also an
associated action that could be bound to a keyboard shortcut so ctrl-c to
copy, then whatever you assign to speak clipboard contents to speak what
was copied, similar to how it's done with Jovie.
As for hearing multiple voices overlapping each other, I don't see how that
could be happening, but in order to try to recreate it here could you send
me your speech-dispatcher configuration files? Basically all files under
~/.config/speech-dispatcher/
thanks,
Jeremy
On Sat, Sep 21, 2019 at 6:34 PM Gustav Degreef <gustav97@gmail.com> wrote:
> Looking back over it, I realize the question does not make sense. I am
> just struggling to figure out how to use Qtspeech in a simple way.
> Thanks, Gustav.
>
> On 9/18/19 10:43 PM, Jeremy Whiting wrote:
> > Hi Gustav,
> >
> > On Wed, Sep 18, 2019 at 6:52 PM Gustav Degreef <gustav97@gmail.com
> > <mailto:gustav97@gmail.com>> wrote:
> ....
> >
> > Maybe this is a
> > dumb question, but would it work with Qtspeech?=C3=82
> >
> >
> > Would what work with QtSpeech? I'm not sure what you're asking here.
> > ktts was renamed to jovie, neither of them uses QtSpeech.
> > =C3=82
> >
> >
> > On 9/18/19 10:27 AM, Jeremy Whiting wrote:
> > > ktts is what jovie came from. It's much much older and does the
> same
> > > thing (ktts just got renamed to jovie when I refactored ktts to u=
se
> > > speech-dispatcher instead of a bunch of it's own synthesizer
> > modules).
> >
>
>
[Attachment #3 (text/html)]
<div dir="ltr"><div>Hi Gustav,</div><div><br></div><div>I see, no worries. \
In okular/qtspeech news the other day I played with okular's speak \
current page/document a bit on linux here and found a couple of issues \
I'm considering how to fix:</div><div><br></div><div>1) QtSpeech on \
linux loads the speech plugin randomly unless a specific plugin is \
specified. Okular's use of QtSpeech doesn't specify a plugin which \
is probably best, but because of this if you have both the \
speech-dispatcher and the flite qtspeech plugin installed it randomly uses \
one or the other to speak. Here I don't have flite installed, but do \
have a working speech-dispatcher, so half of the time I wouldn't get \
any speech at all (when it chose the flite plugin). I'm thinking to fix \
this either okular needs a setting to let the user choose which speech \
plugin to use, or QtSpeech itself needs a configuration to let the user say \
which plugin they prefer.</div><div>2) There's not a way to \
pause/resume. For this I added a patch to okular that is up for review \
here: <a href="https://phabricator.kde.org/D24102">https://phabricator.kde.org/D24102</a> \
which seems to work nicely so far (when QtSpeech randomly chooses the right \
plugin anyway) to let me pause/resume what it's \
reading.</div><div><br></div><div>As for general speak clipboard contents I \
think a good place to add this feature would be in klipper itself that \
comes with plasma-desktop. I'll get that in place next I think. My idea \
is to have a context menu item in Klipper's system tray icon to speak \
clipboard contents and also an associated action that could be bound to a \
keyboard shortcut so ctrl-c to copy, then whatever you assign to speak \
clipboard contents to speak what was copied, similar to how it's done \
with Jovie.</div><div><br></div><div>As for hearing multiple voices \
overlapping each other, I don't see how that could be happening, but in \
order to try to recreate it here could you send me your speech-dispatcher \
configuration files? Basically all files under ~/.config/speech-dispatcher/ \
<br></div><div><br></div><div>thanks,</div><div>Jeremy<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 21, 2019 \
at 6:34 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">Looking back \
over it, I realize the question does not make sense. I am<br> just \
struggling to figure out how to use Qtspeech in a simple way. <br> Thanks, \
Gustav.<br> <br>
On 9/18/19 10:43 PM, Jeremy Whiting wrote:<br>
> Hi Gustav,<br>
><br>
> On Wed, Sep 18, 2019 at 6:52 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>
><br>
> Maybe this is a<br>
> dumb question, but would it work with Qtspeech? <br>
><br>
><br>
> Would what work with QtSpeech? I'm not sure what you're asking \
here.<br> > ktts was renamed to jovie, neither of them uses \
QtSpeech.<br> > Â <br>
><br>
><br>
> On 9/18/19 10:27 AM, Jeremy Whiting wrote:<br>
> > ktts is what jovie came from. It's much much older and \
does the same<br> > > thing (ktts just got renamed to jovie \
when I refactored ktts to use<br> > > speech-dispatcher \
instead of a bunch of it's own synthesizer<br> > \
modules).<br> ><br>
<br>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic