https://github.com/fentas/speech-synthesis
This custom element (made with polymer) enables you to use easily the Web Speech API for speech synthesis (text to speech).
https://github.com/fentas/speech-synthesis
Last synced: 2 months ago
JSON representation
This custom element (made with polymer) enables you to use easily the Web Speech API for speech synthesis (text to speech).
- Host: GitHub
- URL: https://github.com/fentas/speech-synthesis
- Owner: fentas
- License: agpl-3.0
- Created: 2014-07-22T09:55:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-29T17:05:50.000Z (almost 11 years ago)
- Last Synced: 2023-08-17T07:11:45.522Z (almost 2 years ago)
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
speech-synthesis
================
This [custom element](http://www.html5rocks.com/en/tutorials/webcomponents/customelements/) (made with [polymer](http://www.polymer-project.org/)) enables you to use easily
the [Web Speech API](https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html) for speech synthesis (text to speech).## Installation
Simply use [bower](https://www.npmjs.org/package/bower) for that.Execute following in your project root.
```shell
bower install mui-is/speech-synthesis
```## Usage
More detailed information will follow. (Bare with me)One example:
```html```
#### Events
* onstart
* onend
* onerror
* onpause
* onresume
* onmark
* onboundary#### Attributes
* voice
* voiceURI
* volume
* rate
* pitch
* lang
* text
* autoSpeak#### Current status
E.g. `speaking` tells you if it's currently `speaking` but also you can set `speaking = true` it will start reading.
* pending
* speaking
* paused#### Methods
* speak()
* pause()
* resume()
* cancel()
* getVoices()## Current browser support
http://caniuse.com/#search=speechSynthesis## For more information
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
http://updates.html5rocks.com/2014/01/Web-apps-that-talk---Introduction-to-the-Speech-Synthesis-APIhttp://www.polymer-project.org/
## Donations
Please help me to finance my every cup of tea. Every coin is appreciated.```
Sick of tea? That’s like being sick of *breathing*! - Uncle Iroh
```[`197EypPopXtDPFK6rEbCw6XDEaxjTKP58S` -- bitcoin](http://en.wikipedia.org/wiki/Bitcoin)
[`[email protected]` -- paypal](https://www.paypal.com/us/webapps/mpp/home)
[Or just `flattr` me.](https://flattr.com/submit/auto?user_id=jguth&url=https://github.com/fentas)