{"id":23725973,"url":"https://github.com/voidful/tts-corpus-creator","last_synced_at":"2025-07-21T09:32:56.130Z","repository":{"id":62585469,"uuid":"472334237","full_name":"voidful/tts-corpus-creator","owner":"voidful","description":"collection of different source of TTS api for generating corpus.","archived":false,"fork":false,"pushed_at":"2022-03-22T16:48:17.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T04:15:20.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voidful.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-21T12:48:03.000Z","updated_at":"2022-03-21T16:54:56.000Z","dependencies_parsed_at":"2022-11-03T22:06:43.035Z","dependency_job_id":null,"html_url":"https://github.com/voidful/tts-corpus-creator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voidful/tts-corpus-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidful%2Ftts-corpus-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidful%2Ftts-corpus-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidful%2Ftts-corpus-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidful%2Ftts-corpus-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidful","download_url":"https://codeload.github.com/voidful/tts-corpus-creator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidful%2Ftts-corpus-creator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266276122,"owners_count":23903981,"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":[],"created_at":"2024-12-31T00:17:59.061Z","updated_at":"2025-07-21T09:32:56.105Z","avatar_url":"https://github.com/voidful.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tts-corpus-creator\n\ncollection of different source of tts api for generating corpus. feature:\n\n- large scale tts\n- support both free and charge source\n\n## Source\n\n### Charge\n\n#### Google Cloud TTS\n\n1. install `pip install google-cloud-texttospeech`\n\n```python\nimport os\n\nos.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = \"xxx.json\"\n\nfrom ttscorpus.source import GoogleCloud\n\ngc = GoogleCloud()\ngc(\"hi,there\", 'output')\n```\n\n### Free\n\n#### Mac\n\n1. install ffmpeg `brew install ffmpeg`\n\n```python\nfrom ttscorpus.source import MAC\n\nmac = MAC()\nmac('hello, there, I am mac', 'output')\n```\n\n#### Google TTS\n\n1. install `pip install gtts`\n\n```python\nfrom ttscorpus.source import GoogleTTS\n\nmac = GoogleTTS()\nmac('sixty six year old badly. independence of mutual fund boards represents discrete defeat.', 'test')\n```\n\n#### Android TTS\n\n1. build android tts server app\n   from: [https://github.com/voidful/android-tts-server](https://github.com/voidful/android-tts-server)\n\n```python\nfrom ttscorpus.source import AndroidTTS\n\natts = AndroidTTS('http://xxxx:port')\natts(\n    \"CHAPTER SIXTEEN I MIGHT HAVE TOLD YOU OF THE BEGINNING OF THIS LIAISON IN A FEW LINES BUT I WANTED YOU TO SEE EVERY STEP BY WHICH WE CAME I TO …\",\n    'test')\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidful%2Ftts-corpus-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidful%2Ftts-corpus-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidful%2Ftts-corpus-creator/lists"}