{"id":18486089,"url":"https://github.com/mathsgod/microsoft-tts","last_synced_at":"2025-05-13T22:12:59.130Z","repository":{"id":178562390,"uuid":"662031712","full_name":"mathsgod/microsoft-tts","owner":"mathsgod","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-04T09:06:41.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T09:03:24.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/mathsgod.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-04T07:59:20.000Z","updated_at":"2023-07-04T07:59:41.000Z","dependencies_parsed_at":"2023-07-26T07:16:34.953Z","dependency_job_id":null,"html_url":"https://github.com/mathsgod/microsoft-tts","commit_stats":null,"previous_names":["mathsgod/microsoft-tts"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fmicrosoft-tts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fmicrosoft-tts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fmicrosoft-tts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fmicrosoft-tts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/microsoft-tts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036843,"owners_count":22003654,"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-11-06T12:47:47.330Z","updated_at":"2025-05-13T22:12:54.108Z","avatar_url":"https://github.com/mathsgod.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft TTS\n\n## Installation\n\n```bash\ncomposer require mathsgod/microsoft-tts\n```\n\n## Usage\n\n```php\nuse Microsoft\\CognitiveServices\\Speech\\TTS;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$region=\"eastasia\";\n$key='YOUR_KEY';\n$tts = new TTS($key, $region);\n$tts-\u003esave('Hello World', 'hello-world.mp3');\n```\n\n\n### Format and Voice\n    \n```php\n$format=TTS::AUDIO_24KHZ_160KBITRATE_MONO_MP3;\n$voice=\"zh-HK-HiuGaaiNeural\";\n$tts-\u003esave('Hello World', 'hello-world.mp3', $format, $voice);\n```\n\n### Get voices list\n    \n```php\n$voices=$tts-\u003egetVoicesList();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fmicrosoft-tts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fmicrosoft-tts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fmicrosoft-tts/lists"}