| OLD | NEW |
| 1 <p id="classSummary"> | 1 <p id="classSummary"> |
| 2 Use the <code>chrome.tts</code> module to play synthesized | 2 Use the <code>chrome.tts</code> module to play synthesized |
| 3 text-to-speech (TTS) from your extension or packaged app. | 3 text-to-speech (TTS) from your extension or packaged app. |
| 4 See also the related | 4 See also the related |
| 5 <a href="ttsEngine.html">ttsEngine</a> | 5 <a href="ttsEngine.html">ttsEngine</a> |
| 6 module, which allows an extension to implement a speech engine. | 6 module, which allows an extension to implement a speech engine. |
| 7 </p> | 7 </p> |
| 8 | 8 |
| 9 | 9 |
| 10 <h2 id="overview">Overview</h2> | 10 <h2 id="overview">Overview</h2> |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 <pre>chrome.tts.getVoices( | 176 <pre>chrome.tts.getVoices( |
| 177 function(voices) { | 177 function(voices) { |
| 178 for (var i = 0; i < voices.length; i++) { | 178 for (var i = 0; i < voices.length; i++) { |
| 179 console.log('Voice ' + i + ':'); | 179 console.log('Voice ' + i + ':'); |
| 180 console.log(' name: ' + voices[i].voiceName); | 180 console.log(' name: ' + voices[i].voiceName); |
| 181 console.log(' lang: ' + voices[i].lang); | 181 console.log(' lang: ' + voices[i].lang); |
| 182 console.log(' gender: ' + voices[i].gender); | 182 console.log(' gender: ' + voices[i].gender); |
| 183 console.log(' extension id: ' + voices[i].extensionId); | 183 console.log(' extension id: ' + voices[i].extensionId); |
| 184 console.log(' event types: ' + voices[i].eventTypes); | 184 console.log(' event types: ' + voices[i].eventTypes); |
| 185 } | 185 } |
| 186 });</pre> | 186 });</pre> |
| OLD | NEW |