-
Notifications
You must be signed in to change notification settings - Fork 18
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
Exclude from voicing #17
Comments
This is a good idea. I'll see what I can do.
Spasibo. :-)
…On Thu, 16 Dec 2021 00:06:10 -0800 Алексей Муратов ***@***.***> wrote:
It would be nice if it were possible to exclude a voice from reading:
- URL
- Tags (#)
- Emoji
I think that such options can be made in the settings.
|
Another text element that might be useful to exclude is the parenthetical
statement. This would be off-by-default, of course.
…On Thu, 16 Dec 2021 00:06:10 -0800 Алексей Муратов ***@***.***> wrote:
It would be nice if it were possible to exclude a voice from reading:
- URL
- Tags (#)
- Emoji
I think that such options can be made in the settings.
|
I have taken some time to look into this today. Tags (#) are easy enough to filter out, of course. Doing the same for URLs doesn't look too difficult. The only question is which types of URL to filter. Filtering URLs with the HTTP (and HTTPS) scheme and the mailto scheme seems good enough to my mind. That covers most hyperlinks. For emoji, it is too difficult, since the application would need to parse through the relevant Unicode "data file" and compare input bytes. I'm not really willing to put the time into that. I will say that, although some text-to-speech engines (e.g. eSpeak and Google TTS) read out descriptions of each emoji encountered, others just pass over them silently. The older Android app for the CMU Flite TTS engine does this, for instance. It is available from the F-Droid store here. I'll add options for the first two in the next version. |
Re: #17. There are two filters. One removes hashes (#) from the input text and the other removes HTTP, HTTPS and MAILTO hyperlinks (URLs). Text filters are applied to input text for reading and file synthes- is tasks.
Re: #17. The options are for filtering hash characters, web links and mailto links. This finishes the work planned for this feature. It is extensible enough that further non-contextual filters could be added later with minimal effort.
This feature is now available in TTS Util version 4.0.0. See the releases page. The new version will be available on the Google Play and F-Droid stores soon. |
It would be nice if it were possible to exclude a voice from reading:
I think that such options can be made in the settings.
The text was updated successfully, but these errors were encountered: