About the Speech Service SDK

The Speech Service Software Development Kit (SDK) gives your applications native access to the functions of the Speech service, making it easier to develop software. Currently, the SDK provides access to Speech to Text, Speech Translation, and Intent Recognition.

Programming language Platform API reference
C#, .NET Standard Windows, UWP, .NET Standard (Windows) Browse
C/C++ Windows, Linux Browse
Java Android Browse
Java* Devices Browse
Objective C iOS Browse
JavaScript Browser Browse

* The Java SDK is also available as part of the Speech Devices SDK.

Important

By downloading any of the Cognitive Services Speech SDK components on this page, you acknowledge its license. See Speech SDK license agreement.

Get the SDK

Windows

For Windows, we support the following languages:

  • C# (UWP and .NET), C++: You can reference and use the latest version of our Speech SDK NuGet package. The package includes 32-bit and 64-bit client libraries and managed (.NET) libraries. The SDK can be installed in Visual Studio by using NuGet. Search for Microsoft.CognitiveServices.Speech.

  • Java: You can reference and use the latest version of our Speech SDK Maven package, which supports only Windows x64. In your Maven project, add https://csspeechstorage.blob.core.windows.net/maven/ as an additional repository and reference com.microsoft.cognitiveservices.speech:client-sdk:1.1.0 as a dependency.

Linux

Note

Currently, we support only Ubuntu 16.04 on a PC (x86 or x64 for C++ development and x64 for .NET Core and Java).

Make sure you have the required compiler and libraries installed by running the following shell commands:

sudo apt-get update
sudo apt-get install build-essential libssl1.0.0 libcurl3 libasound2
  • C#: You can reference and use the latest version of our Speech SDK NuGet package. To reference the SDK, add the following package reference to your project:

    <PackageReference Include="Microsoft.CognitiveServices.Speech" Version="1.1.0" />
    
  • Java: You can reference and use the latest version of our Speech SDK Maven package. In your Maven project, add https://csspeechstorage.blob.core.windows.net/maven/ as an additional repository and reference com.microsoft.cognitiveservices.speech:client-sdk:1.1.0 as a dependency.

  • C++: Download the SDK as a .tar package and unpack the files in a directory of your choice. The following table shows the SDK folder structure:

    Path Description
    license.md License
    ThirdPartyNotices.md Third-party notices
    include Header files for C and C++
    lib/x64 Native x64 library for linking with your application
    lib/x86 Native x86 library for linking with your application

    To create an application, copy or move the required binaries (and libraries) into your development environment. Include them as required in your build process.

Android

The Java SDK for Android is packaged as an AAR (Android Library), which includes the necessary libraries as well as required Android permissions for using it. It's hosted in a Maven repository at https://csspeechstorage.blob.core.windows.net/maven/ as package com.microsoft.cognitiveservices.speech:client-sdk:1.1.0.

To consume the package from your Android Studio project, make the following changes:

  • In the project-level build.gradle file, add the following to the repository section:

    maven { url 'https://csspeechstorage.blob.core.windows.net/maven/' }
    
  • In the module-level build.gradle file, add the following to the dependencies section:

    implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.1.0'
    

The Java SDK is also part of the Speech Devices SDK.

Get the samples

For the latest samples, see the Cognitive Services Speech SDK sample code repository on GitHub.

Next steps