Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matteogabriele/vue-speech

Web SpeechRecognition for Vue (beta) :microphone:
https://github.com/matteogabriele/vue-speech

Last synced: about 2 months ago
JSON representation

Web SpeechRecognition for Vue (beta) :microphone:

Awesome Lists containing this project

README

        

# vue-speech

Interact with the new Web Speech Recognition Api.

> Currently available only in Chrome and Firefox

![alt tag](https://raw.githubusercontent.com/MatteoGabriele/vue-speech/master/example.gif)

### The plugin will obviously have more features, if you have any requests or ideas, drop me an issue :)

## Install

```bash
npm install vue-speech
```

```js
import Vue from 'vue'
import VueSpeech from 'vue-speech'

Vue.use(VueSpeech)
```

## Usage

```html



export default {
}

```

### Change language

```html

```

### Return speech data
```html



export default {
methods: {
onEnd ({ lastSentence, transcription }) {
// `lastSentence` is the last sentence before the pause
// `transcription` is the full array of sentences
}
}
}

```

# Issues and features requests

Please drop an issue, if you find something that doesn't work, or a feature request at [https://github.com/MatteoGabriele/vue-speech/issues](https://github.com/MatteoGabriele/vue-speech/issues)

Follow me on twitter [@matteo\_gabriele](https://twitter.com/matteo_gabriele)