a simple component "text to speech".
<k-speech auto-play
text = "Hello, my name is kang, I am a newbie."
volume = "1"
rate = "1"
pitch = "1"></k-speech>
<p>Hello, my name is kang, I am a newbie.</p>
bower install --save k-speech
npm install k-speech
Attribute | Description | Default Value |
---|---|---|
text | for set text, limit 200-300 character. | This is a simple component text to speech |
lang | for set language | english |
volume | for set volume | 1 |
rate | for set rate | 1 |
pitch | for set pitch | 1 |
auto-play | for set auto play | false |
debug-voice-support | to know the language support in browser. When it is set to "true", you can see the results in the inspect element->console. | false |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 33 | (Yes) | 49 (49) | No support | ? | 7 |
Feature | Android | Chrome | Edge | Firefox Mobile (Gecko) | Firefox OS | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | No support | 2.0 | No support | No support | 7.1 |
You can find a list of all changes for each release in the change log.
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -m 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D