simple usage
See the Pen
examples - simple usage by snowsunny (@snowsunny)
CodePen.
with utterance options
you can check more options ↓ site.
SpeechSynthesisUtterance - Web APIs | MDN
See the Pen
examples - with utterance options by snowsunny (@snowsunny)
CodePen.
with global utterance options
you can set global utterance options. options priority is "line's utterance" > "global utterance" > "roudokuka's default" > "browser's default".
See the Pen
examples - with global utterance options by snowsunny (@snowsunny)
CodePen.
custom options with onend event
check with your browser console. roudokuka is return "speechSynthesisEvent" and "end line info" to callback of onend event.
See the Pen
examples - custom options with onend event by snowsunny (@snowsunny)
CodePen.
loop with onLibrettoEnd event
See the Pen
examples - loop with onLibrettoEnd event by snowsunny (@snowsunny)
CodePen.
reader will stupid when reader count multiples of 3 or say 3
See the Pen
examples - reader will stupid when reader count multiples of 3 or say 3 by snowsunny (@snowsunny)
CodePen.