你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SpeechSynthesisOutputFormat Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.cognitiveservices.speech.SpeechSynthesisOutputFormat

public enum SpeechSynthesisOutputFormat
extends java.lang.Enum<SpeechSynthesisOutputFormat>

Defines the possible speech synthesis output audio format. Updated in version 1.19.0

Fields

AmrWb16000Hz

amr-wb-16000hz AMR-WB audio at 16kHz sampling rate.

Audio16Khz128KBitRateMonoMp3

audio-16khz-128kbitrate-mono-mp3

Audio16Khz16Bit32KbpsMonoOpus

audio-16khz-16bit-32kbps-mono-opus Audio compressed by OPUS codec without container, with bitrate of 32kbps.

Audio16Khz16KbpsMonoSiren

audio-16khz-16kbps-mono-siren Unsupported by the service.

Audio16Khz32KBitRateMonoMp3

audio-16khz-32kbitrate-mono-mp3

Audio16Khz64KBitRateMonoMp3

audio-16khz-64kbitrate-mono-mp3

Audio24Khz160KBitRateMonoMp3

audio-24khz-160kbitrate-mono-mp3

Audio24Khz16Bit24KbpsMonoOpus

audio-24khz-16bit-24kbps-mono-opus Audio compressed by OPUS codec without container, with bitrate of 24kbps.

Audio24Khz16Bit48KbpsMonoOpus

audio-24khz-16bit-48kbps-mono-opus Audio compressed by OPUS codec without container, with bitrate of 48kbps.

Audio24Khz48KBitRateMonoMp3

audio-24khz-48kbitrate-mono-mp3

Audio24Khz96KBitRateMonoMp3

audio-24khz-96kbitrate-mono-mp3

Audio48Khz192KBitRateMonoMp3

audio-48khz-192kbitrate-mono-mp3

Audio48Khz96KBitRateMonoMp3

audio-48khz-96kbitrate-mono-mp3

G72216Khz64Kbps

g722-16khz-64kbps G.722 audio at 16kHz sampling rate and 64kbps bitrate.

Ogg16Khz16BitMonoOpus

ogg-16khz-16bit-mono-opus

Ogg24Khz16BitMonoOpus

ogg-24khz-16bit-mono-opus

Ogg48Khz16BitMonoOpus

ogg-48khz-16bit-mono-opus Added in version 1.16.0

Raw16Khz16BitMonoPcm

raw-16khz-16bit-mono-pcm

Raw16Khz16BitMonoTrueSilk

raw-16khz-16bit-mono-truesilk

Raw22050Hz16BitMonoPcm

raw-22050hz-16bit-mono-pcm Raw PCM audio at 22050Hz sampling rate and 16-bit depth.

Raw24Khz16BitMonoPcm

raw-24khz-16bit-mono-pcm

Raw24Khz16BitMonoTrueSilk

raw-24khz-16bit-mono-truesilk Added in version 1.17.0

Raw44100Hz16BitMonoPcm

raw-44100hz-16bit-mono-pcm Raw PCM audio at 44100Hz sampling rate and 16-bit depth.

Raw48Khz16BitMonoPcm

raw-48khz-16bit-mono-pcm

Raw8Khz16BitMonoPcm

raw-8khz-16bit-mono-pcm

Raw8Khz8BitMonoALaw

raw-8khz-8bit-mono-alaw Added in version 1.17.0

Raw8Khz8BitMonoMULaw

raw-8khz-8bit-mono-mulaw

Riff16Khz16BitMonoPcm

riff-16khz-16bit-mono-pcm

Riff16Khz16KbpsMonoSiren

riff-16khz-16kbps-mono-siren Unsupported by the service.

Riff22050Hz16BitMonoPcm

riff-22050hz-16bit-mono-pcm PCM audio at 22050Hz sampling rate and 16-bit depth, with RIFF header.

Riff24Khz16BitMonoPcm

riff-24khz-16bit-mono-pcm

Riff44100Hz16BitMonoPcm

riff-44100hz-16bit-mono-pcm PCM audio at 44100Hz sampling rate and 16-bit depth, with RIFF header.

Riff48Khz16BitMonoPcm

riff-48khz-16bit-mono-pcm

Riff8Khz16BitMonoPcm

riff-8khz-16bit-mono-pcm

Riff8Khz8BitMonoALaw

riff-8khz-8bit-mono-alaw Added in version 1.17.0

Riff8Khz8BitMonoMULaw

riff-8khz-8bit-mono-mulaw

Webm16Khz16BitMonoOpus

webm-16khz-16bit-mono-opus Added in version 1.16.0

Webm24Khz16Bit24KbpsMonoOpus

webm-24khz-16bit-24kbps-mono-opus Audio compressed by OPUS codec in a WebM container, with bitrate of 24kbps, optimized for IoT scenario.

Webm24Khz16BitMonoOpus

webm-24khz-16bit-mono-opus Added in version 1.16.0

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

getValue()

public int getValue()

Returns the internal value format id

Returns

int
the speech synthesis output format id

valueOf(String name)

public static SpeechSynthesisOutputFormat valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static SpeechSynthesisOutputFormat[] values()

Returns

Applies to