![]() ![]() You must specify a sampling rate for the audio/alaw, audio/l16, and audio/mulaw formats. Where indicated, you can optionally specify the sampling rate ( rate) of the audio.The service can return audio in the following formats (MIME types). The service returns the synthesized audio stream as an array of bytes. The 5 KB limit includes any SSML tags that you specify. The method accepts a maximum of 5 KB of input text in the body of the request, and 8 KB for the URL and headers. Use a voice that matches the language of the input text. 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. If you omit the voice parameter, the service uses the US English en-US_MichaelV3Voice by default.įor 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 request succeeds despite the warnings. reason) įinalAudio = new Blob(audioParts. The service currently accepts a single message per WebSocket connection. 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.Īllowable values: 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |