0.4.0 • Published 8 years ago

console-speak v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

console.speak

console.speak('out loud') & console.laugh()

Browser

<script src="//cdn.rawgit.com/pixelass/console-speak/master/dist/index.js"/>

npm

npm i -D console-speak
import consoleSpeak from 'console-speak'
consoleSpeak(window)

Usage

console.speak('Bonjour le monde', {lang: 'fr-FR')

console.speak('Ciao mondo', {lang: 'it-IT'})

console.speak('Hola Mundo', {lang: 'es-ES'})

console.speak('Hallo Welt', {lang: 'de-DE'})

console.speak('Hello World', {rate: .5, pitch: 2})

console.speak('This is hysterical', { voice: 'Hysterical'})

Voices

Lang 'en-US' (default) has some voices to choose from

  • Alex
  • Agnes
  • Albert
  • Bad News
  • Bahh
  • Bells
  • Boing
  • Bruce
  • Bubbles
  • Cellos
  • Deranged
  • Fred
  • Good News
  • Hysterical
  • Junior
  • Kathy
  • Pipe Organ
  • Princess
  • Ralph
  • Samantha
  • Trinoids
  • Vicki
  • Victoria
  • Whisper
  • Zarvox

More fun with laughter

console.laugh() // => 'Hahahahaha', {voice: 'Hysterical'}
console.laugh('LOL') // => 'LOL', {voice: 'Hysterical'}
0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago