Skip to content

Commit 13b88d8

Browse files
authored
Merge pull request #96855 from markamos/v-ammark-nov20
[CogSvcs] Initial draft of audio input format chart INCLUDE
2 parents 12e5cd6 + da17e99 commit 13b88d8

File tree

7 files changed

+32
-0
lines changed

7 files changed

+32
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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) |

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/cpp/linux.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Before you get started, make sure to:
2121
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=linux)
2222
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=linux)
2323
24+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
25+
2426
## Add sample code
2527

2628
1. Create a C++ source file named `helloworld.cpp`, and paste the following code into it.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/cpp/macos.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Before you get started, make sure to:
2121
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=macos)
2222
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=macos)
2323
24+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
25+
2426
## Add sample code
2527

2628
1. Create a C++ source file named `helloworld.cpp`, and paste the following code into it.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/cpp/windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Before you get started, make sure to:
2121
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=windows)
2222
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=windows)
2323
24+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
25+
2426
## Add sample code
2527

2628
1. Open the source file **helloworld.cpp**.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/csharp/dotnet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Before you get started, make sure to:
2121
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=dotnet)
2222
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=dotnet)
2323
24+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
25+
2426
## Open your project in Visual Studio
2527

2628
The first step is to make sure that you have your project open in Visual Studio.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/java/jre.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ms.author: erhopf
1313
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=jre)
1414
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=jre)
1515
16+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
17+
1618
## Add sample code
1719

1820
1. To add a new empty class to your Java project, select **File** > **New** > **Class**.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/python/python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Before you get started, make sure to:
2222
> * [Setup your development environment](../../../../quickstarts/setup-platform.md)
2323
> * [Create an empty sample project](../../../../quickstarts/create-project.md)
2424
25+
[!INCLUDE [Audio input format](~/articles/cognitive-services/speech-service/includes/audio-input-format-chart.md)]
26+
2527
## Support and updates
2628

2729
Updates to the Speech SDK Python package are distributed via PyPI and announced in the [Release notes](~/articles/cognitive-services/Speech-Service/releasenotes.md).

0 commit comments

Comments
 (0)