


The service bases its understanding of the language for the input text on the specified voice. Synthesizes text to audio that is spoken in the specified voice. The voice for which information is to be returned. reason) įinalAudio = new Blob(audioParts, ) Ĭonsole. The service currently accepts a single message per WebSocket connection. For more information, see the 31 March 2022 service update in the release notes for Text to Speech for IBM Cloud.Īllowable values: All expressive and enhanced neural voices remain available to all users. The neural voices are supported only for IBM Cloud they are not available for IBM Cloud Pak for Data. The deprecated voices remain available to existing users until 31 March 2023, when they will be removed from the service and the documentation. Important: Effective 31 March 2022, all neural voices are deprecated. For Text to Speech for IBM Cloud Pak for Data, if you do not install the en-US_MichaelV3Voice, you must either specify a voice with the request or specify a new default voice for your installation of the service. The default voice is en-US_MichaelV3Voice. */* - Specifies the default audio format: audio/ogg codecs=opus.audio/webm codecs=vorbis - You can optionally specify the rate of the audio.audio/webm codecs=opus - The service returns audio with a sampling rate of 48,000 Hz.The service returns audio with a sampling rate of 48,000 Hz. audio/webm - The service returns the audio in the opus codec.audio/wav - You can optionally specify the rate of the audio.audio/ogg codecs=vorbis - You can optionally specify the rate of the audio.If you specify a different value, the service returns an error. audio/ogg codecs=opus - You can optionally specify the rate of the audio.You can optionally specify the rate of the audio. audio/ogg - The service returns the audio in the vorbis codec.audio/mulaw - You must specify the rate of the audio.audio/mpeg - You can optionally specify the rate of the audio.audio/mp3 - You can optionally specify the rate of the audio.You can optionally specify the endianness of the audio. audio/l16 - You must specify the rate of the audio.audio/flac - You can optionally specify the rate of the audio.audio/basic - The service returns audio with a sampling rate of 8000 Hz.audio/alaw - You must specify the rate of the audio.
