1.0.10 • Published 3 years ago

eyecontrol-text-to-speech v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

eyecontrol-text-to-speech

A text to speech service for node.js / lambdas / nestjs

Motivation

Eyecontrol-text-to-speech is designed to be simple and universal text to speech service that uses microsoft azure.

Quick installation

    npm i eyecontrol-text-to-speech

Usage

Instantiante the logger

In order to use the web-logger, you need to instantiate it with different parameters:

import { getTtsService } from 'eyecontrol-text-to-speech';

let azureApiKey = this.configService.get<string>('AZURE_API_KEY');
this.ttsService = getTtsService({azureApiKey}); 

Usage

After you instantianted the eyecontrol-text-to-speech, you can call its function "synthesize". You need to call this function with 2 parameters: text and voice.

    let audio = await this.ttsService.synthesize(text, voice); 

Installation

Installing npm (node package manager)

  curl https://npmjs.org/install.sh | sh

Installing eyecontrol-web-logger

  [sudo] npm install eyecontrol-text-to-speech

Author: Eyecontrol

Contributors: Ohad

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago