{"id":23891600,"url":"https://github.com/mush42/sonata","last_synced_at":"2025-09-04T09:41:50.571Z","repository":{"id":163595253,"uuid":"638460061","full_name":"mush42/sonata","owner":"mush42","description":"A cross-platform engine for neural TTS models.","archived":false,"fork":false,"pushed_at":"2024-01-05T00:19:01.000Z","size":35555,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-01-05T01:27:25.902Z","etag":null,"topics":["c","grpc","neural-tts","python","speech-synthesis","text-to-speech","tts"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mush42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-09T12:28:27.000Z","updated_at":"2024-01-05T01:27:29.867Z","dependencies_parsed_at":null,"dependency_job_id":"82f30521-d4f0-40e5-932d-8226efe3528b","html_url":"https://github.com/mush42/sonata","commit_stats":null,"previous_names":["mush42/sonata"],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mush42%2Fsonata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mush42%2Fsonata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mush42%2Fsonata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mush42%2Fsonata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mush42","download_url":"https://codeload.github.com/mush42/sonata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208504,"owners_count":21065201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","grpc","neural-tts","python","speech-synthesis","text-to-speech","tts"],"created_at":"2025-01-04T12:34:29.618Z","updated_at":"2025-04-10T11:07:28.341Z","avatar_url":"https://github.com/mush42.png","language":"Rust","readme":"# Sonata\n\nA cross-platform Rust engine for neural TTS models.\n\n\n## Supported models\n\n* [Piper](https://github.com/rhasspy/piper)\n\n\n# Crates\n\n- `espeak-phonemizer`: Converts text to `IPA` phonemes using a patched version of eSpeak-ng\n- `sonata-model`: Handles model loading and inference using `onnxruntime` via `ort`\n- `sonata-synth`: Wraps `SonataModel` and adds synthesized speech post-processing, including changing prosody. Also provides different modes of parallelism.\n- `sonata-grpc`: [GRPC](https://grpc.io/) frontend for sonata\n- `libsonata`: C-API binding to sonata\n- `sonata-python`: Python bindings to `sonata-synth` using `pyo3`\n- `sonic-sys`: Rust FFI bindings to [Sonic](https://github.com/waywardgeek/sonic): a `C` library for controlling various aspects of generated speech, such as rate, volume, and pitch\n\n# A note on testing\n\nSome packages, such as `espeak-phonemizer`, include tests. Running `cargo test` from the root of the workspace will likely fail, because `cargo` does not load `config` from sub packages when ran from the workspace root.\n\nOn Windows you need to add `espeak-ng.dll` to the library search path by modifying the **PATH** environment variable.\n\nFor example, to add `espeak-ng.dll` to your path when building for the `x86_64-pc-windows-msvc` target, run the following command before `cargo test`:\n\n```cmd\nset PATH=%PATH%;{repo_path}\\deps\\windows\\espeak-ng-build\\i686\\bin\n```\n\nReplace `repo_path` with the absolute path to the repository.\n\nThen `cd` to the package, and run `cargo test` from there.\n\n# License\n\nCopyright (c) 2023 Musharraf Omer. This code is licensed under the  MIT license.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmush42%2Fsonata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmush42%2Fsonata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmush42%2Fsonata/lists"}