Home | History | Annotate | Download | only in network_speech_synthesis

Lines Matching refs:utterance

50    * The arguments passed to the onSpeak event handler for the utterance
54 * @type {?{utterance: string, options: Object, callback: Function}}
108 * url for the requested speech utterance. Sets that url as the source
110 * @param {string} utterance The text to be spoken.
115 onSpeak_: function(utterance, options, callback) {
116 // Truncate the utterance if it's too long. Both Chrome's tts
118 // maximum limit for an utterance.
119 if (utterance.length > 32768)
120 utterance = utterance.substr(0, 32768);
127 utterance: utterance,
152 url += '&text=' + encodeURIComponent(utterance);
203 'charIndex': this.currentUtterance_.utterance.length
232 * Pauses audio if we're in the middle of an utterance.
243 * Resumes audio if we're in the middle of an utterance.