NAME

awspollymp3.pl - script converting textfile named $1

VERSION

version 20260408.1240

DESCRIPTION

The script reads the text file, and converts it to a speech audio file using AWS Polly. You need to setup the correct credentials yourself (in .aws/credentials) and also the correct region and output format in a configuration file (in .aws/config).

NAME

awspolly.pl - convert text to speech

SYNOPSYS

awspolly.pl <input-text-file> <output-audio-file> <region:engine:voice>

ARGUMENTS

<input-text-file>

name of the file containing the text to convert to speech

<output-audio-file>

name of the file (including extension) to write the speech audio to.

<region:engine:voice>

region, engine and voice to use fo the text-to-speech generation. E.g. en-GB:neural:Amy

See the Amazon documentation for avlid regions, engines and voices.

BUGS

No bugs have been reported so far. If you find any, please, send an e-mail to the author containing:

- what you were trying;
- enough data such that I can reproduce your attempt;
- what strange behavior you observed;
- what normal behavior you would have expected.

LINKS

https://aws.amazon.com/polly

AUTHOR

Walter Daems <wdaems@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2025 by Walter Daems.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007

CONTRIBUTOR

Paul Levrie