TsgcTextToSpeechAmazon
Text-To-Speech is an API provided by Amazon AWS which allows you to convert text to mp3 files, requires the use of an Amazon AWS account and setup the Polly API.
Properties
- AmazonOptions
- AWSOptions: here configure the Amazon AWS account settings:
- AccessKey
- SecretKey
- Region (by default us-east-1)
- FileName: the full path of the file where the audio will be stored when received from Amazon Servers.
- OutputFormat: the audio encoding format (by default mp3).
- TextType: by default text.
- Engine: by default neural.
- VoiceId: the name of the voice (example: Joanna).
- AudioPlayer: set here a TsgcAudioPlayer component which will play the audio file received from the Amazon Servers.