You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

infobot-sber-tts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

infobot-sber-tts

Node.JS library for Sber SmartSpeech Text-To-Speech

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

infobot-sber-tts

Node.JS library for Sber SmartSpeech service. Library can synchronously synthesize speech from text.

To work with this library you need to obtain from Sber SmartSpeech:

  • Client ID
  • Client Secret

Please check this page for information about credentials.

Audio file synthesize example:

var SberTTS = require('infobot-sber-tts');
var fs = require('fs');

var clientID = '*';
var clientSecret = '*';

var tts = new SberTTS(clientID, clientSecret);
tts.generateAudio('Привет, мир!', {
    format: 'opus',
    voice: 'Nec_24000'
}).then(res => {
    fs.writeFileSync('test.opus', res);
}).catch(err => console.log(err));

Provided by INFOBOT LLC. under Apache 2.0 license.

Keywords

sber

FAQs

Package last updated on 27 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts