k-speech

1.0.2 • Public • Published

bower version open issues npm Published on webcomponents.org

<k-speech>

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>

How to install

bower

bower install --save k-speech

npm

npm install k-speech

Properties

Attribute Description Default Value
text for set text 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

Support

Desktop

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 33 (Yes) 49 (49) No support ? 7

Mobile

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

Change log

You can find a list of all changes for each release in the change log.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

Package Sidebar

Install

npm i k-speech

Weekly Downloads

1

Version

1.0.2

License

MIT License

Last publish

Collaborators

  • cahyadyazin