From 83052c04e164680058b7e1474ad6b5ac154df496 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 20 Aug 2024 15:50:54 +0200 Subject: [PATCH 01/21] add files --- features/{draft/spec => }/speech-api.yml | 1 - features/{draft/spec => }/speech-api.yml.dist | 0 2 files changed, 1 deletion(-) rename features/{draft/spec => }/speech-api.yml (99%) rename features/{draft/spec => }/speech-api.yml.dist (100%) diff --git a/features/draft/spec/speech-api.yml b/features/speech-api.yml similarity index 99% rename from features/draft/spec/speech-api.yml rename to features/speech-api.yml index dffc435cb6b..5b3b8cc8c66 100644 --- a/features/draft/spec/speech-api.yml +++ b/features/speech-api.yml @@ -1,4 +1,3 @@ -draft_date: 2024-08-19 name: Web Speech API description: TODO spec: https://wicg.github.io/speech-api/ diff --git a/features/draft/spec/speech-api.yml.dist b/features/speech-api.yml.dist similarity index 100% rename from features/draft/spec/speech-api.yml.dist rename to features/speech-api.yml.dist From 077955fb402e2a1765e49700850c3b913d07e528 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 21 Aug 2024 10:33:24 +0200 Subject: [PATCH 02/21] file rename --- features/{speech-api.yml => speech-recognition.yml} | 0 features/{speech-api.yml.dist => speech-recognition.yml.dist} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename features/{speech-api.yml => speech-recognition.yml} (100%) rename features/{speech-api.yml.dist => speech-recognition.yml.dist} (100%) diff --git a/features/speech-api.yml b/features/speech-recognition.yml similarity index 100% rename from features/speech-api.yml rename to features/speech-recognition.yml diff --git a/features/speech-api.yml.dist b/features/speech-recognition.yml.dist similarity index 100% rename from features/speech-api.yml.dist rename to features/speech-recognition.yml.dist From e4452313a372936f6085a604ae4a228477da9b11 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 21 Aug 2024 15:23:00 +0200 Subject: [PATCH 03/21] split out speechgrammar, update descriptions --- features/speech-grammar.yml | 15 ++++++++ features/speech-grammar.yml.dist | 16 ++++++++ features/speech-recognition.yml | 55 +++------------------------- features/speech-recognition.yml.dist | 11 +----- features/speech-synthesis.yml | 2 +- 5 files changed, 38 insertions(+), 61 deletions(-) create mode 100644 features/speech-grammar.yml create mode 100644 features/speech-grammar.yml.dist diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml new file mode 100644 index 00000000000..80730d4dcbb --- /dev/null +++ b/features/speech-grammar.yml @@ -0,0 +1,15 @@ +name: Speech Grammar +description: The SpeechGrammar interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. +spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar +group: speech +caniuse: mdn-api_speechgrammar +compat_features: + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length diff --git a/features/speech-grammar.yml.dist b/features/speech-grammar.yml.dist new file mode 100644 index 00000000000..b7687993847 --- /dev/null +++ b/features/speech-grammar.yml.dist @@ -0,0 +1,16 @@ +# Generated from: speech-grammar.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index 5b3b8cc8c66..74af92a0bb7 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,16 +1,9 @@ -name: Web Speech API -description: TODO -spec: https://wicg.github.io/speech-api/ +name: Speech Recognition +description: The SpeechRecognition API provides the ability to recognize voice context from an audio input (typically via the device's default speech recognition service) and respond appropriately. +spec: https://wicg.github.io/speech-api/#speechreco-section +group: speech +caniuse: speech-recognition compat_features: - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length - api.SpeechRecognition - api.SpeechRecognition.SpeechRecognition - api.SpeechRecognition.abort @@ -57,41 +50,3 @@ compat_features: - api.SpeechSynthesisEvent.SpeechSynthesisEvent - api.SpeechSynthesisEvent.charLength - api.SpeechSynthesisUtterance.boundary_event - -# The following features in the spec are already part of web-features: -# - Speech synthesis: -# - api.SpeechSynthesis -# - api.SpeechSynthesis.cancel -# - api.SpeechSynthesis.getVoices -# - api.SpeechSynthesis.pause -# - api.SpeechSynthesis.paused -# - api.SpeechSynthesis.pending -# - api.SpeechSynthesis.resume -# - api.SpeechSynthesis.speak -# - api.SpeechSynthesis.speaking -# - api.SpeechSynthesisEvent -# - api.SpeechSynthesisEvent.charIndex -# - api.SpeechSynthesisEvent.elapsedTime -# - api.SpeechSynthesisEvent.name -# - api.SpeechSynthesisEvent.utterance -# - api.SpeechSynthesisUtterance -# - api.SpeechSynthesisUtterance.SpeechSynthesisUtterance -# - api.SpeechSynthesisUtterance.end_event -# - api.SpeechSynthesisUtterance.error_event -# - api.SpeechSynthesisUtterance.lang -# - api.SpeechSynthesisUtterance.mark_event -# - api.SpeechSynthesisUtterance.pause_event -# - api.SpeechSynthesisUtterance.pitch -# - api.SpeechSynthesisUtterance.rate -# - api.SpeechSynthesisUtterance.resume_event -# - api.SpeechSynthesisUtterance.start_event -# - api.SpeechSynthesisUtterance.text -# - api.SpeechSynthesisUtterance.voice -# - api.SpeechSynthesisUtterance.volume -# - api.SpeechSynthesisVoice -# - api.SpeechSynthesisVoice.default -# - api.SpeechSynthesisVoice.lang -# - api.SpeechSynthesisVoice.localService -# - api.SpeechSynthesisVoice.name -# - api.SpeechSynthesisVoice.voiceURI -# - api.Window.speechSynthesis diff --git a/features/speech-recognition.yml.dist b/features/speech-recognition.yml.dist index 7985bc164b8..576b5815667 100644 --- a/features/speech-recognition.yml.dist +++ b/features/speech-recognition.yml.dist @@ -1,4 +1,4 @@ -# Generated from: speech-api.yml +# Generated from: speech-recognition.yml # Do not edit this file by hand. Edit the source file instead! status: @@ -110,15 +110,6 @@ compat_features: # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: {} - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length - api.SpeechRecognition - api.SpeechRecognition.SpeechRecognition - api.SpeechRecognition.abort diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 587443b95cc..7337dd140d6 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,4 +1,4 @@ -name: Speech synthesis +name: Speech Synthesis description: The `SpeechSynthesis` API converts text into audio using a synthetic voice. spec: https://wicg.github.io/speech-api/#tts-section group: speech From a00257cb09be06b92f361d7033ccfdad18d8ab05 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 21 Aug 2024 15:37:29 +0200 Subject: [PATCH 04/21] fixup newer synth apis --- features/speech-grammar.yml | 2 +- features/speech-recognition.yml | 7 -- features/speech-recognition.yml.dist | 71 ---------------- features/speech-synthesis.yml | 8 ++ features/speech-synthesis.yml.dist | 119 +++++++++++++++++---------- 5 files changed, 84 insertions(+), 123 deletions(-) diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml index 80730d4dcbb..bd5e9c65794 100644 --- a/features/speech-grammar.yml +++ b/features/speech-grammar.yml @@ -2,7 +2,7 @@ name: Speech Grammar description: The SpeechGrammar interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar group: speech -caniuse: mdn-api_speechgrammar +#caniuse: mdn-api_speechgrammar compat_features: - api.SpeechGrammar - api.SpeechGrammar.src diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index 74af92a0bb7..2137cafc812 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -43,10 +43,3 @@ compat_features: - api.SpeechRecognitionResultList - api.SpeechRecognitionResultList.item - api.SpeechRecognitionResultList.length - - api.SpeechSynthesis.voiceschanged_event - - api.SpeechSynthesisErrorEvent - - api.SpeechSynthesisErrorEvent.SpeechSynthesisErrorEvent - - api.SpeechSynthesisErrorEvent.error - - api.SpeechSynthesisEvent.SpeechSynthesisEvent - - api.SpeechSynthesisEvent.charLength - - api.SpeechSynthesisUtterance.boundary_event diff --git a/features/speech-recognition.yml.dist b/features/speech-recognition.yml.dist index 576b5815667..c4a4d69c2ba 100644 --- a/features/speech-recognition.yml.dist +++ b/features/speech-recognition.yml.dist @@ -5,77 +5,6 @@ status: baseline: false support: {} compat_features: - # baseline: high - # baseline_low_date: ≤2018-10-02 - # baseline_high_date: ≤2021-04-02 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: ≤18 - # firefox: "49" - # firefox_android: "62" - # safari: "7" - # safari_ios: "7" - - api.SpeechSynthesisErrorEvent - - api.SpeechSynthesisErrorEvent.error - - # baseline: low - # baseline_low_date: 2022-09-12 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: "14" - # firefox: "49" - # firefox_android: "62" - # safari: "16" - # safari_ios: "16" - - api.SpeechSynthesis.voiceschanged_event - - # baseline: low - # baseline_low_date: 2022-09-12 - # support: - # chrome: "71" - # chrome_android: "71" - # edge: "14" - # firefox: "49" - # firefox_android: "62" - # safari: "16" - # safari_ios: "16" - - api.SpeechSynthesisEvent.SpeechSynthesisEvent - - # baseline: low - # baseline_low_date: 2022-09-12 - # support: - # chrome: "71" - # chrome_android: "71" - # edge: "79" - # firefox: "49" - # firefox_android: "62" - # safari: "16" - # safari_ios: "16" - - api.SpeechSynthesisErrorEvent.SpeechSynthesisErrorEvent - - # baseline: low - # baseline_low_date: 2022-09-12 - # support: - # chrome: "77" - # chrome_android: "77" - # edge: "15" - # firefox: "53" - # firefox_android: "62" - # safari: "16" - # safari_ios: "16" - - api.SpeechSynthesisEvent.charLength - - # baseline: false - # support: - # edge: "14" - # firefox: "49" - # firefox_android: "62" - # safari: "7" - # safari_ios: "7" - - api.SpeechSynthesisUtterance.boundary_event - # baseline: false # support: # chrome: "33" diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 7337dd140d6..40ea588e8bc 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -3,3 +3,11 @@ description: The `SpeechSynthesis` API converts text into audio using a syntheti spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis +compat_features: + - api.SpeechSynthesis.voiceschanged_event + - api.SpeechSynthesisErrorEvent + - api.SpeechSynthesisErrorEvent.SpeechSynthesisErrorEvent + - api.SpeechSynthesisErrorEvent.error + - api.SpeechSynthesisEvent.SpeechSynthesisEvent + - api.SpeechSynthesisEvent.charLength + - api.SpeechSynthesisUtterance.boundary_event diff --git a/features/speech-synthesis.yml.dist b/features/speech-synthesis.yml.dist index 5b3b804dfe4..14ebfe62750 100644 --- a/features/speech-synthesis.yml.dist +++ b/features/speech-synthesis.yml.dist @@ -2,50 +2,81 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: high - baseline_low_date: 2018-09-05 - baseline_high_date: 2021-03-05 + baseline: false support: - chrome: "33" - chrome_android: "33" - edge: "14" - firefox: "49" + edge: "79" + firefox: "53" firefox_android: "62" - safari: "7" - safari_ios: "7" + safari: "16" + safari_ios: "16" compat_features: - - api.SpeechSynthesis - - api.SpeechSynthesis.cancel - - api.SpeechSynthesis.getVoices - - api.SpeechSynthesis.pause - - api.SpeechSynthesis.paused - - api.SpeechSynthesis.pending - - api.SpeechSynthesis.resume - - api.SpeechSynthesis.speak - - api.SpeechSynthesis.speaking - - api.SpeechSynthesisEvent - - api.SpeechSynthesisEvent.charIndex - - api.SpeechSynthesisEvent.elapsedTime - - api.SpeechSynthesisEvent.name - - api.SpeechSynthesisEvent.utterance - - api.SpeechSynthesisUtterance - - api.SpeechSynthesisUtterance.SpeechSynthesisUtterance - - api.SpeechSynthesisUtterance.end_event - - api.SpeechSynthesisUtterance.error_event - - api.SpeechSynthesisUtterance.lang - - api.SpeechSynthesisUtterance.mark_event - - api.SpeechSynthesisUtterance.pause_event - - api.SpeechSynthesisUtterance.pitch - - api.SpeechSynthesisUtterance.rate - - api.SpeechSynthesisUtterance.resume_event - - api.SpeechSynthesisUtterance.start_event - - api.SpeechSynthesisUtterance.text - - api.SpeechSynthesisUtterance.voice - - api.SpeechSynthesisUtterance.volume - - api.SpeechSynthesisVoice - - api.SpeechSynthesisVoice.default - - api.SpeechSynthesisVoice.lang - - api.SpeechSynthesisVoice.localService - - api.SpeechSynthesisVoice.name - - api.SpeechSynthesisVoice.voiceURI - - api.Window.speechSynthesis + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: ≤18 + # firefox: "49" + # firefox_android: "62" + # safari: "7" + # safari_ios: "7" + - api.SpeechSynthesisErrorEvent + - api.SpeechSynthesisErrorEvent.error + + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "14" + # firefox: "49" + # firefox_android: "62" + # safari: "16" + # safari_ios: "16" + - api.SpeechSynthesis.voiceschanged_event + + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "71" + # chrome_android: "71" + # edge: "14" + # firefox: "49" + # firefox_android: "62" + # safari: "16" + # safari_ios: "16" + - api.SpeechSynthesisEvent.SpeechSynthesisEvent + + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "71" + # chrome_android: "71" + # edge: "79" + # firefox: "49" + # firefox_android: "62" + # safari: "16" + # safari_ios: "16" + - api.SpeechSynthesisErrorEvent.SpeechSynthesisErrorEvent + + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "77" + # chrome_android: "77" + # edge: "15" + # firefox: "53" + # firefox_android: "62" + # safari: "16" + # safari_ios: "16" + - api.SpeechSynthesisEvent.charLength + + # baseline: false + # support: + # edge: "14" + # firefox: "49" + # firefox_android: "62" + # safari: "7" + # safari_ios: "7" + - api.SpeechSynthesisUtterance.boundary_event From 1c0fedb8bb360e6950f0332c7ea6de112ab1189d Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 29 Aug 2024 10:21:30 +0200 Subject: [PATCH 05/21] desc fixes --- features/speech-grammar.yml | 3 +-- features/speech-recognition.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml index bd5e9c65794..b9917d308be 100644 --- a/features/speech-grammar.yml +++ b/features/speech-grammar.yml @@ -1,8 +1,7 @@ name: Speech Grammar -description: The SpeechGrammar interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. +description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar group: speech -#caniuse: mdn-api_speechgrammar compat_features: - api.SpeechGrammar - api.SpeechGrammar.src diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index 2137cafc812..5eaf3a38360 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,5 +1,5 @@ name: Speech Recognition -description: The SpeechRecognition API provides the ability to recognize voice context from an audio input (typically via the device's default speech recognition service) and respond appropriately. +description: The `SpeechRecognition` API provides the ability to recognize voice context from an audio input (typically via the device's default speech recognition service) and respond appropriately. spec: https://wicg.github.io/speech-api/#speechreco-section group: speech caniuse: speech-recognition From 0a481d32b225105c545cc5fe16e840431605a59f Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 30 Aug 2024 13:36:31 +0200 Subject: [PATCH 06/21] sentence-case all the names --- features/speech-grammar.yml | 2 +- features/speech-recognition.yml | 2 +- features/speech-synthesis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml index b9917d308be..25991e474d8 100644 --- a/features/speech-grammar.yml +++ b/features/speech-grammar.yml @@ -1,4 +1,4 @@ -name: Speech Grammar +name: Speech grammar description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar group: speech diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index 5eaf3a38360..d3cb6b3df21 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,4 +1,4 @@ -name: Speech Recognition +name: Speech recognition description: The `SpeechRecognition` API provides the ability to recognize voice context from an audio input (typically via the device's default speech recognition service) and respond appropriately. spec: https://wicg.github.io/speech-api/#speechreco-section group: speech diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 40ea588e8bc..f5ea0bbc737 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,4 +1,4 @@ -name: Speech Synthesis +name: Speech synthesis description: The `SpeechSynthesis` API converts text into audio using a synthetic voice. spec: https://wicg.github.io/speech-api/#tts-section group: speech From 37fcdcee48f185d244b4b41df47aba602f939520 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 2 Sep 2024 15:39:47 +0200 Subject: [PATCH 07/21] move speech grammar into draft --- features/{ => draft}/speech-grammar.yml | 0 features/{ => draft}/speech-grammar.yml.dist | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename features/{ => draft}/speech-grammar.yml (100%) rename features/{ => draft}/speech-grammar.yml.dist (100%) diff --git a/features/speech-grammar.yml b/features/draft/speech-grammar.yml similarity index 100% rename from features/speech-grammar.yml rename to features/draft/speech-grammar.yml diff --git a/features/speech-grammar.yml.dist b/features/draft/speech-grammar.yml.dist similarity index 100% rename from features/speech-grammar.yml.dist rename to features/draft/speech-grammar.yml.dist From 94f1ee838b2790da44e4a93fdc5209fbfed71b2f Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 2 Sep 2024 15:44:40 +0200 Subject: [PATCH 08/21] move speech grammar back --- features/{draft => }/speech-grammar.yml | 1 + features/{draft => }/speech-grammar.yml.dist | 0 2 files changed, 1 insertion(+) rename features/{draft => }/speech-grammar.yml (97%) rename features/{draft => }/speech-grammar.yml.dist (100%) diff --git a/features/draft/speech-grammar.yml b/features/speech-grammar.yml similarity index 97% rename from features/draft/speech-grammar.yml rename to features/speech-grammar.yml index 25991e474d8..3a8c7d50d51 100644 --- a/features/draft/speech-grammar.yml +++ b/features/speech-grammar.yml @@ -1,3 +1,4 @@ +draft_date: name: Speech grammar description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar diff --git a/features/draft/speech-grammar.yml.dist b/features/speech-grammar.yml.dist similarity index 100% rename from features/draft/speech-grammar.yml.dist rename to features/speech-grammar.yml.dist From fd9e7616665d681ca46c5a6efcaad7c09d502960 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 3 Sep 2024 19:08:35 +0200 Subject: [PATCH 09/21] remove draft file --- features/draft/speech-recognition.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 features/draft/speech-recognition.yml diff --git a/features/draft/speech-recognition.yml b/features/draft/speech-recognition.yml deleted file mode 100644 index 82134e20443..00000000000 --- a/features/draft/speech-recognition.yml +++ /dev/null @@ -1,8 +0,0 @@ -# Speech recognition is prefixed in all implementations and would appear as -# unsupported, so don't publish it. Revisit if it's unprefixed. -draft_date: 2024-04-30 -name: Speech recognition -description: The `SpeechRecognition` API converts human speech from a microphone to text. -spec: https://wicg.github.io/speech-api/#speechreco-section -group: speech -caniuse: speech-recognition From 816d57cd6bfd1b090cd377f5f7a317267334c1dc Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 3 Sep 2024 19:11:43 +0200 Subject: [PATCH 10/21] rm draft dist --- features/draft/speech-recognition.yml.dist | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 features/draft/speech-recognition.yml.dist diff --git a/features/draft/speech-recognition.yml.dist b/features/draft/speech-recognition.yml.dist deleted file mode 100644 index de2a52c72fd..00000000000 --- a/features/draft/speech-recognition.yml.dist +++ /dev/null @@ -1,6 +0,0 @@ -# Generated from: speech-recognition.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: {} From 50382dc63fe87c1e96380981985736da5a892ef0 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 4 Sep 2024 10:42:15 +0200 Subject: [PATCH 11/21] remove draft date --- features/speech-grammar.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml index 3a8c7d50d51..f1c6daeec8f 100644 --- a/features/speech-grammar.yml +++ b/features/speech-grammar.yml @@ -1,6 +1,5 @@ -draft_date: name: Speech grammar -description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. +description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words for the `SpeechRecognition` service to recognize. spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar group: speech compat_features: From f0a198a9145c1ed43c963e5f9a23f1a89dc60228 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 4 Sep 2024 15:05:27 +0200 Subject: [PATCH 12/21] migrate over the rest of synth --- features/speech-synthesis.yml | 35 ++++++++++++++++++++++ features/speech-synthesis.yml.dist | 47 ++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index f5ea0bbc737..cdbb077d9f2 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -4,6 +4,40 @@ spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis compat_features: + - api.SpeechSynthesis + - api.SpeechSynthesis.cancel + - api.SpeechSynthesis.getVoices + - api.SpeechSynthesis.pause + - api.SpeechSynthesis.paused + - api.SpeechSynthesis.pending + - api.SpeechSynthesis.resume + - api.SpeechSynthesis.speak + - api.SpeechSynthesis.speaking + - api.SpeechSynthesisEvent + - api.SpeechSynthesisEvent.charIndex + - api.SpeechSynthesisEvent.elapsedTime + - api.SpeechSynthesisEvent.name + - api.SpeechSynthesisEvent.utterance + - api.SpeechSynthesisUtterance + - api.SpeechSynthesisUtterance.SpeechSynthesisUtterance + - api.SpeechSynthesisUtterance.end_event + - api.SpeechSynthesisUtterance.error_event + - api.SpeechSynthesisUtterance.lang + - api.SpeechSynthesisUtterance.mark_event + - api.SpeechSynthesisUtterance.pause_event + - api.SpeechSynthesisUtterance.pitch + - api.SpeechSynthesisUtterance.rate + - api.SpeechSynthesisUtterance.resume_event + - api.SpeechSynthesisUtterance.start_event + - api.SpeechSynthesisUtterance.text + - api.SpeechSynthesisUtterance.voice + - api.SpeechSynthesisUtterance.volume + - api.SpeechSynthesisVoice + - api.SpeechSynthesisVoice.default + - api.SpeechSynthesisVoice.lang + - api.SpeechSynthesisVoice.localService + - api.SpeechSynthesisVoice.name + - api.SpeechSynthesisVoice.voiceURI - api.SpeechSynthesis.voiceschanged_event - api.SpeechSynthesisErrorEvent - api.SpeechSynthesisErrorEvent.SpeechSynthesisErrorEvent @@ -11,3 +45,4 @@ compat_features: - api.SpeechSynthesisEvent.SpeechSynthesisEvent - api.SpeechSynthesisEvent.charLength - api.SpeechSynthesisUtterance.boundary_event + - api.Window.speechSynthesis diff --git a/features/speech-synthesis.yml.dist b/features/speech-synthesis.yml.dist index 14ebfe62750..00ca502d249 100644 --- a/features/speech-synthesis.yml.dist +++ b/features/speech-synthesis.yml.dist @@ -10,6 +10,53 @@ status: safari: "16" safari_ios: "16" compat_features: + # baseline: high + # baseline_low_date: 2018-09-05 + # baseline_high_date: 2021-03-05 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "14" + # firefox: "49" + # firefox_android: "62" + # safari: "7" + # safari_ios: "7" + - api.SpeechSynthesis + - api.SpeechSynthesis.cancel + - api.SpeechSynthesis.getVoices + - api.SpeechSynthesis.pause + - api.SpeechSynthesis.paused + - api.SpeechSynthesis.pending + - api.SpeechSynthesis.resume + - api.SpeechSynthesis.speak + - api.SpeechSynthesis.speaking + - api.SpeechSynthesisEvent + - api.SpeechSynthesisEvent.charIndex + - api.SpeechSynthesisEvent.elapsedTime + - api.SpeechSynthesisEvent.name + - api.SpeechSynthesisEvent.utterance + - api.SpeechSynthesisUtterance + - api.SpeechSynthesisUtterance.SpeechSynthesisUtterance + - api.SpeechSynthesisUtterance.end_event + - api.SpeechSynthesisUtterance.error_event + - api.SpeechSynthesisUtterance.lang + - api.SpeechSynthesisUtterance.mark_event + - api.SpeechSynthesisUtterance.pause_event + - api.SpeechSynthesisUtterance.pitch + - api.SpeechSynthesisUtterance.rate + - api.SpeechSynthesisUtterance.resume_event + - api.SpeechSynthesisUtterance.start_event + - api.SpeechSynthesisUtterance.text + - api.SpeechSynthesisUtterance.voice + - api.SpeechSynthesisUtterance.volume + - api.SpeechSynthesisVoice + - api.SpeechSynthesisVoice.default + - api.SpeechSynthesisVoice.lang + - api.SpeechSynthesisVoice.localService + - api.SpeechSynthesisVoice.name + - api.SpeechSynthesisVoice.voiceURI + - api.Window.speechSynthesis + # baseline: high # baseline_low_date: ≤2018-10-02 # baseline_high_date: ≤2021-04-02 From 811864286fd00ac30047ed814ad62114f491df33 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:00:26 +0200 Subject: [PATCH 13/21] Update features/speech-recognition.yml Co-authored-by: James Stuckey Weber --- features/speech-recognition.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index d3cb6b3df21..fb0849352bf 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,5 +1,5 @@ name: Speech recognition -description: The `SpeechRecognition` API provides the ability to recognize voice context from an audio input (typically via the device's default speech recognition service) and respond appropriately. +description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service. spec: https://wicg.github.io/speech-api/#speechreco-section group: speech caniuse: speech-recognition From 6cfd2117b0e1d35a1dc88685963ac1391838c73e Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 5 Sep 2024 11:08:51 +0200 Subject: [PATCH 14/21] update descriptions --- features/speech-recognition.yml | 2 +- features/speech-synthesis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index fb0849352bf..af1982b6f61 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,5 +1,5 @@ name: Speech recognition -description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service. +description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service, providing methods and events for fine-grained control and observation of the interaction. spec: https://wicg.github.io/speech-api/#speechreco-section group: speech caniuse: speech-recognition diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index cdbb077d9f2..6db177ab869 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,5 +1,5 @@ name: Speech synthesis -description: The `SpeechSynthesis` API converts text into audio using a synthetic voice. +description: The `SpeechSynthesis` API converts text into audio using a synthetic voice, with the ability to control various aspects of the interaction and output, including specifcying custom voices. spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis From 4e2f5291ac7f66e7ce3a7c9ea801d421aa55dee6 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:13:27 +0200 Subject: [PATCH 15/21] Update features/speech-synthesis.yml Co-authored-by: James Stuckey Weber --- features/speech-synthesis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 6db177ab869..59250cb0bb7 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -3,6 +3,8 @@ description: The `SpeechSynthesis` API converts text into audio using a syntheti spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis +status: + compute_from: api.SpeechSynthesis compat_features: - api.SpeechSynthesis - api.SpeechSynthesis.cancel From b3864fc9edb6b8b923984ec13eefc5de45cb60c5 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 5 Sep 2024 11:16:23 +0200 Subject: [PATCH 16/21] redistify --- features/speech-synthesis.yml.dist | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/features/speech-synthesis.yml.dist b/features/speech-synthesis.yml.dist index 00ca502d249..ec067bb7fa0 100644 --- a/features/speech-synthesis.yml.dist +++ b/features/speech-synthesis.yml.dist @@ -2,14 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2018-09-05 + baseline_high_date: 2021-03-05 support: - edge: "79" - firefox: "53" + chrome: "33" + chrome_android: "33" + edge: "14" + firefox: "49" firefox_android: "62" - safari: "16" - safari_ios: "16" + safari: "7" + safari_ios: "7" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2018-09-05 # baseline_high_date: 2021-03-05 From 4430a476f76ed44b3d933cbf5ba418488fcc0ca4 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:43:09 +0200 Subject: [PATCH 17/21] Update features/speech-recognition.yml Co-authored-by: Daniel D. Beck --- features/speech-recognition.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index af1982b6f61..fb0849352bf 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,5 +1,5 @@ name: Speech recognition -description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service, providing methods and events for fine-grained control and observation of the interaction. +description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service. spec: https://wicg.github.io/speech-api/#speechreco-section group: speech caniuse: speech-recognition From 44aed5dcda9a9f5165b29a1e5473ca43104d6835 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:45:11 +0200 Subject: [PATCH 18/21] Update features/speech-synthesis.yml Co-authored-by: Daniel D. Beck --- features/speech-synthesis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 59250cb0bb7..e27b9c5c4d3 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,5 +1,5 @@ name: Speech synthesis -description: The `SpeechSynthesis` API converts text into audio using a synthetic voice, with the ability to control various aspects of the interaction and output, including specifcying custom voices. +description: The `SpeechSynthesis` API converts text to speech from artificial voices. spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis From 0e3d97ad1e786223a822e2e4aeadee0791017d22 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 12 Sep 2024 10:46:59 +0200 Subject: [PATCH 19/21] make James' tweak --- features/speech-synthesis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index e27b9c5c4d3..529ece17c6d 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,5 +1,5 @@ name: Speech synthesis -description: The `SpeechSynthesis` API converts text to speech from artificial voices. +description: The `SpeechSynthesis` API converts text to speech with artificial voices. spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis From 14f9effcbcbb9f3933b62c4df094daf331535a50 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 12 Sep 2024 10:54:41 +0200 Subject: [PATCH 20/21] merge grammar back in --- features/speech-grammar.yml | 14 -------------- features/speech-grammar.yml.dist | 16 ---------------- features/speech-synthesis.yml | 11 ++++++++++- features/speech-synthesis.yml.dist | 12 ++++++++++++ 4 files changed, 22 insertions(+), 31 deletions(-) delete mode 100644 features/speech-grammar.yml delete mode 100644 features/speech-grammar.yml.dist diff --git a/features/speech-grammar.yml b/features/speech-grammar.yml deleted file mode 100644 index f1c6daeec8f..00000000000 --- a/features/speech-grammar.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Speech grammar -description: The `SpeechGrammar` interface of the Web Speech API represents a set of words or patterns of words for the `SpeechRecognition` service to recognize. -spec: https://wicg.github.io/speech-api/#speechreco-speechgrammar -group: speech -compat_features: - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length diff --git a/features/speech-grammar.yml.dist b/features/speech-grammar.yml.dist deleted file mode 100644 index b7687993847..00000000000 --- a/features/speech-grammar.yml.dist +++ /dev/null @@ -1,16 +0,0 @@ -# Generated from: speech-grammar.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: {} -compat_features: - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index 529ece17c6d..d910dad6a06 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,11 +1,20 @@ name: Speech synthesis description: The `SpeechSynthesis` API converts text to speech with artificial voices. -spec: https://wicg.github.io/speech-api/#tts-section +spec: https://wicg.github.io/speech-api/ group: speech caniuse: speech-synthesis status: compute_from: api.SpeechSynthesis compat_features: + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length - api.SpeechSynthesis - api.SpeechSynthesis.cancel - api.SpeechSynthesis.getVoices diff --git a/features/speech-synthesis.yml.dist b/features/speech-synthesis.yml.dist index ec067bb7fa0..646213a0624 100644 --- a/features/speech-synthesis.yml.dist +++ b/features/speech-synthesis.yml.dist @@ -132,3 +132,15 @@ compat_features: # safari: "7" # safari_ios: "7" - api.SpeechSynthesisUtterance.boundary_event + + # baseline: false + # support: {} + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length From 467c2977812518525e0275be9717ccb7a08e6b5a Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 12 Sep 2024 12:05:55 +0200 Subject: [PATCH 21/21] uno reverse card the grammar merge --- features/speech-recognition.yml | 11 ++++++++++- features/speech-recognition.yml.dist | 9 +++++++++ features/speech-synthesis.yml | 11 +---------- features/speech-synthesis.yml.dist | 12 ------------ 4 files changed, 20 insertions(+), 23 deletions(-) diff --git a/features/speech-recognition.yml b/features/speech-recognition.yml index fb0849352bf..070d6cf64d2 100644 --- a/features/speech-recognition.yml +++ b/features/speech-recognition.yml @@ -1,9 +1,18 @@ name: Speech recognition description: The `SpeechRecognition` API converts audio into text using the device's speech recognition service. -spec: https://wicg.github.io/speech-api/#speechreco-section +spec: https://wicg.github.io/speech-api/ group: speech caniuse: speech-recognition compat_features: + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length - api.SpeechRecognition - api.SpeechRecognition.SpeechRecognition - api.SpeechRecognition.abort diff --git a/features/speech-recognition.yml.dist b/features/speech-recognition.yml.dist index c4a4d69c2ba..ebb9796792d 100644 --- a/features/speech-recognition.yml.dist +++ b/features/speech-recognition.yml.dist @@ -39,6 +39,15 @@ compat_features: # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: {} + - api.SpeechGrammar + - api.SpeechGrammar.src + - api.SpeechGrammar.weight + - api.SpeechGrammarList + - api.SpeechGrammarList.SpeechGrammarList + - api.SpeechGrammarList.addFromString + - api.SpeechGrammarList.addFromURI + - api.SpeechGrammarList.item + - api.SpeechGrammarList.length - api.SpeechRecognition - api.SpeechRecognition.SpeechRecognition - api.SpeechRecognition.abort diff --git a/features/speech-synthesis.yml b/features/speech-synthesis.yml index d910dad6a06..529ece17c6d 100644 --- a/features/speech-synthesis.yml +++ b/features/speech-synthesis.yml @@ -1,20 +1,11 @@ name: Speech synthesis description: The `SpeechSynthesis` API converts text to speech with artificial voices. -spec: https://wicg.github.io/speech-api/ +spec: https://wicg.github.io/speech-api/#tts-section group: speech caniuse: speech-synthesis status: compute_from: api.SpeechSynthesis compat_features: - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length - api.SpeechSynthesis - api.SpeechSynthesis.cancel - api.SpeechSynthesis.getVoices diff --git a/features/speech-synthesis.yml.dist b/features/speech-synthesis.yml.dist index 646213a0624..ec067bb7fa0 100644 --- a/features/speech-synthesis.yml.dist +++ b/features/speech-synthesis.yml.dist @@ -132,15 +132,3 @@ compat_features: # safari: "7" # safari_ios: "7" - api.SpeechSynthesisUtterance.boundary_event - - # baseline: false - # support: {} - - api.SpeechGrammar - - api.SpeechGrammar.src - - api.SpeechGrammar.weight - - api.SpeechGrammarList - - api.SpeechGrammarList.SpeechGrammarList - - api.SpeechGrammarList.addFromString - - api.SpeechGrammarList.addFromURI - - api.SpeechGrammarList.item - - api.SpeechGrammarList.length