infobot-tinkoff-stt

1.1.0 • Public • Published

infobot-tinkoff-stt

Node.JS library for Tinkoff VoiceKit service. Library can work in stream mode or recognize stored audio file.

Based on examples for Node.JS from https://github.com/TinkoffCreditSystems/voicekit-examples/tree/master/nodejs

To work with this library you need to obtain from Tinkoff VoiceKit support:

  • API key
  • Secret key

Audio file recognition example:

const STT = require('infobot-tinkoff-stt');

const api_key = API_KEY ;
const secret_key = SECRET_KEY;

const stt = new STT(api_key, secret_key);
stt.recognizeFile('test.wav', {
    encoding: STT.FORMAT_LINEAR_16,
    sample_rate_hertz: 16000}).then(res => {
    console.log(JSON.stringify(res));
});

Provided by INFOBOT LLC. under ISC license.

Dependents (0)

Package Sidebar

Install

npm i infobot-tinkoff-stt

Weekly Downloads

2

Version

1.1.0

License

ISC

Unpacked Size

18.1 kB

Total Files

6

Last publish

Collaborators

  • infobot