Skip to content

Improve ChromeOS support#41

Merged
JayPanoz merged 11 commits intodevelopfrom
chromeOS-offline-online
Jan 15, 2026
Merged

Improve ChromeOS support#41
JayPanoz merged 11 commits intodevelopfrom
chromeOS-offline-online

Conversation

@JayPanoz
Copy link
Copy Markdown
Contributor

@JayPanoz JayPanoz commented Jan 15, 2026

This PR addresses ChromeOS-specific issues: deduplicating of voices, ordering of voices based on JSON quality order. It also introduces a new debug page for dev convenience, whose purpose is to mock ChromeOS speechSynthesis so that you do not necessarily need a device running it to debug Voice management.

Note this redesigns how ReadiumSpeechVoices are handled internally by the Manager instance, as it will keep all parsed voices in memory. You can use a filtered array and pass it to each method if you do not need to filter, sort, or group all of them. This has the unfortunate side effect of requiring further work for code-splitting tho, which will be addressed in another PR.

We keep all voices but novelty and low quality by default, all voices params are now optional so that the methods can be dual purpose – with src being all parsed voices in memory, and src being arbitrary.
Move duplicate removal in filter method
@JayPanoz JayPanoz changed the base branch from main to develop January 15, 2026 12:19
@JayPanoz JayPanoz marked this pull request as draft January 15, 2026 12:22
@JayPanoz JayPanoz marked this pull request as ready for review January 15, 2026 12:30
@JayPanoz JayPanoz merged commit 7d72c9a into develop Jan 15, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Draft to Done in Readium Speech Jan 15, 2026
@JayPanoz JayPanoz deleted the chromeOS-offline-online branch January 15, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant