Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-speech-to-text

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-speech-to-text

A web speech to text addon

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Ember-speech-to-text

Speech to text addon for Ember.js using google's webkitspeechrecognition api.

Build Status

DEMO

Installation

ember install ember-speech-to-text

Usage

This addon will only work on chrome browsers!

To init the component:

Example: {{speech-to-text language='es' getResult='getResult'}}

Properties

  • language (default is english): Value must be the language's abbreviation.
  • continuous: Boolean value.
  • interimResults: Boolean value.
  • maxAlternatives: Integer value.
  • buttonTitle: Button's text.
  • buttonClass: Button's styling class.

Events

  • onRecognitionEnd: Triggers when the speech recognition ends.

  • onRecognitionError: Triggers when the speech recognition errors.

  • onRecognitionResult: Triggers when the speech recognition gets a result. Do not alter this function unless you know what you are doing. If you want to do something with the result, declare an action called getResult and assign it to the component.

    • Example:

    app/controllers/example.js:

    actions: {
      getResult(result) {
        //Do something with result.
    }
    

    app/templates/example.hbs:

    {{speech-to-text getResult='getResult'}}
    

Contributions

Please make all Pull Requests to the dev branch. All contributions are welcomed.


For more info about the webkitspeechrecognition api, please visit Web Speech Api Specification

Keywords

FAQs

Package last updated on 18 Jan 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc