Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read on command #109

Open
Jopp-gh opened this issue Mar 16, 2024 · 3 comments
Open

Read on command #109

Jopp-gh opened this issue Mar 16, 2024 · 3 comments

Comments

@Jopp-gh
Copy link

Jopp-gh commented Mar 16, 2024

First of all, this project is awesome!

Still, I really don't know what to do with a text box interface, to be honest. It looks for me like an emergency solution at best.

Truly useful would be to read cursor highlighted text (or text highlighted on right-click) from any application (if applications permit)
On Mac, you can highlight any text and have it read out aloud on command. Super useful, independent and without any additional procedures or interfaces where you've to copy paste text.

@mkiol
Copy link
Owner

mkiol commented Mar 16, 2024

Thanks for the remarks and ideas.

I'm not super sure that this app is for these kind of tasks. At least this is not a primary use case. I think there are many better tools from "accessibility" space that are far more suitable for your need. I must say I didn't check, but most likely Orca can read whatever is under cursor. You can integrate Orca with Piper voices, for instance via Pied app, and achieve something close to what you've described.

The "accessibility" features implemented in Speech Note are very limited right now. You can read what is in the clipboard using keyboard shortcut. Perhaps this is something closer to what you are looking for? You can copy whatever you want to the clipboard and use it Ctrl+Alt+Shift+E (default global shortcut) to read it.

@Jopp-gh
Copy link
Author

Jopp-gh commented Mar 17, 2024

I think there are many better tools from "accessibility" space that are far more suitable for your need. I must say I didn't check, but most likely Orca can read whatever is under cursor. You can integrate Orca with Piper voices, for instance via Pied app, and achieve something close to what you've described.

Agreed, Orca is better suited for the task. I don't know Pied and will check it out, thanks!

SpeechNote is great because of the good and easy to understand ui design and the large list of modern voices - simply wonderful!

Espeak and older voices are hard to follow and hard to understand. Modern voices are easy to understand, even at higher speeds.

For the text input we could use xsel - I just don't know how to talk to SpeechNote's api , because I downloaded SpeechNote as flatpak.

Ideally a command would look like
xsel | speechnote -v VoiceName

And to save spoken text:
xsel | speechnote -v VoiceName -out ~/path/to/test.mp3

You can read what is in the clipboard using keyboard shortcut. Perhaps this is something closer to what you are looking for?

Indeed, an useful feature.

@mkiol
Copy link
Owner

mkiol commented Mar 29, 2024

And to save spoken text:
xsel | speechnote -v VoiceName -out ~/path/to/test.mp3

Actually, these kind of use case is already directly supported in cli interface by Piper or Coqui.

Most likely Speech Note is too "fat" for command line usage. Especially I strongly encourage you to try Piper that is designed to be light and provides good quality voices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants