Revert speaking entire paragraphs by default

Repository details (talkie)
Project page
talkie
Project category
(588 entries)
Repository
@joelpurra/talkie
Owner
@joelpurra
Commit details (a91accd1)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Revert speaking entire paragraphs by default

  • Speaking long paragraphs was not stable on all systems.
  • The previous fix for Chrome speaking text was to split up each paragraph in to smaller parts.
  • The split tries to keep sentences/clauses together, up to a character limit.
  • A split is also perfomed after certain punctiation, such as colons and semicolons.
  • As not splitting up paragraphs works on some systems, an option for reading long texts without pause has been introduced.
Raw text
Revert speaking entire paragraphs by default

- Speaking long paragraphs was not stable on all systems.
- The previous fix for Chrome speaking text was to split up each paragraph in to smaller parts.
- The split tries to keep sentences/clauses together, up to a character limit.
- A split is also perfomed after certain punctiation, such as colons and semicolons.
- As not splitting up paragraphs works on some systems, an option for reading long texts without pause has been introduced.

Changed files (12)

Path Additions Deletions
_locales/en/base.json +12 -0
src/background/background.js +9 -2
src/background/storage-manager.js +12 -1
src/background/talkie-speaker.js +23 -4
src/background/text-helper.js +42 -0
src/options/actions/voices.js +12 -0
src/options/components/sections/voices.jsx +21 -0
src/options/components/sections/voices/speak-long-texts.jsx +77 -0
src/options/constants/action-types-voices.js +2 -0
src/options/containers/voices-container.jsx +5 -0
src/options/reducers/voices.js +2 -0
src/options/utils/api.js +6 -0

Commit categories (3)