https://github.com/damiancipolat/node-polly
Some examples using AWS Text to speech Polly services with node.js
https://github.com/damiancipolat/node-polly
aws nodejs polly tts
Last synced: 14 days ago
JSON representation
Some examples using AWS Text to speech Polly services with node.js
- Host: GitHub
- URL: https://github.com/damiancipolat/node-polly
- Owner: damiancipolat
- Created: 2019-01-22T00:34:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T05:49:35.000Z (almost 7 years ago)
- Last Synced: 2025-05-20T01:13:33.951Z (8 months ago)
- Topics: aws, nodejs, polly, tts
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nodejs Polly AWS
## Install:
The only requirement of this application is the Node Package Manager. All other
dependencies (including the AWS SDK for Node.js) can be installed with:
npm install
## Configuration:
Go to the folder /config/default.json to change the configuration file.
```js
{
"region":"us-east-1",
"tts":{
"voice":"Emma"
},
"output":{
"s3":{
"bucket":"cipolat-bucket"
},
"local":{
"path":"./mp3"
}
}
}
```
## Examples:
**text to .MP3**: Convert a single text into an audio mp3 file.
```js
node text_to_mp3.js
```
**text_to_s3**: Convert a single text, get the audio stream and upload it into a s3 bucket.
```js
node text_to_s3.js
```
**ssml_to_mp3**: Convert the voice of the tts of a text that uses SSML.
```js
node ssml_to_mp3.js
```