the-speech

1.0.4 • Public • Published

the-speech

Build Status npm Version JS Standard

Speech <-> Text

Installation

$ npm install the-speech --save

Usage

'use strict'
 
const {TheSpeech} = require('the-speech')
 
async function tryExample () {
  const speech = new TheSpeech('secrets/google.secrets.json') // Secrets of google cloud api
 
  // Recognize text from voice audio file
  {
    const results = await speech.recognizeFromFile('var/records/voice01.wav')
    console.log(results)
  }
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

/the-speech/

    Package Sidebar

    Install

    npm i the-speech

    Weekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    242 kB

    Total Files

    37

    Last publish

    Collaborators

    • okunishinishi