Class SynthesizeSpeechResponse
This is the response object from the SynthesizeSpeech operation.
public class SynthesizeSpeechResponse : AmazonWebServiceResponse
- Inheritance
-
SynthesizeSpeechResponse
Constructors
SynthesizeSpeechResponse()
public SynthesizeSpeechResponse()
Properties
AudioStream
Gets and sets the property AudioStream.
Stream containing the synthesized speech.
public Stream AudioStream { get; set; }
Property Value
ContentType
Gets and sets the property ContentType.
Specifies the type audio stream. This should reflect the
OutputFormat
parameter in your request.
-
If you request
as themp3
, theOutputFormat
returned is audio/mpeg.ContentType
-
If you request
as theogg_vorbis
, theOutputFormat
returned is audio/ogg.ContentType
-
If you request
as thepcm
, theOutputFormat
returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.ContentType
-
If you request
as thejson
, theOutputFormat
returned is audio/json.ContentType
public string ContentType { get; set; }
Property Value
RequestCharacters
Gets and sets the property RequestCharacters.
Number of characters synthesized.
public int RequestCharacters { get; set; }