/
speech_synthesis_output_format.go
98 lines (67 loc) · 3.97 KB
/
speech_synthesis_output_format.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
package common
// SpeechSynthesisOutputFormat defines the possible speech synthesis output audio formats.
type SpeechSynthesisOutputFormat int
const (
// Raw8Khz8BitMonoMULaw stands for raw-8khz-8bit-mono-mulaw
Raw8Khz8BitMonoMULaw SpeechSynthesisOutputFormat = 1
// Riff16Khz16KbpsMonoSiren stands for riff-16khz-16kbps-mono-siren
// Unsupported by the service. Do not use this value.
Riff16Khz16KbpsMonoSiren SpeechSynthesisOutputFormat = 2
// Audio16Khz16KbpsMonoSiren stands for audio-16khz-16kbps-mono-siren
// Unsupported by the service. Do not use this value.
Audio16Khz16KbpsMonoSiren SpeechSynthesisOutputFormat = 3
// Audio16Khz32KBitRateMonoMp3 stands for audio-16khz-32kbitrate-mono-mp3
Audio16Khz32KBitRateMonoMp3 SpeechSynthesisOutputFormat = 4
// Audio16Khz128KBitRateMonoMp3 stands for audio-16khz-128kbitrate-mono-mp3
Audio16Khz128KBitRateMonoMp3 SpeechSynthesisOutputFormat = 5
// Audio16Khz64KBitRateMonoMp3 stands for audio-16khz-64kbitrate-mono-mp3
Audio16Khz64KBitRateMonoMp3 SpeechSynthesisOutputFormat = 6
// Audio24Khz48KBitRateMonoMp3 stands for audio-24khz-48kbitrate-mono-mp3
Audio24Khz48KBitRateMonoMp3 SpeechSynthesisOutputFormat = 7
// Audio24Khz96KBitRateMonoMp3 stands for audio-24khz-96kbitrate-mono-mp3
Audio24Khz96KBitRateMonoMp3 SpeechSynthesisOutputFormat = 8
// Audio24Khz160KBitRateMonoMp3 stands for audio-24khz-160kbitrate-mono-mp3
Audio24Khz160KBitRateMonoMp3 SpeechSynthesisOutputFormat = 9
// Raw16Khz16BitMonoTrueSilk stands for raw-16khz-16bit-mono-truesilk
Raw16Khz16BitMonoTrueSilk SpeechSynthesisOutputFormat = 10
// Riff16Khz16BitMonoPcm stands for riff-16khz-16bit-mono-pcm
Riff16Khz16BitMonoPcm SpeechSynthesisOutputFormat = 11
// Riff8Khz16BitMonoPcm stands for riff-8khz-16bit-mono-pcm
Riff8Khz16BitMonoPcm SpeechSynthesisOutputFormat = 12
// Riff24Khz16BitMonoPcm stands for riff-24khz-16bit-mono-pcm
Riff24Khz16BitMonoPcm SpeechSynthesisOutputFormat = 13
// Riff8Khz8BitMonoMULaw stands for riff-8khz-8bit-mono-mulaw
Riff8Khz8BitMonoMULaw SpeechSynthesisOutputFormat = 14
// Raw16Khz16BitMonoPcm stands for raw-16khz-16bit-mono-pcm
Raw16Khz16BitMonoPcm SpeechSynthesisOutputFormat = 15
// Raw24Khz16BitMonoPcm stands for raw-24khz-16bit-mono-pcm
Raw24Khz16BitMonoPcm SpeechSynthesisOutputFormat = 16
// Raw8Khz16BitMonoPcm stands for raw-8khz-16bit-mono-pcm
Raw8Khz16BitMonoPcm SpeechSynthesisOutputFormat = 17
// Ogg16Khz16BitMonoOpus stands for ogg-16khz-16bit-mono-opus
Ogg16Khz16BitMonoOpus SpeechSynthesisOutputFormat = 18
// Ogg24Khz16BitMonoOpus stands for ogg-24khz-16bit-mono-opus
Ogg24Khz16BitMonoOpus SpeechSynthesisOutputFormat = 19
// Raw48Khz16BitMonoPcm stands for raw-48khz-16bit-mono-pcm
Raw48Khz16BitMonoPcm SpeechSynthesisOutputFormat = 20
// Riff48Khz16BitMonoPcm stands for riff-48khz-16bit-mono-pcm
Riff48Khz16BitMonoPcm SpeechSynthesisOutputFormat = 21
// Audio48Khz96KBitRateMonoMp3 stands for audio-48khz-96kbitrate-mono-mp3
Audio48Khz96KBitRateMonoMp3 SpeechSynthesisOutputFormat = 22
// Audio48Khz192KBitRateMonoMp3 stands for audio-48khz-192kbitrate-mono-mp3
Audio48Khz192KBitRateMonoMp3 SpeechSynthesisOutputFormat = 23
// Ogg48Khz16BitMonoOpus stands for ogg-48khz-16bit-mono-opus
Ogg48Khz16BitMonoOpus SpeechSynthesisOutputFormat = 24
// Webm16Khz16BitMonoOpus stands for webm-16khz-16bit-mono-opus
Webm16Khz16BitMonoOpus SpeechSynthesisOutputFormat = 25
// Webm24Khz16BitMonoOpus stands for webm-24khz-16bit-mono-opus
Webm24Khz16BitMonoOpus SpeechSynthesisOutputFormat = 26
// Raw24Khz16BitMonoTrueSilk stands for raw-24khz-16bit-mono-truesilk
Raw24Khz16BitMonoTrueSilk SpeechSynthesisOutputFormat = 27
// Raw8Khz8BitMonoALaw stands for raw-8khz-8bit-mono-alaw
Raw8Khz8BitMonoALaw SpeechSynthesisOutputFormat = 28
// Riff8Khz8BitMonoALaw stands for riff-8khz-8bit-mono-alaw
Riff8Khz8BitMonoALaw SpeechSynthesisOutputFormat = 29
)