<snapdata remixID="13140978"><project name="Tetradecal (Probably actual)" app="Snap! 9.0, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABY1JREFUeF7tnbtLZAcUh486swhmVJDggi+InSmC1VpYRCQQkZBiZYIT8AH26fIP2KRNlyLFbpBlC90tQkoLSaOJWgTRIgjGiG4y6ho1zPqIhrnJChNdZzkc1hPPd0F83HvOnPP9Pma8Y2HF+fn5uXBA4IYIVCDgDZHnYRMCCIgIN0rgSgEXFxelra1NqqqqzIbb3NyUxsZGaWhoMOtJo/8/gUsCTk9PJ/KVO/afrcmvT76Qsxd/XntpOn1HOj9/JIVCQfL5vDQ1NUlra2u59pwPQqBEwLm5OclkMleuvry8LB0dHRfnNmceS9fag5Jr7/R+JsfTX16qf/7JAzmovpv8fHd3V7q7u4PgZc1yBEoE3NjYSJ6lisfCwoLMzs5Kf3+/zM/PS319vWxvb0sqlZKBgQHZnX0i99YeXvRP3/tUKt5qkLP8qpz+9F3J427f/1qep99OfraysiK5XK7cXJwPQqBEwNXV1USy4jExMZHIVvxYX1+Xrq4uWVpakt7eXmlvb5eDhW+l65dvLjCl3vtIUu9+KCc/Ppa/fv6+BN+zj7+Snap/fvcrCjgyMhIEL2uWI1AiYPHm4/DwUCoqKpK6lpYW2draSm4ezs7OkpfPmpqa5PMfPzyV93+fLNc/Ob95/6H8dpRKvj49PZWenp7XquOi20/g0k3I1NRUImBdXd2129fW1kpm5anIi4PkuuLb2f96W/p97V3Zf+cD2dvbSz6y2eztp8qGr03gyrdhiqIUb0iOj4/LNnr5bPnfC4t/YCmee/mHls7OTmlubi7bjwtiEeCN6Fh5u9sWAd1FEmsgBIyVt7ttEdBdJLEGQsBYebvbFgHdRRJrIASMlbe7bRHQXSSxBkLAWHm72xYB3UUSayAEjJW3u20R0F0ksQZCwFh5u9sWAd1FEmsgBIyVt7ttEdBdJLEGQsBYebvbFgHdRRJrIASMlbe7bRHQXSSxBkLAWHm72xYB3UUSayAEjJW3u20R0F0ksQZCwFh5u9sWAd1FEmsgBIyVt7ttEdBdJLEGQsBYebvbFgHdRRJrIASMlbe7bRHQXSSxBkLAWHm72xYB3UUSayAEjJW3u20R0F0ksQZCwFh5u9sWAd1FEmsgBIyVt7ttEdBdJLEGQsBYebvbFgHdRRJrIASMlbe7bRHQXSSxBkLAWHm72xYB3UUSayAEfEXek5OTsrOzI319fdLa2hrLije4LQK+Avb+/r6MjY3JycmJ5PN5GRwclFQqJcPDw1JdXf0GI7rdD4WA1+Q7MzMj4+PjkslkSq4qFAoyMjKS/DPuopgcegIIqBDw6OhIhoaGpLKyUrLZrJ4+lYKAr/kSnMvlkpfg0dFRSafTqGNEAAG5CTFSSdcGAXXcqDIigIBGIGmjI4CAOm5UGRFAQCOQtNERQEAdN6qMCCCgEUja6AggoI4bVUYEENAIJG10BBBQx40qIwIIaASSNjoCCKjjRpURAQQ0AkkbHQEE1HGjyogAAhqBpI2OAALquFFlRAABjUDSRkcAAXXcqDIigIBGIGmjI4CAOm5UGRFAQCOQtNERQEAdN6qMCCCgEUja6AggoI4bVUYEENAIJG10BBBQx40qIwIIaASSNjoCCKjjRpURAQQ0AkkbHQEE1HGjyogAAhqBpI2OAALquFFlRAABjUDSRkcAAXXcqDIigIBGIGmjI4CAOm5UGRFAQCOQtNERQEAdN6qMCCCgEUja6AggoI4bVUYEENAIJG10BBBQx40qIwIIaASSNjoCCKjjRpURAQQ0AkkbHQEE1HGjyogAAhqBpI2OAALquFFlRAABjUDSRkcAAXXcqDIigIBGIGmjI4CAOm5UGRFAQCOQtNERQEAdN6qMCCCgEUja6AggoI4bVUYEENAIJG10BBBQx40qIwJ/A3hIwbd4L8OaAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="Tetradecal (Probably actual)"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="USE BIGNUMS %&apos;bool&apos;" type="command" category="operators"><comment x="0" y="0" w="303.3333333333333" collapsed="false">call with True to turn on the entire Scheme numeric tower, including infinite-precision integers, exact rationals, and complex numbers; call with False to restore native JavaScript arithmetic.</comment><header></header><code></code><translations>pt:altera utilização de aritmética do Scheme para _&#xD;ca:sistema numèric d&apos;Scheme _&#xD;</translations><inputs><input type="%b"></input></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/biginteger.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/schemeNumber.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/bignums.js</l></list></block><block s="doApplyExtension"><l>big_switch(bool)</l><list><block var="bool"/></list></block></script></block-definition><block-definition s="%&apos;n&apos; !" type="reporter" category="operators"><comment x="0" y="0" w="190.66666666666666" collapsed="false">The factorial function, to make very large numbers, to demo bignums.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportIfElse"><block s="reportVariadicEquals"><list><block var="n"/><l>0</l></list></block><l>1</l><block s="reportVariadicProduct"><list><block var="n"/><custom-block s="%n !"><block s="reportDifference"><block var="n"/><l>1</l></block></custom-block></list></block></block></block></script></block-definition><block-definition s="%&apos;x&apos;" type="reporter" category="operators"><comment x="0" y="0" w="234.66666666666666" collapsed="false">The identity function: reports its input.&#xD;It&apos;s useful to get things like 3/4 or 5-2i into&#xD;numeric input slots.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block var="x"/></block></script></block-definition><block-definition s="Scheme number %&apos;function&apos; of %&apos;number&apos;" type="reporter" category="operators"><comment x="0" y="0" w="300" collapsed="true">Provides Scheme arithmetic functions not in JavaScript</comment><header></header><code></code><translations>pt:_ de _&#xD;ca:Scheme _ de _&#xD;</translations><inputs><input type="%s" readonly="true"><options>number?&#xD;complex?&#xD;real?&#xD;rational?&#xD;integer?&#xD;exact?&#xD;inexact?&#xD;exact&#xD;inexact&#xD;finite?&#xD;infinite?&#xD;nan?&#xD;numerator&#xD;denominator&#xD;real-part&#xD;imag-part&#xD;magnitude&#xD;angle</options></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportApplyExtension"><l>big_scheme(fn, num)</l><list><block var="function"/><block var="number"/></list></block></block></script></block-definition><block-definition s="{ %&apos;a&apos; , %&apos;b&apos; , %&apos;c&apos; , %&apos;d&apos; }" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="d"/><l>1</l></list></block><script><block s="doReport"><custom-block s="%n { %n } %n"><block var="a"/><block var="c"/><block var="b"/></custom-block></block></script><list><block s="reportVariadicEquals"><list><block var="d"/><l>2</l></list></block><script><block s="doReport"><custom-block s="%n {{ %n }} %n"><block var="a"/><block var="c"/><block var="b"/></custom-block></block></script><block s="reportVariadicEquals"><list><block var="d"/><l>3</l></list></block><script><block s="doReport"><custom-block s="%n {{{ %n }}} %n"><block var="a"/><block var="c"/><block var="b"/></custom-block></block></script><block s="reportVariadicEquals"><list><block var="c"/><l>1</l></list></block><script><block s="doReport"><custom-block s="{ %n , %n , %n , %n }"><block var="a"/><custom-block s="{ %n , %n , %n , %n }"><block var="a"/><block s="reportDifference"><block var="b"/><l>1</l></block><l>1</l><block var="c"/></custom-block><block s="reportDifference"><block var="c"/><l>1</l></block><block var="d"/></custom-block></block></script></list></block><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><custom-block s="{ %n , %n , %n , %n }"><block var="a"/><block s="reportDifference"><block var="b"/><l>1</l></block><block var="c"/><block var="d"/></custom-block><block s="reifyReporter"><autolambda><custom-block s="{ %n , %n , %n , %n }"><block var="a"/><block var="iterated part"/><block s="reportDifference"><block var="c"/><l>1</l></block><block var="d"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="b"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; { %&apos;b&apos; } %&apos;c&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="b"/><l>-1</l></list></block><script><block s="doReport"><block s="reportVariadicSum"><list><block var="a"/><block var="c"/></list></block></block></script><list><block s="reportVariadicEquals"><list><block var="b"/><l>0</l></list></block><script><block s="doReport"><block s="reportVariadicProduct"><list><block var="a"/><block var="c"/></list></block></block></script></list></block><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n { %n } %n"><block var="a"/><block s="reportDifference"><block var="b"/><l>1</l></block><block var="iterated part"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="c"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="Nest %&apos;iterated part&apos; %&apos;set&apos; %&apos;f&apos; %&apos;iter&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n"></input><input type="%repRing"></input><input type="%n"></input></inputs><script><block s="doSetVar"><l>iterated part</l><block var="set"/></block><block s="doRepeat"><block var="iter"/><script><block s="doSetVar"><l>iterated part</l><block s="evaluate"><block var="f"/><list><block var="iterated part"/></list></block></block></script></block><block s="doReport"><block var="iterated part"/></block></script><scripts><script x="178.4794921875" y="68.83333333333331"><block s="reportVariadicSum"><list><l></l><l>2</l></list></block></script></scripts></block-definition><block-definition s="%&apos;a&apos; {{ %&apos;b&apos; }} %&apos;c&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="b"/><l>1</l></list></block><script><block s="doReport"><custom-block s="%n {{1}} %n"><block var="a"/><block var="c"/></custom-block></block></script><list><block s="reportVariadicEquals"><list><block var="b"/><l>2</l></list></block><script><block s="doReport"><custom-block s="%n {{2}} %n"><block var="a"/><block var="c"/></custom-block></block></script></list></block><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n {{ %n }} %n"><block var="a"/><block s="reportDifference"><block var="b"/><l>1</l></block><block var="iterated part"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="c"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; {{1}} %&apos;b&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n { %n } %n"><block var="a"/><block var="iterated part"/><block var="a"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="b"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; {{2}} %&apos;b&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n {{1}} %n"><block var="a"/><block var="iterated part"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="b"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; {{{ %&apos;b&apos; }}} %&apos;c&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="b"/><l>1</l></list></block><script><block s="doReport"><custom-block s="%n {{{1}}} %n"><block var="a"/><block var="c"/></custom-block></block></script><list></list></block><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n {{{ %n }}} %n"><block var="a"/><block s="reportDifference"><block var="b"/><l>1</l></block><block var="iterated part"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="c"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; {{{1}}} %&apos;b&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n {{ %n }} %n"><block var="a"/><block var="iterated part"/><block var="a"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="b"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;a&apos; {{{2}}} %&apos;b&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><block var="a"/><block s="reifyReporter"><autolambda><custom-block s="%n {{{1}}} %n"><block var="a"/><block var="iterated part"/></custom-block></autolambda><list></list></block><block s="reportDifference"><block var="b"/><l>1</l></block></custom-block></block></script></block></script></block-definition><block-definition s="Tetradecal" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><custom-block s="{ %n , %n , %n , %n }"><l>10</l><l>10</l><l>10</l><l>10</l></custom-block></block></script></block-definition><block-definition s="Ask %&apos;vars&apos; to calculate %&apos;number&apos;" type="command" category="operators"><header></header><code></code><translations></translations><inputs><input type="%obj"><options>§_getVarNamesDict</options></input><input type="%repRing"></input></inputs><script><block s="doSetVar"><l>vars</l><l>0</l></block><custom-block s="USE BIGNUMS %b"><l><bool>true</bool></l></custom-block><block s="doSetVar"><l>vars</l><block s="reportJoinWords"><list><l>100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</l></list></block></block><block s="doWarp"><script><block s="doSetVar"><l>vars</l><block s="evaluate"><block var="number"/><list></list></block></block></script></block><block s="doReport"><block var="vars"/></block></script></block-definition><block-definition s="turbo %&apos;action&apos;" type="command" category="other"><header></header><code></code><translations>pt:executa no modo turbo _&#xD;</translations><inputs><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>begin</l></list></block><block s="doSetVar"><l>begin</l><block s="reportGlobalFlag"><l><option>turbo mode</option></l></block></block><block s="doSetGlobalFlag"><l><option>turbo mode</option></l><l><bool>true</bool></l></block><block s="doRun"><block var="action"/><list></list></block><block s="doSetGlobalFlag"><l><option>turbo mode</option></l><block var="begin"/></block></script></block-definition><block-definition s="%&apos;frequency&apos; Hz for %&apos;duration&apos; secs at %&apos;sample rate&apos; Hz sample rate" type="reporter" category="sound"><header></header><code></code><translations>pt:as amostras de som com _ Hz de _ s amostrado a _ Hz&#xD;ca:_ Hz durant _ segons amb mostreig de _ Hz&#xD;</translations><inputs><input type="%n">440<options>a 55=55&#xD;a 110=110&#xD;a 220=220&#xD;a 440=440&#xD;a 880=880&#xD;a 1760=1760&#xD;a 3520=3520</options></input><input type="%n">1</input><input type="%n">44100<options>22.05 kHz=22050&#xD;44.1 kHz=44100&#xD;88.2 kHz=88200&#xD;96 kHz=96000</options></input></inputs><script><block s="doReport"><block s="reportMonadic"><l><option>sin</option></l><custom-block s="degrees %n"><block s="reportVariadicProduct"><list><l>2</l><custom-block s="PI"></custom-block><block var="frequency"/><block s="reportQuotient"><block s="reportNumbers"><l>1</l><block s="reportVariadicProduct"><list><block var="duration"/><block var="sample rate"/></list></block></block><block var="sample rate"/></block></list></block></custom-block></block></block></script></block-definition><block-definition s="PI" type="reporter" category="operators"><header></header><code></code><translations>pt:π&#xD;</translations><inputs></inputs><script><block s="doReport"><l>3.141592653589793</l></block></script></block-definition><block-definition s="degrees %&apos;radians&apos;" type="reporter" category="operators"><header></header><code></code><translations>pt:_ radianos em graus&#xD;ca:graus de _ radiants&#xD;</translations><inputs><input type="%n">0.5</input></inputs><script><block s="doReport"><block s="reportQuotient"><block s="reportVariadicProduct"><list><block var="radians"/><l>180</l></list></block><custom-block s="PI"></custom-block></block></block></script></block-definition><block-definition s="sound named %&apos;name&apos;" type="reporter" category="sensing"><header></header><code></code><translations>pt:o som _&#xD;ca:so de nom _&#xD;</translations><inputs><input type="%s"><options>§_soundsMenu</options></input></inputs><script><block s="doReport"><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportVariadicEquals"><list><block s="reportGetSoundAttribute"><l><option>name</option></l><l></l></block><block var="name"/></list></block></autolambda><list></list></block><block s="reportGet"><l><option>sounds</option></l></block></block></block></script></block-definition><block-definition s="plot sound %&apos;name&apos;" type="command" category="pen"><comment x="0" y="0" w="164" collapsed="false">quickly plot the samples of a sound, a list of samples (single channel), or a list of lists (multiple channels) to the stage at a lower resolution.</comment><header></header><code></code><translations>pt:desenha o gráfico do som _&#xD;ca:dibuixa el so _&#xD;</translations><inputs><input type="%s" readonly="true"><options>§_soundsMenu</options></input></inputs><script><block s="doDeclareVariables"><list><l>samples</l><l>step</l><l>offset</l><l>i</l><l>sound</l></list></block><block s="doSetVar"><l>sound</l><block s="reportIfElse"><block s="reportVariadicOr"><list><block s="reportIsA"><block var="name"/><l><option>list</option></l></block><block s="reportIsA"><block var="name"/><l><option>sound</option></l></block></list></block><block var="name"/><custom-block s="sound named %s"><block var="name"/></custom-block></block></block><block s="doIfElse"><block s="reportIsA"><block var="sound"/><l><option>sound</option></l></block><script><block s="doSetVar"><l>samples</l><block s="reportGetSoundAttribute"><l><option>samples</option></l><block var="sound"/></block></block><block s="doSetVar"><l>step</l><block s="reportQuotient"><block s="reportGetSoundAttribute"><l><option>length</option></l><block var="sound"/></block><block s="reportVariadicProduct"><list><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></list></block></block></block></script><script><block s="doSetVar"><l>samples</l><block var="sound"/></block></script></block><block s="clear"></block><block s="up"></block><block s="doIfElse"><block s="reportIsA"><block s="reportListItem"><l>1</l><block var="samples"/></block><l><option>list</option></l></block><script><block s="doSetVar"><l>step</l><block s="reportQuotient"><block s="reportListAttribute"><l><option>length</option></l><block s="reportListItem"><l>1</l><block var="samples"/></block></block><block s="reportVariadicProduct"><list><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></list></block></block></block><block s="doSetVar"><l>offset</l><block s="reportQuotient"><block s="reportAttributeOf"><l><option>height</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>4</l></block></block><block s="doForEach"><l>channel</l><block var="samples"/><script><block s="doSetVar"><l>i</l><l>0</l></block><block s="gotoXY"><block s="reportQuotient"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>-2</l></block><block var="offset"/></block><block s="down"></block><block s="setSize"><l>1</l></block><custom-block s="turbo %cs"><script><block s="doRepeat"><block s="reportVariadicProduct"><list><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></list></block><script><block s="doChangeVar"><l>i</l><block var="step"/></block><block s="gotoXY"><block s="reportVariadicSum"><list><block s="xPosition"></block><l>0.5</l></list></block><block s="reportVariadicSum"><list><block s="reportVariadicProduct"><list><block s="reportListItem"><block s="reportMonadic"><l><option>floor</option></l><block var="i"/></block><block var="channel"/></block><block s="reportQuotient"><block s="reportAttributeOf"><l><option>height</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>6.4</l></block></list></block><block var="offset"/></list></block></block></script></block></script></custom-block><block s="up"></block><block s="doChangeVar"><l>offset</l><block s="reportQuotient"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>-2</l></block></block></script></block></script><script><block s="doSetVar"><l>step</l><block s="reportQuotient"><block s="reportListAttribute"><l><option>length</option></l><block var="samples"/></block><block s="reportVariadicProduct"><list><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></list></block></block></block><block s="gotoXY"><block s="reportQuotient"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>-2</l></block><l>0</l></block><block s="down"></block><block s="setSize"><l>1</l></block><custom-block s="turbo %cs"><script><block s="doRepeat"><block s="reportVariadicProduct"><list><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></list></block><script><block s="doChangeVar"><l>i</l><block var="step"/></block><block s="gotoXY"><block s="reportVariadicSum"><list><block s="xPosition"></block><l>0.5</l></list></block><block s="reportVariadicProduct"><list><block s="reportListItem"><block s="reportMonadic"><l><option>floor</option></l><block var="i"/></block><block var="samples"/></block><block s="reportQuotient"><block s="reportAttributeOf"><l><option>height</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>3.2</l></block></list></block></block></script></block></script></custom-block><block s="up"></block></script></block></script></block-definition><block-definition s="$circleSolid-1-255-0-0 record" type="reporter" category="sensing"><comment x="0" y="0" w="192" collapsed="false">records an audio snippet and reports it as a new sound, or zero if the user cancels</comment><header></header><code></code><translations>pt:$circleSolid-1-255-0-0 uma nova gravação&#xD;ca:$circleSolid-1-255-0-0 enregistra&#xD;</translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>callback</l></list></block><block s="doSetVar"><l>callback</l><block s="reportApplyExtension"><l>mda_record</l><list></list></block></block><block s="doWaitUntil"><block s="reportVariadicNotEquals"><list><block s="evaluate"><block var="callback"/><list></list></block><block s="reportBoolean"><l><bool>false</bool></l></block></list></block></block><block s="doReport"><block s="evaluate"><block var="callback"/><list></list></block></block></script></block-definition><block-definition s="note from %&apos;pitch&apos; hz" type="reporter" category="sound"><header></header><code></code><translations>pt:a nota com _ Hz&#xD;ca:nota de _ Hz&#xD;</translations><inputs><input type="%n">440</input></inputs><script><block s="doReport"><block s="reportRound"><block s="reportVariadicSum"><list><block s="reportVariadicProduct"><list><l>12</l><block s="reportQuotient"><block s="reportMonadic"><l><option>log</option></l><block s="reportQuotient"><block var="pitch"/><l>440</l></block></block><block s="reportMonadic"><l><option>log</option></l><l>2</l></block></block></list></block><l>69</l></list></block></block></block></script></block-definition><block-definition s="hz from note %&apos;note&apos;" type="reporter" category="sound"><header></header><code></code><translations>pt:a frequência da nota _&#xD;ca:freqüència (hz) de la nota _&#xD;</translations><inputs><input type="%n">69</input></inputs><script><block s="doReport"><block s="reportVariadicProduct"><list><l>440</l><block s="reportPower"><l>2</l><block s="reportQuotient"><block s="reportDifference"><block var="note"/><l>69</l></block><l>12</l></block></block></list></block></block></script></block-definition><block-definition s="name of note %&apos;note&apos;" type="reporter" category="sound"><header></header><code></code><translations>pt:o nome da nota _&#xD;ca:nom de la nota _&#xD;</translations><inputs><input type="%n">69</input></inputs><script><block s="doReport"><block s="reportListItem"><block s="reportVariadicSum"><list><block s="reportModulus"><block s="reportDifference"><block var="note"/><l>69</l></block><l>12</l></block><l>1</l></list></block><block s="reportNewList"><list><l>A</l><l>Bb</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l><l>E</l><l>F</l><l>F#</l><l>G</l><l>G#</l></list></block></block></block></script></block-definition><block-definition s="average of %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportQuotient"><block s="reportVariadicSum"><block var="data"/></block><block s="reportListAttribute"><l><option>length</option></l><block var="data"/></block></block></block></script></block-definition><block-definition s="fade in %&apos;samples&apos; for %&apos;count&apos;" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportVariadicProduct"><list><block var="samples"/><block s="reportConcatenatedLists"><list><block s="reportQuotient"><block s="reportNumbers"><l>0</l><block var="count"/></block><block var="count"/></block><block s="reportReshape"><block s="reportMonadic"><l><option>id</option></l><l>1</l></block><list><block s="reportDifference"><block s="reportListAttribute"><l><option>length</option></l><block var="samples"/></block><block var="count"/></block></list></block></list></block></list></block></block></script></block-definition></blocks><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="1012"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADoVJREFUeF7t1cEJAAAIxDDdf2m3sJ+4wEEQuuMIECBAgACBd4F9XzRIgAABAgQIjAB7AgIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECByxcQFpoRMBzwAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="1013"></list></costumes><sounds><list struct="atomic" id="1014"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="1019"><costumes><list struct="atomic" id="1020"></list></costumes><sounds><list struct="atomic" id="1021"></list></sounds><blocks></blocks><variables></variables><scripts><script x="292" y="409.1666666666671"><custom-block s="Ask %obj to calculate %repRing"><block var="calc"/><block s="reifyReporter"><script></script><list></list></block></custom-block></script><script x="91.974609375" y="311.1666666666671"><custom-block s="{ %n , %n , %n , %n }"><l>2</l><l>2</l><l>-2</l><l>1</l></custom-block></script><script x="405" y="527.5000000000003"><custom-block s="%n { %n } %n"><l>2</l><l>2</l><l>6</l></custom-block></script><script x="202" y="439.16666666666674"><custom-block s="turbo %cs"><script></script><comment w="90" collapsed="false">Click this first to run all functions faster</comment></custom-block></script><script x="240" y="116"><custom-block s="{ %n , %n , %n , %n }"><l>10</l><l>10</l><l>10</l><l>10</l><comment w="90" collapsed="false">The Tetradecal. Warning: The 4-Entry Beaf Snap! Function might have some mistakes, but other than that, it&apos;s fine! Maybe I did manage to calculate tetradecal!</comment></custom-block></script><script x="93" y="561.5000000000003"><custom-block s="Nest %upvar %n %repRing %n"><l>iterated part</l><l>1.5</l><block s="reifyReporter"><autolambda><custom-block s="%n !"><block var="iterated part"/></custom-block></autolambda><list></list></block><l>1</l></custom-block></script></scripts></sprite><watcher var="calc" style="normal" x="10" y="10" color="243,118,29"/></sprites></stage><variables><variable name="calc"><l>0</l></variable></variables></scene></scenes></project><media name="Tetradecal (Probably actual)" app="Snap! 9.0, https://snap.berkeley.edu" version="2"></media></snapdata>