{"id":13824896,"url":"https://github.com/sayak-brm/espeakng-python","last_synced_at":"2025-06-16T00:08:17.481Z","repository":{"id":57426979,"uuid":"69453761","full_name":"sayak-brm/espeakng-python","owner":"sayak-brm","description":"An eSpeak NG TTS binding for Python3.","archived":false,"fork":false,"pushed_at":"2024-02-05T16:22:53.000Z","size":6842,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-16T15:19:57.133Z","etag":null,"topics":["espeak","espeak-ng","espeak-tts-binding","python","python3","tts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayak-brm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-28T10:45:11.000Z","updated_at":"2025-05-03T21:57:31.000Z","dependencies_parsed_at":"2024-08-04T09:02:56.252Z","dependency_job_id":"a062272f-d1a6-4395-9d06-8c021b5724f7","html_url":"https://github.com/sayak-brm/espeakng-python","commit_stats":{"total_commits":122,"total_committers":6,"mean_commits":"20.333333333333332","dds":"0.47540983606557374","last_synced_commit":"9fd2221073512ae039b18f272c1004b7babfc71d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sayak-brm/espeakng-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayak-brm%2Fespeakng-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayak-brm%2Fespeakng-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayak-brm%2Fespeakng-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayak-brm%2Fespeakng-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayak-brm","download_url":"https://codeload.github.com/sayak-brm/espeakng-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayak-brm%2Fespeakng-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260072737,"owners_count":22954920,"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":["espeak","espeak-ng","espeak-tts-binding","python","python3","tts"],"created_at":"2024-08-04T09:01:11.313Z","updated_at":"2025-06-16T00:08:17.456Z","avatar_url":"https://github.com/sayak-brm.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# eSpeak NG TTS Bindings for Python3\n\nCopyright 2016-2020 [Sayak B](https://sayakb.com/). Licenced under\n[GNU GPLv3](https://opensource.org/licenses/GPL-3.0).\n\n[![Python Version](https://img.shields.io/badge/Python-3-brightgreen.svg)](https://www.python.org/download/releases/3.0/)\n![Linux](https://img.shields.io/badge/-Linux-brightgreen.svg)\n![Windows](https://img.shields.io/badge/-Windows-brightgreen.svg)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsayak-brm%2Fespeakng-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsayak-brm%2Fespeakng-python?ref=badge_shield)\n\n## Requirements\n\nYou need to have eSpeak NG installed in your system and added to the path.\n\n### Windows\n\nThe latest installers for eSpeak NG can be found [here](https://github.com/espeak-ng/espeak-ng/releases/latest).\n\nThe installed executable may need to be added to the system path.\n([See here](https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/))\n\n### Ubuntu \u0026 Debian\n\n```bash\nsudo apt-get update\nsudo apt-get install espeak-ng\n```\n\n### Others\n\nIf eSpeak NG is not available in your package manager, you may need to compile\nthe binaries for your system. Refer to\n[this page](https://github.com/espeak-ng/espeak-ng/blob/master/docs/building.md)\nfor more information.\n\n## Installation\n\n### PyPi\n\nThis library is available on [PyPi](https://pypi.org/project/espeakng/).\n\n```sh\npip install espeakng\n```\n\n### GitHub Releases\n\nYou can download the latest release for this library [here](https://github.com/sayak-brm/espeakng-python/releases/latest).\n\n## Usage\n\nFirst, we have to initialize a `Speaker`.\n\n```python\nimport espeakng\n\nmySpeaker = espeakng.Speaker()\n```\n\nAnd then use the `Speaker.say()` method to speak:\n\n```python\nmySpeaker.say('Hello, World!')\n```\n\nCalling `Speaker.say()` will interrupt any ongoing output from the same object\nimmediately.\n\nUse the following code if you wish to wait for any ongoing speech to complete:\n\n```python\nmySpeaker.say('I am a demo of the say() method.', wait4prev=True)\n```\n\n---\n\n### Changing speech properties\n\n#### Pitch\n\nBy default the pitch is set at 80.\n\nChange it by:\n\n```python\nmySpeaker.pitch = 120\n```\n\n#### Words per Minute (WPM)\n\nBy default WPM is set at 120.\n\nChange it by:\n\n```python\nmySpeaker.wpm = 140\n```\n\n#### Voice\n\nBy default the voice is set to 'en'. The complete list of supported voices can\nbe found\n[here](https://github.com/espeak-ng/espeak-ng/blob/master/docs/languages.md).\n\nChange it by:\n\n```python\nmySpeaker.voice = 'es'\n```\n\n#### Export to .WAV file\n\nBy default, your text will just be spoken aloud, but if you want it to be written to a .WAV file, you can specify an `export_path` when calling the `say` function, as seen below:\n\n```python\nmySpeaker.say(\"Export this to a file\", export_path=\"test.wav\")\n```\n\n## Special thanks\n\n- [MickeyDelp](https://github.com/MickeyDelp) for wordgap and amplitude controls, and other helper methods.\n- [FlorianEagox](https://github.com/FlorianEagox) for the export to WAV file feature.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayak-brm%2Fespeakng-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayak-brm%2Fespeakng-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayak-brm%2Fespeakng-python/lists"}