Add text to speech functionality to klipper.
Needs ReviewPublic

Authored by whiting on Sep 28 2019, 4:40 AM.

Details

Summary

Add action with global shortcut to speak text selection and another
to speak clipboard contents.
Add another action to stop speaking.
Add another action to pause/resume speaking.
Add a setting to klipper for the QTextToSpeech engine to use, if it
changes reload the QTTS object with the chosen engine.
Add a ui element to allow selecting the tts engine.

TODO: Make a kcm to allow configuration of speech-dispatcher with a gui
and add a button next to the klipper engine config if speechd is
selected to launch kcm for further configuration.
Possibly disable keyboard shortcuts by default so users don't
accidentally trigger speech features.

Diff Detail

Repository
R120 Plasma Workspace
Branch
speech
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17498
Build 17516: arc lint + arc unit
whiting created this revision.Sep 28 2019, 4:40 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 28 2019, 4:40 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
whiting requested review of this revision.Sep 28 2019, 4:40 AM
whiting edited projects, added Plasma Accessibility; removed Plasma.
Restricted Application edited projects, added Plasma; removed Plasma Accessibility. · View Herald TranscriptSep 28 2019, 4:42 AM
whiting updated this revision to Diff 66980.Sep 28 2019, 4:55 AM
  • Add speech synthesis engine selection combobox to general klipper settings page.
whiting edited the summary of this revision. (Show Details)Sep 28 2019, 4:57 AM
Restricted Application edited projects, added Plasma; removed Plasma Accessibility. · View Herald TranscriptSep 28 2019, 1:36 PM

Does anyone have any opinion on this change?

ndavis added a subscriber: ndavis.Oct 3 2019, 5:45 PM

This seems like a good idea to me

whiting updated this revision to Diff 67585.Oct 10 2019, 1:46 AM
  • Add speech synthesis engine selection combobox to general klipper settings page.

Rebased on master.

mart added a subscriber: mart.Oct 16 2019, 4:44 PM

this only affects the old standalone executable, right?

In D24276#548330, @mart wrote:

this only affects the old standalone executable, right?

Um, I guess so. I didn't realize there was something else...