{"id":13809151,"url":"https://github.com/ex-azure/ex_azure_speech","last_synced_at":"2026-02-21T06:32:41.029Z","repository":{"id":230420164,"uuid":"777891456","full_name":"ex-azure/ex_azure_speech","owner":"ex-azure","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-28T02:16:28.000Z","size":616,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T07:33:31.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/ex-azure.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"ycastor.eth"}},"created_at":"2024-03-26T17:39:09.000Z","updated_at":"2025-04-26T09:01:26.000Z","dependencies_parsed_at":"2024-04-05T10:24:16.953Z","dependency_job_id":"d3dea470-ae5c-44ac-b13b-3be9679999b4","html_url":"https://github.com/ex-azure/ex_azure_speech","commit_stats":null,"previous_names":["ygorcastor/ex_azure_cognitive_services_speech_sdk","ygorcastor/ex_azure_speech","ex-azure/ex_azure_speech"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ex-azure/ex_azure_speech","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ex-azure%2Fex_azure_speech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ex-azure%2Fex_azure_speech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ex-azure%2Fex_azure_speech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ex-azure%2Fex_azure_speech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ex-azure","download_url":"https://codeload.github.com/ex-azure/ex_azure_speech/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ex-azure%2Fex_azure_speech/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29675470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-04T01:02:03.602Z","updated_at":"2026-02-21T06:32:41.009Z","avatar_url":"https://github.com/ex-azure.png","language":"Elixir","funding_links":["ycastor.eth"],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# ExAzureSpeech\n\n[![Hex](https://img.shields.io/hexpm/v/ex_azure_speech?style=flat-square)](https://hex.pm/packages/ex_azure_speech)\n[![.github/workflows/build_and_test.yaml](https://github.com/YgorCastor/ex_azure_speech/actions/workflows/build_and_test.yaml/badge.svg)](https://github.com/YgorCastor/ex_azure_speech/actions/workflows/build_and_test.yaml)\n\nThe non-official Elixir implementation for Azure Cognitive Services Speech SDK. This project aims to provide all the functionalities described in the [official speech sdk](https://learn.microsoft.com/en-gb/azure/ai-services/speech-service/) for Elixir Projects.\n\n## Getting Started\n\nTo use the Elixir Speech SDK you first need to add the dependency in your `mix.exs` file.\n\n```elixir\ndef deps do\n  [\n    {:ex_azure_speech, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nOptionally, you can add the following configuration to your `config.exs` file, to globally configure all the SDK basic settings.\n```elixir\nconfig :ex_azure_speech,\n  region: \"westeurope\",\n  language: \"en-US\",\n  auth_key: \"YOUR_AZURE_SUBSCRIPTION_KEY\"\n```\n\n## Implemented Modules\n\n### Speech-to-Text with Pronunciation Assessment\n\nTo configure the speech-to-text module, you need to add the following module to your supervision tree.\n\n```elixir\nchildren = [\n  ExAzureSpeech.SpeechToText.Recognizer\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n```\n\n#### Example\n```elixir\nFile.stream!(\"test.wav\") |\u003e SpeechToText.recognize_once()\n\n{:ok,\n  [%ExAzureSpeech.SpeechToText.Responses.SpeechPhrase{\n    channel: 0,\n    display_text: \"My voice is my passport verify me.\",\n    duration: 27600000,\n    id: \"ada609c747614c118ac9df6545118646\",\n    n_best: nil,\n    offset: 7300000,\n    primary_language: nil,\n    recognition_status: \"Success\",\n    speaker_id: nil\n  }]}\n```\n\n### Text-to-Speech\n\nTo configure the text-to-speech module, you need to add the following module to your supervision tree.\n```elixir\nchildren = [\n  ExAzureSpeech.TextToSpeech.Synthesizer\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n```\n\n#### Example\n\n```elixir\n{:ok, stream} = TextToSpeech.speak_text(\"Hello. World.\", \"en-US-AriaNeural\", \"en-US\")\n\n{:ok, #Function\u003c52.48886818/2 in Stream.resource/3\u003e}\n\nstream\n|\u003e Stream.into(File.stream!(\"hello_world.wav\"))\n|\u003e Stream.run()\n```\n\n## Readiness\n\nThis library is still in continuous development, so contracts and APIs may change considerably. Please, use it at your own risk.\n\n## Roadmap\n\n- ~~Text-to-Speech~~\n- Translation\n- Speech Intent\n- Avatars\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fex-azure%2Fex_azure_speech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fex-azure%2Fex_azure_speech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fex-azure%2Fex_azure_speech/lists"}