Skip to content
ChatiePublic

About

Speech to Text for Node.js

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

stt

Speech to Text for Node.js

Currently support Chinese only. Will add more language(en/etc) and more engine(now stt use baidu api) recently.

Quick Start

JavaScript

const stt = require('stt')

const speechStream = createReadStream('./test/fixture/测试.mp3')

stt(speechStream).then(text => {
  console.log('STT: ' + text)
})

TypeScript

import { stt } from 'stt'

const speechStream = createReadStream('./test/fixture/测试.mp3')

const text = await stt(speechStream)

console.log('STT: ' + text)

Requirement

Ffmpeg is required for converting the speech stream format.

Todo

Copyright

2016© Huan LI https://git.io/zixia

MIT LICENSE

About

Speech to Text for Node.js

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages