<blocksapp="Snap! 4.1, http://snap.berkeley.edu"version="1"><block-definitions="speak %'text' with %'lang' accent $nl and pitch %'pitch' rate %'rate'"type="command"category="sound"><header></header><code></code><translations>de:sprich _ mit _ Aussprache _ und Höhe _ Geschwindigkeit _
</translations><inputs><inputtype="%s">Hello, World!</input><inputtype="%txt">en-US<options>American=en-US
Turkish=tr</options></input><inputtype="%n">1</input><inputtype="%n">1</input></inputs><script><blocks="doRun"><blocks="reportJSFunction"><list><l>msg</l><l>accent</l><l>pitch</l><l>rate</l></list><l>var utter = new SpeechSynthesisUtterance(msg);
utter.lang = accent;
utter.pitch = pitch;
utter.rate = rate;
window.speechSynthesis.speak(utter);</l></block><list><blockvar="text"/><blockvar="lang"/><blockvar="pitch"/><blockvar="rate"/></list></block></script></block-definition><block-definitions="speak %'text' with %'lang' accent $nl and pitch %'pitch' rate %'rate' and wait"type="command"category="sound"><header></header><code></code><translations>de:sprich _ mit _ Aussprache _ und Höhe _ Geschwindigkeit _ und warte
</translations><inputs><inputtype="%s">Hello, World!</input><inputtype="%txt">en-US<options>American=en-US