text2speech

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 33 Imported by: 0

README

text2speech

text2speech Go Report Card Go Reference

Convert text to speech using AWS Polly.

Dependencies

This depends on oto which has some prerequisites.

Examples

Pipe text:
echo "The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom." | ./text2speech -bucket your-s3-bucket
File Input

./text2speech -bucket your-s3-bucket -input text

MP3 output:

./text2speech -bucket your-s3-bucket -input text -output audio.mp3 # this will only write the file, it will not play it

Displaying a dashboard to monitor progress

./text2speech -bucket your-s3-bucket -input text -dashboard

Print help:

./text2speech -h

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL