# Microsoft Cognitive Services Speech SDK Samples

Sample code for the Microsoft Cognitive Services Speech SDK

Repository: https://github.com/Azure-Samples/cognitive-services-speech-sdk
Canonical: https://ross.abutalabs.com/products/microsoft-cognitive-services-speech-sdk-samples
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-04T15:26:41+00:00
Link (homepage): https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech/
Link (site_page): https://azure.microsoft.com/en-us/pricing
Link (site_page): https://azure.microsoft.com/en-us/pricing/purchase-options/azure-account
Link (site_page): https://azure.microsoft.com/en-us/pricing/free-services
Link (site_page): https://azure.microsoft.com/en-us/pricing/purchase-options

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 60, longevity 100
- inputs: {"age_days": 3051, "days_push": 29, "days_rel": 54, "gap_med": 329.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3443, forks 1981 (observed 2026-08-28T04:08:05.136941+00:00)

## What it is
Official sample code repository for the Microsoft Cognitive Services (Azure) Speech SDK, demonstrating speech-to-text, text-to-speech, and related speech features across many languages and platforms. It includes both simple getting-started examples and more complex end-to-end scenarios.

## Use cases
- add speech recognition to my app with azure speech sdk
- learn how to do text to speech with cognitive services
- sample code for azure speech sdk in c#
- convert speech to text from a microphone in python
- build a voice assistant with azure speech services
- examples of speech synthesis with custom voices
- get started with azure cognitive services speech

## When to choose
- you are building with the Azure Speech SDK and want working reference code
- you need cross-platform speech samples in C#, C++, Java, Python, JavaScript, Swift, or Objective-C
- you want to learn Azure text-to-speech and speech recognition APIs through examples

## When to avoid
- you need a production-ready speech application rather than sample code
- you want offline or self-hosted speech recognition without an Azure subscription
- you are not using Microsoft Azure Cognitive Services

## Facets
- artifact type: learning-resource
- maturity: active
- function: speech-recognition, tts, sdk
- domain: speech-processing, artificial-intelligence, tutorials
- platform: windows, cross-platform, python, jvm, cpp
- tags: azure, speech-sdk, samples, text-to-speech, speech-to-text, microsoft, cognitive-services, voice-assistant, linux, macos, android, ios, nodejs

## Member repositories
- Azure-Samples/cognitive-services-speech-sdk (main) score 84
- Azure-Samples/Cognitive-Speech-TTS (examples) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.136941+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:37.641232+00:00, confidence not recorded.
  - readme: https://github.com/Azure-Samples/cognitive-services-speech-sdk (fetched 2026-08-28T04:08:05.136941+00:00, sha d0141655260a)
  - homepage: https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech/ (fetched 2026-08-29T09:33:27.625854+00:00, sha 860b57c07481)
  - site_page: https://azure.microsoft.com/en-us/pricing (fetched 2026-08-29T09:33:27.698683+00:00, sha 36cffca304f8)
  - site_page: https://azure.microsoft.com/en-us/pricing/purchase-options/azure-account (fetched 2026-08-29T09:33:27.735662+00:00, sha ccdd9b326e8e)
  - site_page: https://azure.microsoft.com/en-us/pricing/free-services (fetched 2026-08-29T09:33:27.744778+00:00, sha 09186899fba9)
  - site_page: https://azure.microsoft.com/en-us/pricing/purchase-options (fetched 2026-08-29T09:33:27.747121+00:00, sha 9295f15cb86e)
  - site_page: https://azure.microsoft.com/en-us/pricing/calculator (fetched 2026-08-29T09:33:27.749300+00:00, sha 73898700cc14)
  - site_page: https://azure.microsoft.com/en-us/pricing/offers/savings-plans (fetched 2026-08-29T09:33:27.751195+00:00, sha 3732a62e55d3)
  - site_page: https://azure.microsoft.com/en-us/pricing/offers/reservations (fetched 2026-08-29T09:33:27.753673+00:00, sha 543a439ff07d)
  - site_page: https://azure.microsoft.com/en-us/pricing/offers/hybrid-benefit (fetched 2026-08-29T09:33:27.756571+00:00, sha 91dca2023c73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
