Skip to content

Commit 37c07df

Browse files
authored
Merge pull request #95914 from mswellsi/SpeechDevicesSDK17
[Cog Svcs] Release Note for Speech Devices SDK v1.7
2 parents 541fe12 + 96117e4 commit 37c07df

File tree

3 files changed

+68
-13
lines changed

3 files changed

+68
-13
lines changed

articles/cognitive-services/Speech-Service/devices-sdk-release-notes.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,25 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: speech-service
1111
ms.topic: conceptual
12-
ms.date: 07/10/2019
12+
ms.date: 11/13/2019
1313
ms.author: wellsi
1414
---
1515

1616
# Release notes: Speech Devices SDK
1717

1818
The following sections list changes in the most recent releases.
1919

20+
## Speech Devices SDK 1.7.0:
21+
22+
* Linux ARM is now supported.
23+
* Initial binaries for Roobov2 are provided (Linux ARM64).
24+
* Windows users can use AudioConfig.fromDefaultMicrophoneInput() or AudioConfig.fromMicrophoneInput(deviceName) to specify the microphone to be used.
25+
* The library size has been optimized.
26+
* Support for multi-turn recognition using the same speech/intent recognizer object.
27+
* Fix occasional hang that would occur while stopping recognition.
28+
* Sample apps now contain a sample participants.properties file to demonstrate the format of the file.
29+
* Updated the [Speech SDK](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-sdk-reference) component to version 1.7.0. For more information, see its [release notes](https://aka.ms/csspeech/whatsnew).
30+
2031
## Speech Devices SDK 1.6.0:
2132

2233
- Support [Azure Kinect DK](https://azure.microsoft.com/services/kinect-dk/) on Windows and Linux with common [sample application](https://aka.ms/sdsdk-download)

articles/cognitive-services/Speech-Service/speech-devices-sdk-linux-quickstart.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: speech-service
1111
ms.topic: quickstart
12-
ms.date: 07/10/2019
12+
ms.date: 11/13/2019
1313
ms.author: erhopf
1414
---
1515

@@ -76,12 +76,35 @@ If you plan to use the intents you'll need a [Language Understanding Service (LU
7676

7777
![Screenshot of Package explorer](media/speech-devices-sdk/eclipse-convert-to-maven.png)
7878

79+
1. Open the pom.xml file and edit it.
80+
81+
At the end of the file, before the closing tag `</project>`, create `repositories` and `dependencies` elements, as shown here, and ensure the `version` matches your current version:
82+
```xml
83+
<repositories>
84+
<repository>
85+
<id>maven-cognitiveservices-speech</id>
86+
<name>Microsoft Cognitive Services Speech Maven Repository</name>
87+
<url>https://csspeechstorage.blob.core.windows.net/maven/</url>
88+
</repository>
89+
</repositories>
90+
91+
<dependencies>
92+
<dependency>
93+
<groupId>com.microsoft.cognitiveservices.speech</groupId>
94+
<artifactId>client-sdk</artifactId>
95+
<version>1.7.0</version>
96+
</dependency>
97+
</dependencies>
98+
```
99+
79100
1. In the **Package explorer**, right-click your project. Choose **Properties**, then **Run/Debug Settings** > **New…** > **Java Application**.
80101

81102
1. The **Edit Configuration** window appears. In the **Name** field enter **Main**, and use **Search** for the **Main Class** to find and select **com.microsoft.cognitiveservices.speech.samples.FunctionsList**.
82103

83104
![Screenshot of Edit Launch Configuration](media/speech-devices-sdk/eclipse-edit-launch-configuration-linux.png)
84105

106+
1. Copy the audio binaries for your target architecture, from either **Linux-arm** or **Linux-x64**, to the Java Project location, eg **/home/wcaltest/JRE-Sample-Release**
107+
85108
1. Also from the **Edit Configuration** window select the **Environment** page and **New**. The **New Environment Variable** window appears. In the **Name** field enter **LD_LIBRARY_PATH** and in the **value** field enter the folder containing the *.so files, for example **/home/wcaltest/JRE-Sample-Release**
86109

87110
1. Copy `kws.table` and `participants.properties` into the project folder **target/classes**
@@ -114,15 +137,14 @@ If you plan to use the intents you'll need a [Language Understanding Service (LU
114137
> [!TIP]
115138
> You can also [create a custom keyword](speech-devices-sdk-create-kws.md).
116139

117-
To use a new keyword, update the following two lines in `FunctionsList.java`, and copy the keyword package to your app. For example, to use the keyword 'Machine' from the keyword package `kws-machine.zip`:
140+
To use a new keyword, update the following line in `FunctionsList.java`, and copy the keyword to your app. For example, to use the keyword 'Machine' from the keyword package `machine.zip`:
118141

119-
* Copy the keyword package into the project folder **target/classes**.
142+
* Copy the `kws.table` file from the zip package into the project folder **target/classes**.
120143

121-
* Update the `FunctionsList.java` with the keyword and the package name:
144+
* Update the `FunctionsList.java` with the keyword name:
122145

123146
```java
124147
private static final String Keyword = "Machine";
125-
private static final String KeywordModel = "kws-machine.zip" // set your own keyword package name.
126148
```
127149

128150
## Run the sample application from Eclipse

articles/cognitive-services/Speech-Service/speech-devices-sdk-windows-quickstart.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: speech-service
1111
ms.topic: quickstart
12-
ms.date: 07/10/2019
12+
ms.date: 11/13/2019
1313
ms.author: erhopf
1414
---
1515

1616
# Quickstart: Run the Speech Devices SDK sample app on Windows
1717

18-
In this quickstart, you'll learn how to use the Speech Devices SDK for Windows to build a speech-enabled product or use it as a [Conversation Transcription](conversation-transcription-service.md) device. Currently only the [Azure Kinect DK](https://azure.microsoft.com/services/kinect-dk/) is supported.
18+
In this quickstart, you'll learn how to use the Speech Devices SDK for Windows to build a speech-enabled product or use it as a [Conversation Transcription](conversation-transcription-service.md) device. For Conversation Transcription only the [Azure Kinect DK](https://azure.microsoft.com/services/kinect-dk/) is supported. For other speech use linear mic arrays that provide a microphone array geometry are supported.
1919

2020
The application is built with the Speech SDK package, and the Eclipse Java IDE (v4) on 64-bit Windows. It runs on a 64-bit Java 8 runtime environment (JRE).
2121

@@ -28,7 +28,7 @@ The source code for the [sample application](https://aka.ms/sdsdk-download-JRE)
2828
This quickstart requires:
2929

3030
* Operating System: 64-bit Windows
31-
* [Azure Kinect DK](https://azure.microsoft.com/services/kinect-dk/)
31+
* A microphone array such as [Azure Kinect DK](https://azure.microsoft.com/services/kinect-dk/)
3232
* [Eclipse Java IDE](https://www.eclipse.org/downloads/)
3333
* [Java 8](https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) or [JDK 8](https://www.oracle.com/technetwork/java/javase/downloads/index.html) only.
3434
* [Microsoft Visual C++ Redistributable](https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads)
@@ -61,6 +61,29 @@ If you plan to use the intents you'll need a [Language Understanding Service (LU
6161

6262
![Screenshot of Package explorer](media/speech-devices-sdk/eclipse-convert-to-maven.png)
6363

64+
1. Open the pom.xml file and edit it.
65+
66+
At the end of the file, before the closing tag `</project>`, create `repositories` and `dependencies` elements, as shown here, and ensure the `version` matches your current version:
67+
```xml
68+
<repositories>
69+
<repository>
70+
<id>maven-cognitiveservices-speech</id>
71+
<name>Microsoft Cognitive Services Speech Maven Repository</name>
72+
<url>https://csspeechstorage.blob.core.windows.net/maven/</url>
73+
</repository>
74+
</repositories>
75+
76+
<dependencies>
77+
<dependency>
78+
<groupId>com.microsoft.cognitiveservices.speech</groupId>
79+
<artifactId>client-sdk</artifactId>
80+
<version>1.7.0</version>
81+
</dependency>
82+
</dependencies>
83+
```
84+
85+
1. Copy the contents of **Windows-x64** to the Java Project location, eg **C:\SDSDK\JRE-Sample-Release**
86+
6487
1. Copy `kws.table`, `participants.properties` and `Microsoft.CognitiveServices.Speech.extension.pma.dll` into the project folder **target\classes**
6588

6689
## Configure the sample application
@@ -90,15 +113,14 @@ If you plan to use the intents you'll need a [Language Understanding Service (LU
90113
> [!TIP]
91114
> You can also [create a custom keyword](speech-devices-sdk-create-kws.md).
92115

93-
To use a new keyword, update the following two lines in `FunctionsList.java`, and copy the keyword package to your app. For example, to use the keyword 'Machine' from the keyword package `kws-machine.zip`:
116+
To use a new keyword, update the following line in `FunctionsList.java`, and copy the keyword to your app. For example, to use the keyword 'Machine' from the keyword package `machine.zip`:
94117

95-
* Copy the keyword package into the project folder **target/classes**.
118+
* Copy the `kws.table` file from the zip package into the project folder **target/classes**.
96119

97-
* Update the `FunctionsList.java` with the keyword and the package name:
120+
* Update the `FunctionsList.java` with the keyword name:
98121

99122
```java
100123
private static final String Keyword = "Machine";
101-
private static final String KeywordModel = "kws-machine.zip" // set your own keyword package name.
102124
```
103125

104126
## Run the sample application from Eclipse

0 commit comments

Comments
 (0)