Azure-Samples/cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK

What it solves

This repository provides practical code examples to help developers integrate speech-enabled features into their applications using the Microsoft Cognitive Services Speech SDK. It bridges the gap between documentation and implementation by providing ready-to-run samples for various platforms and languages.

How it works

The project hosts a collection of quickstarts and complex scenarios that utilize the Azure Speech SDK. These samples demonstrate how to interact with Azure's speech services via subscription keys, covering three primary modalities:

  • Speech Recognition: Converting spoken audio from a microphone or file into text.
  • Speech Translation: Translating spoken audio into text in another language.
  • Speech Synthesis: Converting text into spoken audio (text-to-speech) played through a speaker.

Who it’s for

Developers building cross-platform applications (Windows, Linux, macOS, Android, iOS, and Web) who need to add voice interfaces, transcription services, or translation capabilities using C++, C#, Java, JavaScript/Node.js, Python, Objective-C, or Swift.

Highlights

  • Multi-language support: Examples provided for a wide array of programming languages.
  • Cross-platform coverage: Samples for desktop, mobile, and web environments.
  • Coded examples for core features: Dedicated quickstarts for one-shot recognition, translation, and synthesis.
  • Advanced scenarios: Includes samples for batch transcription, batch synthesis, and audio device enumeration.

Related

  • Project
  • Project
  • Project
  • Project
  • Project