samusgray / say-again

Forked from say.js to include playback speed control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing say-again

npm install say-again

Usage

var say = require('say-again');

// no callback, fire and forget
say.speak('Alex', 'whats up, dog?');

// use default voice in System Preferences
say.speak(null, 'Hello!');

// no callback, fire and forget
say.speak('Cellos', 'whats up, dog?');

// output some text to the console as the callback
say.speak('Good News', 'whats up, dog?', function () {
     console.log('text to speech complete');
});


// try using translate.js with say.js
var translate = require('translate');

translate.text('Yo quero tacos por favor', function(result){
     say.speak('Alex', result);
});

Voices

girls

  • Agnes
  • Kathy
  • Princess
  • Vicki
  • Victoria

guys

  • Albert
  • Alex
  • Bruce
  • Fred
  • Junior
  • Ralph

others

  • Bad News
  • Bahh
  • Bells
  • Boing
  • Bubbles
  • Cellos
  • Deranged
  • Good News
  • Hysterical
  • Pipe Organ
  • Trinoids
  • Whisper
  • Zarvox

Requirements

Mac OS

About

Forked from say.js to include playback speed control.

License:MIT License


Languages

Language:JavaScript 100.0%