oddcast-tts-demo
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i oddcast-tts-demo

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

30.1 kB

Total Files

10

Last publish

Collaborators

  • rauli