How to try examples Examples will play sound
Click "Start" button of embedded CodePen.
You must load roudokuka somehow. if it's done, roudokuka is ready to use!!
Add ↓ tag to somewhere.
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/roudokuka/docs/roudokuka.min.js"></script>
roudokuka is published on npm. https://www.npmjs.com/package/roudokuka
install with npm or yarn or something, and add line like this ↓ to somewhere.
import Roudokuka from 'roudokuka'
See the Pen
you can check more options ↓ site.
SpeechSynthesisUtterance - Web APIs | MDN
See the Pen
you can set global utterance options. options priority is "line's utterance" > "global utterance" > "roudokuka's default" > "browser's default".
See the Pen
check with your browser console. roudokuka is return "speechSynthesisEvent" and "end line info" to callback of onend event.
See the Pen
See the Pen
See the Pen