{"id":22363206,"url":"https://github.com/oanderoficial/text-in-audio-python","last_synced_at":"2025-03-26T15:18:05.330Z","repository":{"id":159006611,"uuid":"382157823","full_name":"oanderoficial/text-in-audio-python","owner":"oanderoficial","description":"Transformando texto em audio em Python com a biblioteca pyttsx3.","archived":false,"fork":false,"pushed_at":"2024-02-19T00:27:48.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T16:22:39.202Z","etag":null,"topics":["audio","audio-processing","python","pyttsx3","text-in-audio","webaudio"],"latest_commit_sha":null,"homepage":"","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/oanderoficial.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-07-01T21:13:59.000Z","updated_at":"2023-02-12T18:53:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"95319a33-cda5-4cb4-b3e7-950195e51075","html_url":"https://github.com/oanderoficial/text-in-audio-python","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/oanderoficial%2Ftext-in-audio-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2Ftext-in-audio-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2Ftext-in-audio-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanderoficial%2Ftext-in-audio-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oanderoficial","download_url":"https://codeload.github.com/oanderoficial/text-in-audio-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678901,"owners_count":20654738,"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":["audio","audio-processing","python","pyttsx3","text-in-audio","webaudio"],"created_at":"2024-12-04T17:14:05.639Z","updated_at":"2025-03-26T15:18:05.305Z","avatar_url":"https://github.com/oanderoficial.png","language":"Python","readme":"# text-in-audio-python\nTransformando texto em audio em Python com a biblioteca pyttsx3.\n\n```python\n\nimport pyttsx3\n\ndef speak_text_from_file(file_path):\n    with open(file_path, encoding=\"utf8\") as file:\n        text = file.read()\n    engine = pyttsx3.init()\n    voices = engine.getProperty('voices')\n    engine.setProperty('voice', voices[1].id)\n    engine.setProperty('rate', engine.getProperty('rate') - 35)\n    engine.setProperty('volume', 3)\n    engine.setProperty('voice', b'brazil')\n\n    print(text)\n    engine.say(text)\n    engine.runAndWait()\n\nspeak_text_from_file('/home/ander/Documentos/IA/ia')\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanderoficial%2Ftext-in-audio-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foanderoficial%2Ftext-in-audio-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanderoficial%2Ftext-in-audio-python/lists"}