| OLD | NEW |
| 1 <table class="intro"> | 1 <table class="intro"> |
| 2 <tr> | 2 <tr> |
| 3 <th scope="col"></th> | 3 <th scope="col"></th> |
| 4 <th scope="col"></th> | 4 <th scope="col"></th> |
| 5 </tr> | 5 </tr> |
| 6 <tr> | 6 <tr> |
| 7 <td><strong>Description:</strong></td> | |
| 8 <td>Use the <code>chrome.tts</code> module to play synthesized | |
| 9 text-to-speech (TTS). | |
| 10 See also the related | |
| 11 <a href="http://developer.chrome.com/extensions/ttsEngine.html">ttsEngine</a
> | |
| 12 module, which allows an extension to implement a speech engine.</td> | |
| 13 </tr> | |
| 14 <tr> | |
| 15 <td><strong>Availability:</strong></td> | |
| 16 <td>Google Chrome 14</td> | |
| 17 </tr> | |
| 18 <tr> | |
| 19 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
| 20 <td><code>"tts"</code></td> | 8 <td><code>"tts"</code></td> |
| 21 </tr> | 9 </tr> |
| 22 <tr> | 10 <tr> |
| 23 <td><strong>Learn more:</strong></td> | 11 <td><strong>Learn more:</strong></td> |
| 24 <td><a href="https://developers.google.com/live/shows/7320022-7001/">Chrome
Office Hours: Text to Speech API</a></td> | 12 <td><a href="https://developers.google.com/live/shows/7320022-7001/">Chrome
Office Hours: Text to Speech API</a></td> |
| 25 </tr> | 13 </tr> |
| 26 </table> | 14 </table> |
| 27 | 15 |
| 28 <p id="classSummary"> | 16 <p id="classSummary"> |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 function(voices) { | 184 function(voices) { |
| 197 for (var i = 0; i < voices.length; i++) { | 185 for (var i = 0; i < voices.length; i++) { |
| 198 console.log('Voice ' + i + ':'); | 186 console.log('Voice ' + i + ':'); |
| 199 console.log(' name: ' + voices[i].voiceName); | 187 console.log(' name: ' + voices[i].voiceName); |
| 200 console.log(' lang: ' + voices[i].lang); | 188 console.log(' lang: ' + voices[i].lang); |
| 201 console.log(' gender: ' + voices[i].gender); | 189 console.log(' gender: ' + voices[i].gender); |
| 202 console.log(' extension id: ' + voices[i].extensionId); | 190 console.log(' extension id: ' + voices[i].extensionId); |
| 203 console.log(' event types: ' + voices[i].eventTypes); | 191 console.log(' event types: ' + voices[i].eventTypes); |
| 204 } | 192 } |
| 205 });</pre> | 193 });</pre> |
| OLD | NEW |