Skip to content

Instantly share code, notes, and snippets.

View arnaudmolo's full-sized avatar

Arnaud Pichon arnaudmolo

View GitHub Profile
/**
* Chunkify
* Google Chrome Speech Synthesis Chunking Pattern
* Fixes inconsistencies with speaking long texts in speechUtterance objects
* Licensed under the MIT License
*
* Peter Woolley and Brett Zamir
*/
var speechUtteranceChunker = function (utt, settings, callback) {