1.1.1 • Published 5 years ago

oddcast-tts-demo v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

oddcast-tts-demo

Helper functions for generating MP3 URLs from text using oddcast.com's text-to-speech demo.

Usage

const { buildUrl, voices } = require('oddcast-tts-demo');

buildUrl('Hello, World.', voices.daniel);

// Produces:
// https://cache-a.oddcast.com/c_fs/3053a357f5d3a85a17182971a84007c9.mp3?engine=4&language=1&voice=5&text=Hello%2C%20World.&useUTF8=1