kripken / speak.js

Text-to-Speech in JavaScript using eSpeak
GNU General Public License v3.0
1.29k stars 295 forks source link

word boundary? #72

Open clarodanesh opened 3 years ago

clarodanesh commented 3 years ago

Is there a way of calculating word boundary data? the speech synthesis api has the onboundary event which is not being triggered in Chrome Android and for Google voices in Chrome Desktop see: chromium bug. It would be helpful to be able to know when a word boundary has been reached and for an event to trigger on hitting the boundary.