You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to use the Speech SDK to convert speech-to-text. In this quickstart, you learn about object construction, supported audio input formats, and configuration options for speech recognition.
4
+
description: Learn how to use the Speech SDK to convert speech to text, including object construction, supported audio input formats, and configuration options for speech recognition.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/includes/how-to/speech-to-text-basics/speech-to-text-basics-browser-js.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ ms.author: eur
7
7
ms.custom: devx-track-js
8
8
---
9
9
10
-
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often referred to as speech-to-text). In this sample, you learn how to use the Speech SDK in your apps and products to perform high-quality speech-to-text conversion.
10
+
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often called speech-to-text). In this sample, you learn how to use the Speech SDK in your apps and products to perform high-quality speech-to-text conversion.
11
11
12
12
## React sample on GitHub
13
13
14
-
Go to the [React sample](https://github.com/Azure-Samples/AzureSpeechReactSample) on GitHub to learn how to use the Speech SDK in a browser-based JavaScript environment. This sample shows design pattern examples for authentication token exchange and management, and capturing audio from a microphone or file for speech-to-text conversions.
14
+
Go to the [React sample](https://github.com/Azure-Samples/AzureSpeechReactSample) on GitHub to learn how to use the Speech SDK in a browser-based JavaScript environment. This sample shows design patterns for the exchange and management of authentication tokens. It also shows the capture of audio from a microphone or file for speech-to-text conversions.
15
15
16
-
Additionally, the design patterns used in the [Node.js quickstart](../../../get-started-speech-to-text.md?pivots=programming-language-nodejs&tabs=script%2cbrowser%2cwindowsinstall) can also be used in a browser environment.
16
+
You can also use the design patterns in the [Node.js quickstart](../../../get-started-speech-to-text.md?pivots=programming-language-nodejs&tabs=script%2cbrowser%2cwindowsinstall) in a browser environment.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/includes/how-to/speech-to-text-basics/speech-to-text-basics-cli.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,38 +6,36 @@ ms.date: 09/08/2020
6
6
ms.author: eur
7
7
---
8
8
9
-
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often referred to as speech-to-text). In this quickstart, you learn how to use the Speech CLI in your apps and products to perform high-quality speech-to-text conversion.
9
+
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often called speech-to-text). In this quickstart, you learn how to use the Speech CLI in your apps and products to perform high-quality speech-to-text conversion.
10
10
11
11
[!INCLUDE [SPX Setup](../../spx-setup.md)]
12
12
13
-
## Speech-to-text from microphone
13
+
## Speech-to-text from a microphone
14
14
15
-
Plug in and turn on your PC microphone, and turn off any apps that might also use the microphone. Some computers have a built-in microphone, while others require configuration of a Bluetooth device.
15
+
Plug in and turn on your PC microphone. Turn off any apps that might also use the microphone. Some computers have a built-in microphone, whereas others require configuration of a Bluetooth device.
16
16
17
-
Now you're ready to run the Speech CLI to recognize speech from your microphone. From the command line, change to the directory that contains the Speech CLI binary file, and run the following command.
17
+
Now you're ready to run the Speech CLI to recognize speech from your microphone. From the command line, change to the directory that contains the Speech CLI binary file. Then run the following command:
18
18
19
19
```bash
20
20
spx recognize --microphone
21
21
```
22
22
23
23
> [!NOTE]
24
-
> The Speech CLI defaults to English. You can choose a different language [from the Speech-to-text table](../../../../language-support.md).
25
-
> For example, add `--source de-DE` to recognize German speech.
24
+
> The Speech CLI defaults to English. You can choose a different language [from the speech-to-text table](../../../../language-support.md). For example, add `--source de-DE` to recognize German speech.
26
25
27
-
Speak into the microphone, and you see transcription of your words into text in real-time. The Speech CLI will stop after a period of silence, or when you press ctrl-C.
26
+
Speak into the microphone, and you see transcription of your words into text in realtime. The Speech CLI stops after a period of silence, or when you select Ctrl+C.
28
27
29
-
## Speech-to-text from audio file
28
+
## Speech-to-text from an audio file
30
29
31
-
The Speech CLI can recognize speech in many file formats and natural languages. In this example, you can use any WAV file (16kHz or 8kHz, 16-bit, and mono PCM) that contains English speech. Or if you want a quick sample, download the <ahref="https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/whatstheweatherlike.wav"download="whatstheweatherlike"target="_blank">whatstheweatherlike.wav <spanclass="docon docon-download x-hidden-focus"></span></a> file and copy it to the same directory as the Speech CLI binary file.
30
+
The Speech CLI can recognize speech in many file formats and natural languages. In this example, you can use any WAV file (16 KHz or 8 KHz, 16-bit, and mono PCM) that contains English speech. Or if you want a quick sample, download the <ahref="https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/whatstheweatherlike.wav"download="whatstheweatherlike"target="_blank">whatstheweatherlike.wav <spanclass="docon docon-download x-hidden-focus"></span></a> file and copy it to the same directory as the Speech CLI binary file.
32
31
33
-
Now you're ready to run the Speech CLI to recognize speech found in the audio file by running the following command.
32
+
Use the following command to run the Speech CLI to recognize speech found in the audio file:
34
33
35
34
```bash
36
35
spx recognize --file whatstheweatherlike.wav
37
36
```
38
37
39
38
> [!NOTE]
40
-
> The Speech CLI defaults to English. You can choose a different language [from the Speech-to-text table](../../../../language-support.md).
41
-
> For example, add `--source de-DE` to recognize German speech.
39
+
> The Speech CLI defaults to English. You can choose a different language [from the speech-to-text table](../../../../language-support.md). For example, add `--source de-DE` to recognize German speech.
42
40
43
-
The Speech CLI will show a text transcription of the speech on the screen.
41
+
The Speech CLI shows a text transcription of the speech on the screen.
0 commit comments