-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 9.53 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="_U=0?;ca8DZI2ggl:kJ%">note</variable></variables><block type="pxt-on-start" id="]1Ag^?SQaI$08VN+(y]}" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="23DO+]C6lOWW83ao6SqZ"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field><value name="VALUE"><shadow type="math_number" id="d|ruG43::abBe^3*6lI@"><field name="NUM">1</field></shadow></value><next><block type="device_print_message" id="QYdTBR,^}$o!9YW$T;P_"><value name="text"><shadow type="text"><field name="TEXT">1</field></shadow><block type="text_join" id="]z{1?+h6NM7a+:d3bJDd"><mutation items="2"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="vZV6_xJ|Vy:!^0MO2;,s"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="ADD1"><shadow type="text" id="(97dv{S9%K5tT|cxam=N"><field name="TEXT">do</field></shadow></value></block></value></block></next></block></statement></block><block type="device_button_event" id="rO38J?2Ap#]:O0B|}sQI" x="501" y="-26"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="controls_if" id=")+tMSnUvT3,/pR:{XF}~"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="[FF!RJO}qoz=?^wV$@7f"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="0=SD+APIWi-UB/]N;M!Z"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="[-U[|BIvvpM~PjwaL,iZ"><field name="NUM">7</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="O4FwdL}q$AtQAwgsACdn"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="2v}Dio+be_-6!cy!#TFO"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id=",/P9wdkzzlCasRzG?X[}"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="ICA56D|;`BA/Ium=B8Ab"><field name="NUM">1</field></shadow></value></block></value><next><block type="device_print_message" id="UWNQ+9)Gq3-Xl}6e:(cq"><value name="text"><shadow type="text"><field name="TEXT">1</field></shadow><block type="variables_get" id="j7p@z;D0Gw_}{O2T@*B]"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value></block></next></block></statement></block></statement></block><block type="input_logo_event" id="DY7L|N_92u)O0Hp$A`xP" x="-1" y="199"><field name="action">TouchButtonEvent.Pressed</field><statement name="HANDLER"><block type="controls_if" id="x9S:+@Jgy7LLYs=zWHn,"><mutation elseif="5" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="]_MaVg2@9`5:]K}*_YC/"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="fXq~#AJ^hR2A/FT;omn{"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="]WV(ky+R6,(+eT,fk;YR"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="device_ring" id="S7lr+:%-%pdAr!qI=:b]"><value name="note"><shadow type="device_note" id="%uEii=[}.LGF(*Ex)+e|"><field name="name">262</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id="s1hfh(Ifw0UOXwz=UPH["><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="C,.okA|:9n!m5ZFnrV5?"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="PoEve5inwhpWcHcW-_wl"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="device_ring" id="R6FYT~.mtrT%!=qBLt!a"><value name="note"><shadow type="device_note" id="4eK+C7~O$O5c,([u{kW@"><field name="name">294</field></shadow></value></block></statement><value name="IF2"><block type="logic_compare" id="R%/2N`?5pBV{8LaJ#if|"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="nb9-*V64,ZK`K6p8lg+;"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="B#V8PZ9wJTPtS47E{)zR"><field name="NUM">3</field></shadow></value></block></value><statement name="DO2"><block type="device_ring" id=")-]?-GoC[}_pQLe^%4E?"><value name="note"><shadow type="device_note" id="m$|k@WcimCG{-@qf$x0}"><field name="name">330</field></shadow></value></block></statement><value name="IF3"><block type="logic_compare" id="1B0w$9[?tnCEJ!!|~=6G"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="UM8d5h9OO(PM;TW*$XY4"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="FEpEp7W$%LAB%8jDM[i!"><field name="NUM">4</field></shadow></value></block></value><statement name="DO3"><block type="device_ring" id="o$:J!;JvC.OOpP2kJ{o("><value name="note"><shadow type="device_note" id="4CjZbC=GNH41k-z`kSS1"><field name="name">349</field></shadow></value></block></statement><value name="IF4"><block type="logic_compare" id="CJyS;/Ho!|9]mdRqr/hp"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="~{or;V9H^]9[m*EQ+CP/"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="k[1.*vB6dJCN]Mlw_85i"><field name="NUM">5</field></shadow></value></block></value><statement name="DO4"><block type="device_ring" id="|-ulRWUnvOQR.PJE+VKk"><value name="note"><shadow type="device_note" id="Smv-*Y#X=SF;0bo7b}Ic"><field name="name">392</field></shadow></value></block></statement><value name="IF5"><block type="logic_compare" id="=`q-iK*e,*8T(yMOrfFG"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=",J+#)l9Sseihjl(i0}^n"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="g=.2NlLp=nSpt(48wLV*"><field name="NUM">6</field></shadow></value></block></value><statement name="DO5"><block type="device_ring" id="r*sT{j8}t$s1{]_nfr_C"><value name="note"><shadow type="device_note" id="af*$ocm-$$ZGz-,Y)Ljq"><field name="name">440</field></shadow></value></block></statement><statement name="ELSE"><block type="device_ring" id="{v+mmWmI-Ch*n$jU1814"><value name="note"><shadow type="device_note" id="mdWY5|AL{$J-buWjvqma"><field name="name">494</field></shadow></value></block></statement></block></statement></block><block type="device_button_event" id="tqU_Z;qgBlV3s`z%S,u0" x="502" y="271"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="controls_if" id="a5iY]}2_%fU8oqCh3^(Z"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="NeXIWjHHJP~~fN)8vCPZ"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="N3sOy]o4TRo2-5d*Dsd)"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id="Tc`B]1`oZXv=TD^3y:.S"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id=",BUpp{/Zo?oNd3--e(gC"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="kL+Ki70nR)}n$PT)vj;5"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="f}}X1jcltkieQmDh[9L/"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value><value name="B"><shadow type="math_number" id=")C=Z/*u^jzi^5ej));Re"><field name="NUM">1</field></shadow></value></block></value><next><block type="device_print_message" id="],zhegSmizOfnN{lLm#9"><value name="text"><shadow type="text"><field name="TEXT">1</field></shadow><block type="variables_get" id="4@Q_}Gy5*j6%kE=pK^uR"><field name="VAR" id="_U=0?;ca8DZI2ggl:kJ%">note</field></block></value></block></next></block></statement></block></statement></block><block type="input_on_sound" id="P3.Z*:+B3@J0Wo;/v1=:" x="502" y="554"><field name="sound">DetectedSound.Loud</field></block><block type="device_forever" id="/gxNqjAMWlDgQ:dQY?BJ" x="501" y="671"><statement name="HANDLER"><block type="controls_if" id="NmW~QXZb$ZlwT-C4INjm"><value name="IF0"><shadow type="logic_boolean" id="kxmu~JC]{%in]W1gjL}x"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="mM!Kl,:i@X6CD%]jY6Sl"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="MRdU9Vb+ER^0K_c0I^r@" disabled="true"><field name="NUM">0</field></shadow><block type="device_get_sound_level" id=":NXTX]Z8zUIzhEq06}!g"/></value><value name="B"><shadow type="math_number" id="sA3EhZ1t^fJm3je@Zlg|"><field name="NUM">120</field></shadow></value></block></value><statement name="DO0"><block type="music_stop_all_sounds" id="f~Sl7)nf_K`uD$FgQv_v"/></statement></block></statement></block></xml>