File tree Expand file tree Collapse file tree 7 files changed +32
-0
lines changed
articles/cognitive-services/Speech-Service/includes Expand file tree Collapse file tree 7 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Audio input format
3
+ titleSuffix : Azure Cognitive Services
4
+ services : cognitive-services
5
+ author : markamos
6
+ manager : nitinme
7
+
8
+ ms.service : cognitive-services
9
+ ms.topic : include
10
+ ms.date : 11/20/2019
11
+ ms.author : erhopf
12
+ ---
13
+
14
+ ## Supported audio input format
15
+
16
+ The Speech SDK uses the following format for audio input.
17
+
18
+ | Format | Codec | Bitrate | Sample Rate | Channels |
19
+ | --------| -------| ---------| -------------| ----------|
20
+ | WAV | PCM | 16-bit | 8 kHz or 16 kHz | 1 (mono) |
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Before you get started, make sure to:
21
21
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md?tabs=linux )
22
22
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md?tabs=linux )
23
23
24
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
25
+
24
26
## Add sample code
25
27
26
28
1 . Create a C++ source file named ` helloworld.cpp ` , and paste the following code into it.
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Before you get started, make sure to:
21
21
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md?tabs=macos )
22
22
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md?tabs=macos )
23
23
24
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
25
+
24
26
## Add sample code
25
27
26
28
1 . Create a C++ source file named ` helloworld.cpp ` , and paste the following code into it.
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Before you get started, make sure to:
21
21
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md?tabs=windows )
22
22
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md?tabs=windows )
23
23
24
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
25
+
24
26
## Add sample code
25
27
26
28
1 . Open the source file ** helloworld.cpp** .
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Before you get started, make sure to:
21
21
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md?tabs=dotnet )
22
22
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md?tabs=dotnet )
23
23
24
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
25
+
24
26
## Open your project in Visual Studio
25
27
26
28
The first step is to make sure that you have your project open in Visual Studio.
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ ms.author: erhopf
13
13
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md?tabs=jre )
14
14
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md?tabs=jre )
15
15
16
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
17
+
16
18
## Add sample code
17
19
18
20
1 . To add a new empty class to your Java project, select ** File** > ** New** > ** Class** .
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ Before you get started, make sure to:
22
22
> * [ Setup your development environment] ( ../../../../quickstarts/setup-platform.md )
23
23
> * [ Create an empty sample project] ( ../../../../quickstarts/create-project.md )
24
24
25
+ [ !INCLUDE [ Audio input format] ( ~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md )]
26
+
25
27
## Support and updates
26
28
27
29
Updates to the Speech SDK Python package are distributed via PyPI and announced in the [ Release notes] ( ~/articles/cognitive-services/Speech-Service/releasenotes.md ) .
You can’t perform that action at this time.
0 commit comments