Home | History | Annotate | Download | only in console_tts_engine

Lines Matching refs:utterance

40 function logUtterance(utterance, index, sendTtsEvent) {
41 if (index == utterance.length) {
42 sendTtsEvent({'type': 'end', 'charIndex': utterance.length});
46 appendText(utterance[index]);
48 if (utterance[index] == ' ') {
51 else if (utterance[index] == '.' ||
52 utterance[index] == '?' ||
53 utterance[index] == '!') {
58 logUtterance(utterance, ++index, sendTtsEvent)
62 var speakListener = function(utterance, options, sendTtsEvent) {
86 logUtterance(utterance, 0, sendTtsEvent);
98 logUtterance(utterance, 0, sendTtsEvent);