https://github.com/voxaai/voxa-polly-renderer
A Voxa plugin for replying with voices from AWS Polly
https://github.com/voxaai/voxa-polly-renderer
alexa nodejs polly voxa
Last synced: 3 months ago
JSON representation
A Voxa plugin for replying with voices from AWS Polly
- Host: GitHub
- URL: https://github.com/voxaai/voxa-polly-renderer
- Owner: VoxaAI
- Created: 2017-06-20T20:08:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T16:28:31.000Z (about 9 years ago)
- Last Synced: 2025-08-20T21:40:45.029Z (11 months ago)
- Topics: alexa, nodejs, polly, voxa
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Voxa Polly Renderer
====================
[](https://travis-ci.org/mediarain/voxa-polly-renderer)
[](https://coveralls.io/github/mediarain/voxa-polly-renderer)
A custom renderer for Voxa that uses AWS Polly text to speech, this allows you to have skills with voices other than the alexa ones
Installation
-------------
Install from [npm](https://www.npmjs.com/package/voxa-polly-renderer)
```bash
npm install --save voxa-polly-renderer
```
Usage
------
```javascript
const Voxa = require('voxa');
const PollyRenderer = require('voxa-polly-renderer').PollyRenderer;
// initialize the skill
const skill = new Voxa({
variables,
views,
RenderClass: PollyRenderer,
renderer: {
bucket: 'YOU_S3_BUCKET',
s3Path: 'THE_PATH_IN_YOUR_S3_BUCKET_TO_STORE_AUDIO',
},
});
// Update your view to specify the voice you want to use
// Eg:
const views = {
LaunchView: {
say: 'Welcome back to Voxa, this view will be read using the Joey voice from Polly ',
voice: 'Joey',
},
};
```