Skip to content

Commit 1ee6069

Browse files
authored
push all samples changes back to public GH repository. (#2719)
* push all samples changes back to public GH repository. * fix bad version change from automated per script. --------- Co-authored-by: Brian Mouncer <>
1 parent 18ca42c commit 1ee6069

File tree

187 files changed

+661
-571
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+661
-571
lines changed

quickstart/cpp/macos/from-microphone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ See the [accompanying article](https://docs.microsoft.com/azure/cognitive-servic
66
## Prerequisites
77

88
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
9-
* A Mac with a working microphone.
9+
* A Mac with a working microphone. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
1010

1111
## Build the sample
1212

quickstart/cpp/macos/text-to-speech/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This sample demonstrates how to synthesize speech with C++ using the Speech SDK
55
## Prerequisites
66

77
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
8-
* A Mac with a working speaker.
8+
* A Mac with a working speaker. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
99

1010
## Build the sample
1111

quickstart/cpp/windows/from-file/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# Quickstart: Recognize speech from a file in C++ for Windows
22

33
This sample demonstrates how to recognize speech using wave file as an input with C++ using the Speech SDK for Windows.
4-
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-microphone?tabs=dotnet%2Cx-android%2CWindows%2Cjava-runtime%2Cwindowsinstall&pivots=programming-language-cpp) on the SDK documentation page which describes how to build corresponding sample from scratch in Visual Studio 2017.
4+
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-microphone?tabs=dotnet%2Cx-android%2CWindows%2Cjava-runtime%2Cwindowsinstall&pivots=programming-language-cpp) on the SDK documentation page which describes how to build corresponding sample from scratch in Visual Studio.
55

66
## Prerequisites
77

88
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
9-
* [Microsoft Visual Studio 2017](https://www.visualstudio.com/), Community Edition or higher.
10-
* The **Desktop development with C++** workload in Visual Studio and the **NuGet package manager** component in Visual Studio.
11-
You can enable both in **Tools** \> **Get Tools and Features**, under the **Workloads** and **Individual components** tabs, respectively.
9+
* A Windows PC with [Microsoft Visual Studio](https://www.visualstudio.com/) installed. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
1210

1311
## Build the sample
1412

1513
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license).**
1614
* [Download the sample code to your development PC.](/README.md#get-the-samples)
17-
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
15+
* Start Microsoft Visual Studio and select **File** \> **Open** \> **Project/Solution**.
1816
* Navigate to the folder containing this sample, and select the solution file contained within it.
1917
* Edit the `helloworld.cpp` source:
2018
* Replace the string `YourSubscriptionKey` with your own subscription key.

quickstart/cpp/windows/from-file/helloworld/helloworld.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@
170170
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
171171
<ImportGroup Label="ExtensionTargets">
172172
<!-- N.B. the .targets extensions must be spelled out here -->
173-
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" />
173+
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" />
174174
</ImportGroup>
175175
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
176176
<PropertyGroup>
177177
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
178178
</PropertyGroup>
179-
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
179+
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
180180
</Target>
181181
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.CognitiveServices.Speech" version="1.41.1" targetFramework="native" />
3+
<package id="Microsoft.CognitiveServices.Speech" version="1.42.0" targetFramework="native" />
44
</packages>

quickstart/cpp/windows/from-microphone/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
# Quickstart: Recognize speech from a microphone in C++ for Windows
22

33
This sample demonstrates how to recognize speech with C++ using the Speech SDK for Windows.
4-
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-microphone?tabs=dotnet%2Cx-android%2CWindows%2Cjava-runtime%2Cwindowsinstall&pivots=programming-language-cpp) on the SDK documentation page which describes how to build this sample from scratch in Visual Studio 2017.
4+
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-microphone?tabs=dotnet%2Cx-android%2CWindows%2Cjava-runtime%2Cwindowsinstall&pivots=programming-language-cpp) on the SDK documentation page which describes how to build this sample from scratch in Visual Studio.
55

66
## Prerequisites
77

88
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
9-
* A Windows PC with a working microphone.
10-
* [Microsoft Visual Studio 2017](https://www.visualstudio.com/), Community Edition or higher.
11-
* The **Desktop development with C++** workload in Visual Studio and the **NuGet package manager** component in Visual Studio.
12-
You can enable both in **Tools** \> **Get Tools and Features**, under the **Workloads** and **Individual components** tabs, respectively.
9+
* A Windows PC with a working microphone and [Microsoft Visual Studio](https://www.visualstudio.com/) installed. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
1310

1411
## Build the sample
1512

1613
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license).**
1714
* [Download the sample code to your development PC.](/README.md#get-the-samples)
18-
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
15+
* Start Microsoft Visual Studio and select **File** \> **Open** \> **Project/Solution**.
1916
* Navigate to the folder containing this sample, and select the solution file contained within it.
2017
* Edit the `helloworld.cpp` source:
2118
* Replace the string `YourSubscriptionKey` with your own subscription key.

quickstart/cpp/windows/from-microphone/helloworld/helloworld.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@
166166
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
167167
<ImportGroup Label="ExtensionTargets">
168168
<!-- N.B. the .targets extensions must be spelled out here -->
169-
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" />
169+
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" />
170170
</ImportGroup>
171171
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
172172
<PropertyGroup>
173173
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
174174
</PropertyGroup>
175-
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
175+
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
176176
</Target>
177177
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.CognitiveServices.Speech" version="1.41.1" targetFramework="native" />
3+
<package id="Microsoft.CognitiveServices.Speech" version="1.42.0" targetFramework="native" />
44
</packages>

quickstart/cpp/windows/intent-recognition/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ This sample demonstrates how to recognize intent with C++ using the Speech SDK f
55
## Prerequisites
66

77
* A LUIS account. You can get one for free through the [LUIS portal](https://www.luis.ai/home).
8-
* A Windows PC with a working microphone.
9-
* [Microsoft Visual Studio 2017](https://www.visualstudio.com/), Community Edition or higher.
10-
* The **Desktop development with C++** workload in Visual Studio and the **NuGet package manager** component in Visual Studio.
11-
You can enable both in **Tools** \> **Get Tools and Features**, under the **Workloads** and **Individual components** tabs, respectively.
8+
* A Windows PC with a working microphone and [Microsoft Visual Studio](https://www.visualstudio.com/) installed. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
129

1310
## Build the sample
1411

1512
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license).**
1613
* [Download the sample code to your development PC.](/README.md#get-the-samples)
17-
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
14+
* Start Microsoft Visual Studio and select **File** \> **Open** \> **Project/Solution**.
1815
* Navigate to the folder containing this sample, and select the solution file contained within it.
1916
* Edit the `helloworld.cpp` source:
2017
* Replace the string `YourLanguageUnderstandingSubscriptionKey` with your own LUIS endpoint key.

quickstart/cpp/windows/intent-recognition/helloworld/helloworld.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@
166166
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
167167
<ImportGroup Label="ExtensionTargets">
168168
<!-- N.B. the .targets extensions must be spelled out here -->
169-
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" />
169+
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" />
170170
</ImportGroup>
171171
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
172172
<PropertyGroup>
173173
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
174174
</PropertyGroup>
175-
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
175+
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
176176
</Target>
177177
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.CognitiveServices.Speech" version="1.41.1" targetFramework="native" />
3+
<package id="Microsoft.CognitiveServices.Speech" version="1.42.0" targetFramework="native" />
44
</packages>

quickstart/cpp/windows/multi-device-conversation/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
# Quickstart: Multi-Device Conversation, C++ (Windows) - Speech Service
22

33
In this quickstart, you'll learn how to create a new multi-device conversation or join an existing one with C++ using the Speech SDK for Windows.
4-
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/Speech-Service/quickstarts/multi-device-conversation?pivots=programming-language-cpp) on the SDK documentation page which describes how to build this sample from scratch in Visual Studio 2017.
4+
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/Speech-Service/quickstarts/multi-device-conversation?pivots=programming-language-cpp) on the SDK documentation page which describes how to build this sample from scratch in Visual Studio.
55

66
## Prerequisites
77

88
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
9-
* A Windows PC with a working microphone.
10-
* [Microsoft Visual Studio 2017](https://www.visualstudio.com/), Community Edition or higher.
11-
* The **Desktop development with C++** workload in Visual Studio and the **NuGet package manager** component in Visual Studio.
12-
You can enable both in **Tools** \> **Get Tools and Features**, under the **Workloads** and **Individual components** tabs, respectively.
9+
* A Windows PC with a working microphone and [Microsoft Visual Studio](https://www.visualstudio.com/) installed. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
1310

1411
## Build the sample
1512

1613
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license).**
17-
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
14+
* Start Microsoft Visual Studio and select **File** \> **Open** \> **Project/Solution**.
1815
* Navigate to the folder containing this sample, and select the solution file contained within it.
1916
* Edit the `helloworld.cpp` source:
2017
* Replace the string `YourSubscriptionKey` with your own subscription key.

quickstart/cpp/windows/multi-device-conversation/helloworld/helloworld.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@
158158
</ItemGroup>
159159
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
160160
<ImportGroup Label="ExtensionTargets">
161-
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" />
161+
<Import Project="..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets" Condition="Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" />
162162
</ImportGroup>
163163
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
164164
<PropertyGroup>
165165
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
166166
</PropertyGroup>
167-
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.41.1\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
167+
<Error Condition="!Exists('..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CognitiveServices.Speech.1.42.0\build\native\Microsoft.CognitiveServices.Speech.targets'))" />
168168
</Target>
169169
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.CognitiveServices.Speech" version="1.41.1" targetFramework="native" />
3+
<package id="Microsoft.CognitiveServices.Speech" version="1.42.0" targetFramework="native" />
44
</packages>

quickstart/cpp/windows/speaker-recognition/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ In this quickstart, you'll learn how to do speaker recognition, including creati
77
## Prerequisites
88

99
* A subscription key for the Speech service. See [Try the speech service for free](https://docs.microsoft.com/azure/cognitive-services/speech-service/get-started).
10-
* [Microsoft Visual Studio 2019](https://www.visualstudio.com/), Community Edition or higher.
11-
* The **Desktop development with C++** workload in Visual Studio and the **NuGet package manager** component in Visual Studio.
12-
You can enable both in **Tools** \> **Get Tools and Features**, under the **Workloads** and **Individual components** tabs, respectively.
10+
* A Windows PC with [Microsoft Visual Studio](https://www.visualstudio.com/) installed. See the [Speech SDK installation quickstart](https://learn.microsoft.com/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-cpp) for details on system requirements and setup.
1311

1412
## Build the sample
1513

1614
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license).**
1715
* [Download the sample code to your development PC.](/README.md#get-the-samples)
18-
* Start Microsoft Visual Studio 2019 and select **File** \> **Open** \> **Project/Solution**.
16+
* Start Microsoft Visual Studio and select **File** \> **Open** \> **Project/Solution**.
1917
* Navigate to the folder containing this sample, and select the solution file contained within it.
2018
* Edit the `helloworld.cpp` source:
2119
* Replace the string `YourSubscriptionKey` with your own subscription key.

0 commit comments

Comments
 (0)