0.2.2 • Published 7 years ago

node-speechkit v0.2.2

Weekly downloads
18
License
-
Repository
github
Last release
7 years ago

Text-to-speech with yandex speechkit server-side

Small package that starts an instance of a chromium in headless mode (but with mouth), setup yandex text-to-speech engine and able to recive and play text.

Install

npm install node-speechkit --save

Example

const speechkit = require('node-speechkit')

speechkit({apikey: 'valid_api_key'}).then(async speak => {
  await speak('hello')
  await speak('пока', {
    speaker: 'zahar',
    emotion: 'neutral',
    speed: 1.9,
    lang: 'ru-RU'
  })
})

Configuration

Speechkit can be configurated with params passed to speechkit or to the speak command.

Default parameters are:

{
  emotion: 'good',
  speed: 1,
  lang: 'en-US',
  speaker: 'ermil'
}

Full list of available options is here.

0.2.2

7 years ago

0.2.1

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago