Class: Aws::Polly::Types::SynthesizeSpeechOutput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::SynthesizeSpeechOutput
- Defined in:
- gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
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.
1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1135 class SynthesizeSpeechOutput < Struct.new( :audio_stream, :content_type, :request_characters) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
Specifies the type audio stream. This should reflect the
OutputFormat parameter in your request.
If you request
mp3as theOutputFormat, theContentTypereturned is audio/mpeg.If you request
ogg_vorbisas theOutputFormat, theContentTypereturned is audio/ogg.If you request
ogg_opusas theOutputFormat, theContentTypereturned is audio/ogg.If you request
pcmas theOutputFormat, theContentTypereturned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.If you request
mu-lawas theOutputFormat, theContentTypereturned is audio/mulaw.If you request
a-lawas theOutputFormat, theContentTypereturned is audio/alaw.If you request
jsonas theOutputFormat, theContentTypereturned is application/x-json-stream.
1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1135 class SynthesizeSpeechOutput < Struct.new( :audio_stream, :content_type, :request_characters) SENSITIVE = [] include Aws::Structure end |
#request_characters ⇒ Integer
Number of characters synthesized.
1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1135 class SynthesizeSpeechOutput < Struct.new( :audio_stream, :content_type, :request_characters) SENSITIVE = [] include Aws::Structure end |