Skip to content
1 change: 1 addition & 0 deletions libraries/ChromeOStts.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<blocks app="Snap! 7, https://snap.berkeley.edu" version="2"><block-definition s="Speak (for Chrome OS) %&apos;text&apos;" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%txt">Hello world!</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>textIn</l></list><l>var msg = new SpeechSynthesisUtterance();&#xD;msg.text = textIn;&#xD;window.speechSynthesis.cancel()&#xD;window.speechSynthesis.speak(msg);&#xD;</l></block><list><block var="text"/></list></block></script></block-definition></blocks>
1 change: 1 addition & 0 deletions libraries/LIBRARIES
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ speech_module.xml Text to Speech Output text using speech synthesis.
animation_module.xml Animation Glide, grow and rotate using easing functions.
pixel_module.xml Pixels Manipulate costumes pixel-wise.
audioComp_module.xml Audio Comp Analyze, manipulate and generate sound samples.
ChromeOStts.xml Text To Speech Working text to speech on Chrome OS
frequency_distribution_module.xml Frequency Distribution Analysis Analyze data for frequency distribution
localstorage_module.xml Database Persistent key-value storage across Snap! sessions in the same browser
~ ~
Expand Down