UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
230 lines (229 loc) 7.41 kB
/** * Define speech synthesis audio output formats. * @enum SpeechSynthesisOutputFormat * Updated in version 1.17.0 */ export declare enum SpeechSynthesisOutputFormat { /** * raw-8khz-8bit-mono-mulaw * @member SpeechSynthesisOutputFormat.Raw8Khz8BitMonoMULaw, */ Raw8Khz8BitMonoMULaw = 0, /** * riff-16khz-16kbps-mono-siren * @note Unsupported by the service. Do not use this value. * @member SpeechSynthesisOutputFormat.Riff16Khz16KbpsMonoSiren */ Riff16Khz16KbpsMonoSiren = 1, /** * audio-16khz-16kbps-mono-siren * @note Unsupported by the service. Do not use this value. * @member SpeechSynthesisOutputFormat.Audio16Khz16KbpsMonoSiren */ Audio16Khz16KbpsMonoSiren = 2, /** * audio-16khz-32kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio16Khz32KBitRateMonoMp3 */ Audio16Khz32KBitRateMonoMp3 = 3, /** * audio-16khz-128kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio16Khz128KBitRateMonoMp3 */ Audio16Khz128KBitRateMonoMp3 = 4, /** * audio-16khz-64kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio16Khz64KBitRateMonoMp3 */ Audio16Khz64KBitRateMonoMp3 = 5, /** * audio-24khz-48kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio24Khz48KBitRateMonoMp3 */ Audio24Khz48KBitRateMonoMp3 = 6, /** * audio-24khz-96kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3 */ Audio24Khz96KBitRateMonoMp3 = 7, /** * audio-24khz-160kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio24Khz160KBitRateMonoMp3 */ Audio24Khz160KBitRateMonoMp3 = 8, /** * raw-16khz-16bit-mono-truesilk * @member SpeechSynthesisOutputFormat.Raw16Khz16BitMonoTrueSilk */ Raw16Khz16BitMonoTrueSilk = 9, /** * riff-16khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Riff16Khz16BitMonoPcm */ Riff16Khz16BitMonoPcm = 10, /** * riff-8khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Riff8Khz16BitMonoPcm */ Riff8Khz16BitMonoPcm = 11, /** * riff-24khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm */ Riff24Khz16BitMonoPcm = 12, /** * riff-8khz-8bit-mono-mulaw * @member SpeechSynthesisOutputFormat.Riff8Khz8BitMonoMULaw */ Riff8Khz8BitMonoMULaw = 13, /** * raw-16khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Raw16Khz16BitMonoPcm */ Raw16Khz16BitMonoPcm = 14, /** * raw-24khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Raw24Khz16BitMonoPcm */ Raw24Khz16BitMonoPcm = 15, /** * raw-8khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Raw8Khz16BitMonoPcm */ Raw8Khz16BitMonoPcm = 16, /** * ogg-16khz-16bit-mono-opus * @member SpeechSynthesisOutputFormat.Ogg16Khz16BitMonoOpus */ Ogg16Khz16BitMonoOpus = 17, /** * ogg-24khz-16bit-mono-opus * @member SpeechSynthesisOutputFormat.Ogg24Khz16BitMonoOpus */ Ogg24Khz16BitMonoOpus = 18, /** * raw-48khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Raw48Khz16BitMonoPcm */ Raw48Khz16BitMonoPcm = 19, /** * riff-48khz-16bit-mono-pcm * @member SpeechSynthesisOutputFormat.Riff48Khz16BitMonoPcm */ Riff48Khz16BitMonoPcm = 20, /** * audio-48khz-96kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio48Khz96KBitRateMonoMp3 */ Audio48Khz96KBitRateMonoMp3 = 21, /** * audio-48khz-192kbitrate-mono-mp3 * @member SpeechSynthesisOutputFormat.Audio48Khz192KBitRateMonoMp3 */ Audio48Khz192KBitRateMonoMp3 = 22, /** * ogg-48khz-16bit-mono-opus * Added in version 1.16.0 * @member SpeechSynthesisOutputFormat.Ogg48Khz16BitMonoOpus */ Ogg48Khz16BitMonoOpus = 23, /** * webm-16khz-16bit-mono-opus * Added in version 1.16.0 * @member SpeechSynthesisOutputFormat.Webm16Khz16BitMonoOpus */ Webm16Khz16BitMonoOpus = 24, /** * webm-24khz-16bit-mono-opus * Added in version 1.16.0 * @member SpeechSynthesisOutputFormat.Webm24Khz16BitMonoOpus */ Webm24Khz16BitMonoOpus = 25, /** * raw-24khz-16bit-mono-truesilk * Added in version 1.17.0 * @member SpeechSynthesisOutputFormat.Raw24Khz16BitMonoTrueSilk */ Raw24Khz16BitMonoTrueSilk = 26, /** * raw-8khz-8bit-mono-alaw * Added in version 1.17.0 * @member SpeechSynthesisOutputFormat.Raw8Khz8BitMonoALaw */ Raw8Khz8BitMonoALaw = 27, /** * riff-8khz-8bit-mono-alaw * Added in version 1.17.0 * @member SpeechSynthesisOutputFormat.Riff8Khz8BitMonoALaw */ Riff8Khz8BitMonoALaw = 28, /** * webm-24khz-16bit-24kbps-mono-opus * Audio compressed by OPUS codec in a webm container, with bitrate of 24kbps, optimized for IoT scenario. * Added in version 1.19.0 * @member SpeechSynthesisOutputFormat.Webm24Khz16Bit24KbpsMonoOpus */ Webm24Khz16Bit24KbpsMonoOpus = 29, /** * audio-16khz-16bit-32kbps-mono-opus * Audio compressed by OPUS codec without container, with bitrate of 32kbps. * Added in version 1.20.0 * @member SpeechSynthesisOutputFormat.Audio16Khz16Bit32KbpsMonoOpus */ Audio16Khz16Bit32KbpsMonoOpus = 30, /** * audio-24khz-16bit-48kbps-mono-opus * Audio compressed by OPUS codec without container, with bitrate of 48kbps. * Added in version 1.20.0 * @member SpeechSynthesisOutputFormat.Audio24Khz16Bit48KbpsMonoOpus */ Audio24Khz16Bit48KbpsMonoOpus = 31, /** * audio-24khz-16bit-24kbps-mono-opus * Audio compressed by OPUS codec without container, with bitrate of 24kbps. * Added in version 1.20.0 * @member SpeechSynthesisOutputFormat.Audio24Khz16Bit24KbpsMonoOpus */ Audio24Khz16Bit24KbpsMonoOpus = 32, /** * raw-22050hz-16bit-mono-pcm * Raw PCM audio at 22050Hz sampling rate and 16-bit depth. * Added in version 1.22.0 * @member SpeechSynthesisOutputFormat.Raw22050Hz16BitMonoPcm */ Raw22050Hz16BitMonoPcm = 33, /** * riff-22050hz-16bit-mono-pcm * PCM audio at 22050Hz sampling rate and 16-bit depth, with RIFF header. * Added in version 1.22.0 * @member SpeechSynthesisOutputFormat.Riff22050Hz16BitMonoPcm */ Riff22050Hz16BitMonoPcm = 34, /** * raw-44100hz-16bit-mono-pcm * Raw PCM audio at 44100Hz sampling rate and 16-bit depth. * Added in version 1.22.0 * @member SpeechSynthesisOutputFormat.Raw44100Hz16BitMonoPcm */ Raw44100Hz16BitMonoPcm = 35, /** * riff-44100hz-16bit-mono-pcm * PCM audio at 44100Hz sampling rate and 16-bit depth, with RIFF header. * Added in version 1.22.0 * @member SpeechSynthesisOutputFormat.Riff44100Hz16BitMonoPcm */ Riff44100Hz16BitMonoPcm = 36, /** * amr-wb-16000hz * AMR-WB audio at 16kHz sampling rate. * Added in version 1.38.0 * @member SpeechSynthesisOutputFormat.AmrWb16000Hz */ AmrWb16000Hz = 37, /** * g722-16khz-64kbps * G.722 audio at 16kHz sampling rate and 64kbps bitrate. * Added in version 1.38.0 */ G72216Khz64Kbps = 38 }