Convert text to speech and back to text using an Amazon SDK - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Convert text to speech and back to text using an Amazon SDK

The following code example shows how to:

  • Use Amazon Polly to synthesize a plain text (UTF-8) input file to an audio file.

  • Upload the audio file to an Amazon S3 bucket.

  • Use Amazon Transcribe to convert the audio file to text.

  • Display the text.

Rust
SDK for Rust

Use Amazon Polly to synthesize a plain text (UTF-8) input file to an audio file, upload the audio file to an Amazon S3 bucket, use Amazon Transcribe to convert that audio file to text, and display the text.

For complete source code and instructions on how to set up and run, see the full example on GitHub.

Services used in this example
  • Amazon Polly

  • Amazon S3

  • Amazon Transcribe

For a complete list of Amazon SDK developer guides and code examples, see Using this service with an Amazon SDK. This topic also includes information about getting started and details about previous SDK versions.