{"id":19163442,"url":"https://github.com/kdahlhaus/pyflite","last_synced_at":"2026-04-19T01:02:04.049Z","repository":{"id":50039255,"uuid":"105343690","full_name":"kdahlhaus/pyflite","owner":"kdahlhaus","description":"A quick, poorly made, python 3 wrapper for the CMU Flite speech synthesis engine","archived":false,"fork":false,"pushed_at":"2021-06-05T18:23:06.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T21:44:00.509Z","etag":null,"topics":["cython","flite","python","text-to-speech"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kdahlhaus.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-30T05:15:58.000Z","updated_at":"2017-09-30T18:08:04.000Z","dependencies_parsed_at":"2022-08-03T17:01:11.496Z","dependency_job_id":null,"html_url":"https://github.com/kdahlhaus/pyflite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdahlhaus%2Fpyflite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdahlhaus%2Fpyflite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdahlhaus%2Fpyflite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdahlhaus%2Fpyflite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdahlhaus","download_url":"https://codeload.github.com/kdahlhaus/pyflite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240245887,"owners_count":19771029,"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":["cython","flite","python","text-to-speech"],"created_at":"2024-11-09T09:15:15.738Z","updated_at":"2026-04-19T01:02:03.939Z","avatar_url":"https://github.com/kdahlhaus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyFlite (C) 2006, 2017 by Kevin Dahlhausen  kpd@powertwenty.com\r\n\r\nSee the file 'COPYING' for license information. (Same license as Flite, free for all uses)\r\n\r\nThis is a simple cython wrapper for the Flite voice library. \r\n\r\nIt is minimal, not documented very well, and meets my current needs.  :)\r\n\r\nThe linux version is building and works well.\r\n\r\nThe cygwin version worked in 2006, but I have not tried in recently.  If it does not work now, it's very likely that the linux version would work with a slight modification.\r\n\r\n\r\nBuilding under WindowS:\r\ninstall MS Build Tools for VS 14 (python 3.6)\r\ninstall flite-2.0.0-release somewhere (no need to build)\r\nset env var to the flite-2.0.0-release dir \r\npython setup.py build\r\n\r\n\r\n\r\n\r\n\r\nUsage:\r\n\r\nimport flite\r\n\r\nflite.init()\r\n\r\n# speak the text via alsa\r\nflite.say(\"Hey! I think our problems may just be solved. Ed McMahon. Think I just won a million bucks. Yeah, Irwin M. Fletcher you choose. Woo-wee! Oh, boy, I lost. Yeah. Sorry.\")\r\n\r\n# write the speech to 'test.wav' using the CMU 'slt' voice\r\nflite.say(\"My advice to you is...\", \"test.wav\", voice=\"slt\")\r\n\r\n# speak the SSML data via alsa\r\nflite.say_ssml(\"\"\"\r\n    \u003cspeak\u003e\r\n        We shall fight on the \u003cemphasis level=\"strong\"\u003ebeaches\u003c/emphasis\u003e\r\n    \u003c/speak\u003e\r\n\"\"\") \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdahlhaus%2Fpyflite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdahlhaus%2Fpyflite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdahlhaus%2Fpyflite/lists"}