Files
mixly3/boards/default/micropython_esp32/examples/JNIUPdLpnuXM/BTxSR-fso3e7.mix
2024-07-23 20:47:22 +08:00

1 line
8.0 KiB
XML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="procedures_defnoreturn" id="*p8Z!/Po[6EE!%S;HIuh" x="833" y="-320"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="x"></arg></mutation><field name="NAME">fmusic</field><statement name="STACK"><block type="controls_if" id="(6f1gd]%Wm_ZsrjVrHnd"><value name="IF0"><block type="logic_compare" id="[,Kd,^W#X.2?r[(MVQOE"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="D/e4@1d)@jJ-3oI/=?u}"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="cC:p]D1oRS~yCvG=EkQ`"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="k|pmpvP.]TRv;,}UvW=["><value name="PIN"><shadow type="pins_pwm_pin" id="{r`c_Qq3R.jQK=2]i1vn"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="ZjIJ:kLCL1n,rIss~[h,"><field name="PIN">262</field></shadow></value><value name="time"><shadow type="math_number" id="Fx~KXfin1m(7s,GiLQKN"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="XZ26]d9=GM,1Fib.)!9t"><value name="IF0"><block type="logic_compare" id="3uN[HMMvR+u:%a_ctN-e"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="r5=ey9=eDFC4~|%sOQdX"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="u@^EUrdspCy55VQK*_pw"><field name="NUM">2</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="i`v:pXI.T_7ZJ6KMp[@3"><value name="PIN"><shadow type="pins_pwm_pin" id="1X?O|_xCR^r`_;Pw_qhj"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="~qp8ddBx2}AX@^tiM`z^"><field name="PIN">294</field></shadow></value><value name="time"><shadow type="math_number" id="-MvE6@wMp_BXjz!zL|8j"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="t]v4Kx­FuzO!ePjeax"><value name="IF0"><block type="logic_compare" id="h$iGUxz;|K+g%tG8`$N@"><field name="OP">EQ</field><value name="A"><block type="variables_get" id=")e,~lm:kb?2}x76!:f*G"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="vMJN]7ZZn.R#2+*fi(vX"><field name="NUM">3</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="cd{7Iv{+,$G:`=Y|DQy7"><value name="PIN"><shadow type="pins_pwm_pin" id="a@c~i@s_8^=K%{6Xx0#("><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="*!7VT.KNozhU.bQ~mkQi"><field name="PIN">330</field></shadow></value><value name="time"><shadow type="math_number" id="FZXPtsv%u`K+o+d!#wQF"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="wvnL.C1h_:{v)~4RZzvQ"><value name="IF0"><block type="logic_compare" id="?wcr_)jNE!?a(ZMkg1S_"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="T+:Vh6.GEq@pi8nVnOhb"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="^yAp}b::QRd[]V~/DF3+"><field name="NUM">4</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="-5oSlMuynE?=ZDl,#w7u"><value name="PIN"><shadow type="pins_pwm_pin" id="@,YCM}odjK(EtiD=obeo"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="8lg9G|]=h2XOj9T?OQj^"><field name="PIN">349</field></shadow></value><value name="time"><shadow type="math_number" id="i{#Z@*418I}{v/qq)4xv"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="{fc#t7O|**x):8o|GCRh"><value name="IF0"><block type="logic_compare" id="%pU{+/4GN^aYtuuWXWk0"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="CTC$Tc}(TiV}e.4h*Q]."><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="+)spc$*g@]en)o)qV$Nk"><field name="NUM">5</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="|9GBxF#G19{{%Z+J[z3Z"><value name="PIN"><shadow type="pins_pwm_pin" id="Rd0`=ECq6DhHiGe;;17%"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="+JYr{Y(X((#TJBS6i6bw"><field name="PIN">784</field></shadow></value><value name="time"><shadow type="math_number" id="rzapeOQt_^Uadg(g5I4$"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="(($^%rblMpOKg6-[Ol8!"><value name="IF0"><block type="logic_compare" id="ghmR{=lPP*?h?(}XM_cv"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="1eZH7u[NuWjCT7w#f-Zi"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="7VH]aVBdcm)Rm1tjIGsY"><field name="NUM">6</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="h1Xc=mtYLLxDf=Rs#@rA"><value name="PIN"><shadow type="pins_pwm_pin" id="#DWt,6M(SMPCKrcHX005"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="X7^mbAxA5z5wv(L1iW2t"><field name="PIN">440</field></shadow></value><value name="time"><shadow type="math_number" id=".n=1!xsYC~%d)2gwO#bb"><field name="NUM">700</field></shadow></value></block></statement><next><block type="controls_if" id="Kx7Qj[3H]`P3PUg0!MgO"><value name="IF0"><block type="logic_compare" id="Wew42@C3(7^25w(hn#M?"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Goo:j5JS|!?c,:S(H~Oi"><field name="VAR">x</field></block></value><value name="B"><block type="math_number" id="xB}}hl};sER{7@L:jH|P"><field name="NUM">7</field></block></value></block></value><statement name="DO0"><block type="esp32_music_pitch_with_time" id="#j;QU`A]8;)ff!89s4(D"><value name="PIN"><shadow type="pins_pwm_pin" id="9(vp#Jup+|qdqzKi*}g%"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="2`SDdiSO)v/AZCb())Q,"><field name="PIN">494</field></shadow></value><value name="time"><shadow type="math_number" id="pT78P*jnG!YsTc_P)IgY"><field name="NUM">700</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="lists_create_with_text" id="8;c+*bExi?[X%-k]T@39" x="408" y="-258"><field name="VAR">music_list</field><field name="TEXT">1,2,3,4,5,6,7</field><next><block type="controls_whileUntil" id="b^o=5^2e5_}3zx1$NBpK"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="4!YLcc}r,z0.C_bYnM9,"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="S3!X4`uKYEbN7R%QEBdV"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="h~dj,@5j,#hRMg0Z^O^7"><value name="btn"><shadow type="pins_button" id="Rg+vfjSplX_T{~bGHm~1"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="controls_forEach" id="*esrvHzL98doN1Q~.42/"><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="o]k!s(b86]tOfj0_4V!6"><field name="CONTENT">0,1,2,3</field></shadow><block type="variables_get" id="Jpjr03FWI|As1G2xoFSm"><field name="VAR">music_list</field></block></value><value name="VAR"><shadow type="variables_get" id="kxaS?HeVBZ}CWu!bG{|_"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="procedures_callnoreturn" id="vxKLz(/W2}mkfhxRnDTI"><mutation xmlns="http://www.w3.org/1999/xhtml" name="fmusic"><arg name="x"></arg></mutation><value name="ARG0"><block type="variables_get" id="41k_E,(DkT/Cq}7P|d;0"><field name="VAR">i</field></block></value></block></statement><next><block type="esp32_music_stop" id="P1]hAXzZ;!$z_U$vUoRt"><value name="PIN"><shadow type="pins_pwm_pin" id="bS`n7nP;Ub+AL,~=Ky7U"><field name="PIN">27</field></shadow></value></block></next></block></statement></block></statement></block></next></block></xml>