You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Polly::Types::SynthesizeSpeechOutput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::SynthesizeSpeechOutput
- Defined in:
- (unknown)
Overview
Returned by:
Instance Attribute Summary collapse
-
#audio_stream ⇒ IO
Stream containing the synthesized speech.
-
#content_type ⇒ String
Specifies the type audio stream.
-
#request_characters ⇒ Integer
Number of characters synthesized.
Instance Attribute Details
#audio_stream ⇒ IO
Stream containing the synthesized speech.
#content_type ⇒ String
Specifies the type audio stream. This should reflect the OutputFormat
parameter in your request.
If you request
mp3
as theOutputFormat
, theContentType
returned is audio/mpeg.If you request
ogg_vorbis
as theOutputFormat
, theContentType
returned is audio/ogg.If you request
pcm
as theOutputFormat
, theContentType
returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.If you request
json
as theOutputFormat
, theContentType
returned is audio/json.
#request_characters ⇒ Integer
Number of characters synthesized.