kopia lustrzana https://github.com/backface/turtlestitch
1 wiersz
3.8 KiB
XML
1 wiersz
3.8 KiB
XML
<blocks app="Snap! 5.0, http://snap.berkeley.edu" version="1"><block-definition s="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 _
pt:fala _ na língua _ _ com tom _ e velocidade _
</translations><inputs><input type="%s">Hello, World!</input><input type="%txt">en-US<options>العربية=ar
Български=bg
বাংলা=bn
Català=ca
Català - Valencià=ca-VA
Česky=cs
Deutsch=de
Dansk=dk
Ελληνικά=el
English-American=en-US
English-British=en-GB
Esperanto=eo
Español=es
Eesti=et
Euskara=eu
suomi=fi
Français=fr
Galego=gl
Hrvatski=hr
Magyar=hu
Interlingua=ia
Bahasa Indonesia=id
Italiano=it
日本語=ja
にほんご=ja-HIRA
ಕನ್ನಡ=kn
한국어=ko
Malayalam=ml
Nederlands=nl
Norsk=no
Polski=pl
Português=pt
Português do Brasil=pt-BR
Român=ro
Русский=ru
Slovenščina=si
svenska=sv
Tamil=ta
Telagu=te
Türkçe=tr
Українська=ua
简体中文=zh-CN
繁體中文=zh-TW</options></input><input type="%n">1</input><input type="%n">1</input></inputs><script><block s="doRun"><block s="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><block var="text"/><block var="lang"/><block var="pitch"/><block var="rate"/></list></block></script></block-definition><block-definition s="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
pt:fala _ na língua _ _ com tom _ e velocidade _ , e espera
</translations><inputs><input type="%s">Hello, World!</input><input type="%txt">en-US<options>العربية=ar
Български=bg
বাংলা=bn
Català=ca
Català - Valencià=ca-VA
Česky=cs
Deutsch=de
Dansk=dk
Ελληνικά=el
English-American=en-US
English-British=en-GB
Esperanto=eo
Español=es
Eesti=et
Euskara=eu
suomi=fi
Français=fr
Galego=gl
Hrvatski=hr
Magyar=hu
Interlingua=ia
Bahasa Indonesia=id
Italiano=it
日本語=ja
にほんご=ja-HIRA
ಕನ್ನಡ=kn
한국어=ko
Malayalam=ml
Nederlands=nl
Norsk=no
Polski=pl
Português=pt
Português do Brasil=pt-BR
Român=ro
Русский=ru
Slovenščina=si
svenska=sv
Tamil=ta
Telagu=te
Türkçe=tr
Українська=ua
简体中文=zh-CN
繁體中文=zh-TW</options></input><input type="%n">1</input><input type="%n">1</input></inputs><script><block s="doDeclareVariables"><list><l>test</l></list></block><block s="doSetVar"><l>test</l><block s="evaluate"><block s="reportJSFunction"><list><l>msg</l><l>accent</l><l>pitch</l><l>rate</l></list><l>var utter = new SpeechSynthesisUtterance(msg),
 isDone = false;
utter.lang = accent;
utter.pitch = pitch;
utter.rate = rate;
utter.onend = function () {isDone = true; };
window.speechSynthesis.speak(utter);
return function () {return isDone; };</l></block><list><block var="text"/><block var="lang"/><block var="pitch"/><block var="rate"/></list></block></block><block s="doWaitUntil"><block s="evaluate"><block var="test"/><list></list></block></block></script></block-definition></blocks> |