OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "tts", | 7 "namespace": "tts", |
8 "description": "Use the <code>chrome.tts</code> module to play synthesized t ext-to-speech (TTS).", | |
9 "availability": "14", | |
cduvall
2013/03/21 18:43:53
Why are some of these "Google Chrome X", and some
epeterson
2013/03/25 19:35:11
Should be Google Chrome 14
epeterson
2013/03/25 19:35:11
Done.
| |
8 "types": [ | 10 "types": [ |
9 { | 11 { |
10 "id": "TtsEvent", | 12 "id": "TtsEvent", |
11 "type": "object", | 13 "type": "object", |
12 "description": "An event from the TTS engine to communicate the status o f an utterance.", | 14 "description": "An event from the TTS engine to communicate the status o f an utterance.", |
13 "properties": { | 15 "properties": { |
14 "type": { | 16 "type": { |
15 "type": "string", | 17 "type": "string", |
16 "enum": ["start", "end", "word", "sentence", "marker", "interrupted" , "cancelled", "error"], | 18 "enum": ["start", "end", "word", "sentence", "marker", "interrupted" , "cancelled", "error"], |
17 "description": "The type can be 'start' as soon as speech has starte d, 'word' when a word boundary is reached, 'sentence' when a sentence boundary i s reached, 'marker' when an SSML mark element is reached, 'end' when the end of the utterance is reached, 'interrupted' when the utterance is stopped or interru pted before reaching the end, 'cancelled' when it's removed from the queue befor e ever being synthesized, or 'error' when any other error occurs." | 19 "description": "The type can be 'start' as soon as speech has starte d, 'word' when a word boundary is reached, 'sentence' when a sentence boundary i s reached, 'marker' when an SSML mark element is reached, 'end' when the end of the utterance is reached, 'interrupted' when the utterance is stopped or interru pted before reaching the end, 'cancelled' when it's removed from the queue befor e ever being synthesized, or 'error' when any other error occurs." |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
230 "name": "event", | 232 "name": "event", |
231 "$ref": "TtsEvent", | 233 "$ref": "TtsEvent", |
232 "description": "The event from the text-to-speech engine indicating the status of this utterance." | 234 "description": "The event from the text-to-speech engine indicating the status of this utterance." |
233 } | 235 } |
234 ], | 236 ], |
235 "description": "Used to pass events back to the function calling speak() ." | 237 "description": "Used to pass events back to the function calling speak() ." |
236 } | 238 } |
237 ] | 239 ] |
238 } | 240 } |
239 ] | 241 ] |
OLD | NEW |