cognitive-services-speech-sdk

(★ 3,442)

Sample code for the Microsoft Cognitive Services Speech SDK

File Explorer

Showing a partial file list — download the zip above to see everything.

  • .gitattributes
  • .gitignore
  • CONTRIBUTING.md
  • LICENSE.md
  • README.md
  • ThirdPartyNotices.md

# Installation Guide

multi-language / csharp / python / java / cpp
Prerequisites

Setup Steps

git clone https://github.com/Azure-Samples/cognitive-services-speech-sdk.git

Clone the project repository locally.

cd cognitive-services-speech-sdk/quickstart/python/from-microphone

Navigate to the specific sample directory you want to run.

pip install -r requirements.txt

Install dependency packages for Python samples.

Key Commands

pip install -r requirements.txt

Install Python package dependencies.

dotnet build helloworld.csproj

Build .NET based projects.

mvn clean compile

Compile Java Maven projects.

npm install

Install Node.js package dependencies.

Before running the samples, you must configure your Azure Cognitive Services Speech subscription key and region in configuration files such as config.json.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Showing a partial file list.

// repository documentation