Skip to content

Patch sonata to support newer model configs - #3

Merged
steinbro merged 2 commits into
mainfrom
patched-sonata
Nov 30, 2026
Merged

steinbro merged 2 commits into
mainfrom
patched-sonata

Conversation

@steinbro

Copy link
Copy Markdown
Collaborator

The JSON metadata for more recent Piper models (e.g. pt-BR.faber-medium, nl-NL.pim-medium) don't match the format that the underlying parser expects with respect to the phoneme map. This PR applies a patch to the underlying https://github.com/mush42/sonata library (on top of what @eeejay already patched in his fork) to handle the newer format. This PR also adds Dutch and Portuguese voice components that now work thanks to this AI-generated patch.

@steinbro
steinbro merged commit bb6ff57 into main Nov 30, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant