Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
9 contributors

Users who have contributed to this file

@mahilleb-msft @wolfma61 @erhopf @ktoliver @nitinme @v-kents @tchristiani @nschonni @erickson-doug
104 lines (70 sloc) 4.67 KB
title titleSuffix description services author manager ms.service ms.subservice ms.topic ms.date ms.author
About the Speech SDK - Speech Services
Azure Cognitive Services
The Speech Software Development Kit (SDK) gives your applications native access to the functions of the Speech service, making it easier to develop software. This article provides additional details about the SDK for Windows, Linux, and Android.
cognitive-services
erhopf
nitinme
cognitive-services
speech-service
conceptual
07/05/2019
wolfma

About the Speech SDK

The Speech Software Development Kit (SDK) gives your applications access to the functions of the Speech Services, making it easier to develop speech-enabled software. Currently, the SDKs provide access to speech-to-text, text-to-speech, speech translation, intent recognition, and Bot Framework’s Direct Line Speech channel. A general overview about the capabilities and supported platforms can be found on the documentation entry page.

[!INCLUDE Speech SDK Platforms]

[!INCLUDE License Notice]

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.6.0 as a dependency.

Linux

[!NOTE] Currently, we support only Ubuntu 16.04, Ubuntu 18.04, and Debian 9 on a PC (x86 or x64 for C++ development and x64 for .NET Core, Java, and Python).

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

On Ubuntu:

sudo apt-get update
sudo apt-get install libssl1.0.0 libasound2

On Debian 9:

sudo apt-get update
sudo apt-get install libssl1.0.2 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.6.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.6.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 and required Android permissions. It's hosted in a Maven repository at https://csspeechstorage.blob.core.windows.net/maven/ as package com.microsoft.cognitiveservices.speech:client-sdk:1.6.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.6.0'

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

[!INCLUDE Get the samples]

Next steps

You can’t perform that action at this time.