-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 6.08 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="r+e-W[)EFGw,s5lT.oTo">random-number</variable><variable id="nJjw{N+?Y6$a;f6A8wCp">sleep-time</variable><variable id="|,kfV|?=3}%P;6XtL,fS">volume</variable></variables><block type="variables_set" id="Fl!nKa%[4%gNk5Oh2Y#7" disabled-reasons="ORPHANED_BLOCK,MANUALLY_DISABLED" x="104" y="49"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field><value name="VALUE"><shadow type="math_number" id="?O$?MunJ5qX8}Oag+$)Q" disabled-reasons="MANUALLY_DISABLED"><field name="NUM">120</field></shadow></value><next><block type="variables_set" id="U-_Dx^Ex_/VBECM;k/fj" disabled-reasons="ORPHANED_BLOCK,MANUALLY_DISABLED"><field name="VAR" id="nJjw{N+?Y6$a;f6A8wCp">sleep-time</field><value name="VALUE"><shadow type="math_number" id="bEY;zBS:y3CZR|rK5l8:" disabled-reasons="MANUALLY_DISABLED"><field name="NUM">500</field></shadow></value></block></next></block><block type="device_gesture_event" id="B=eoR2vK}_`YJ8{`#KUv" x="16" y="181"><field name="NAME">Gesture.TiltRight</field><statement name="HANDLER"><block type="variables_set" id="0|Oq,VwO1zl3XR[ql-1S"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field><value name="VALUE"><shadow type="math_number" id="d?``cPnWa(UkWnOCj:,1"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="R|;rE]o00Z|N7]BO%CQ)"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="c3ku8zmFN7Bzud[RSu=="><field name="NUM">0</field></shadow><block type="variables_get" id="]$$FnlRn:yZOeTD(l2XX"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value><value name="B"><shadow type="math_number" id="whs7-N;2W|XoIE0!mE%1"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if" id="9Br!H~/yIXYai}]PG[M*"><value name="IF0"><shadow type="logic_boolean" id="#n+j#z)y37=s|4-+7kg~"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="3!*,hB;mX)NfuP/f$J$7"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="a;)?(]!7?zUcQs*su`H8" disabled-reasons="MANUALLY_DISABLED"><field name="NUM">0</field></shadow><block type="variables_get" id="`@%JoV{7uyFF9qwz?G0H"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value><value name="B"><shadow type="math_number" id="oBMaXvH/$eQj`#96RW-I"><field name="NUM">10</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="z!~]Z4cIde!sQX+y_kMO"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field><value name="VALUE"><shadow type="math_number" id="7xshqk7Xi%m}#kGK8%R["><field name="NUM">10</field></shadow></value></block></statement><next><block type="synth_set_volume" id="70+D`M9K7:d`u:yh8/WG"><value name="volume"><shadow type="math_number_minmax" id="ki38hHBQNqz*H[GYo%gO"><mutation min="0" max="255" label="Volume" precision="0"></mutation><field name="SLIDER">127</field></shadow><block type="variables_get" id="R%JOGYi!_3QCP?d):}G9"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value></block></next></block></next></block></statement></block><block type="device_gesture_event" id="8#SnZ3wjqG4[mHlb8kWK" x="444" y="222"><field name="NAME">Gesture.TiltLeft</field><statement name="HANDLER"><block type="variables_set" id="Wa=XKkv1(Yn?hIH~v;Gi"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field><value name="VALUE"><shadow type="math_number" id="_t1Uv|g$JOlA(qOY4^2*"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="?oj6F_Ne7.)_L12z+=MI"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="Lxe`EyLKn7n5:iB^cmZ4"><field name="NUM">0</field></shadow><block type="variables_get" id="ac*$m7-{/Mu`/4|j=Hq%"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value><value name="B"><shadow type="math_number" id="KgjbKUpD93l0Pj*ucXEr"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if" id="`b*afN`0R70/h%V*/Q|5"><value name="IF0"><shadow type="logic_boolean" id="#n+j#z)y37=s|4-+7kg~"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="w5xttdRnEogs-J+lO)HL"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="a;)?(]!7?zUcQs*su`H8" disabled-reasons="MANUALLY_DISABLED"><field name="NUM">0</field></shadow><block type="variables_get" id="gX?5F[Q$!d,1ghSGPAj{"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value><value name="B"><shadow type="math_number" id="eW8x=O`YM!=jyy8yQyZ*"><field name="NUM">120</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="-J_J-/)b?@zy4~({5j{="><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field><value name="VALUE"><shadow type="math_number" id="CYgnI]iRc6?irL4G4Bd_"><field name="NUM">120</field></shadow></value></block></statement><next><block type="synth_set_volume" id="g=J{9pnkQ1pF,.XWdu^X"><value name="volume"><shadow type="math_number_minmax" id="ki38hHBQNqz*H[GYo%gO"><mutation min="0" max="255" label="Volume" precision="0"></mutation><field name="SLIDER">127</field></shadow><block type="variables_get" id="/1i6f7BARD_8v:RrxCJa"><field name="VAR" id="|,kfV|?=3}%P;6XtL,fS">volume</field></block></value></block></next></block></next></block></statement></block><block type="every_interval" id="jfvgm/{%.$7~q)/pcte%" x="7" y="514"><value name="interval"><shadow type="longTimePicker" id="AH~ltLM%Aa.O^a{k}IRU"><field name="ms">500</field></shadow><block type="variables_get" id=",q_;J=/_HR7E[lVqAIMH"><field name="VAR" id="nJjw{N+?Y6$a;f6A8wCp">sleep-time</field></block></value><statement name="HANDLER"><block type="music_playable_play" id="CK#JJ#;U{:;]/])OQZsG"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="|c9-nJ;m?L^L7N9np~mQ"><value name="melody"><shadow type="melody_editor" id="_sT(w_^qEcw}+efZN[g6"><field name="melody">"E B C5 A B G A F "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="QA#JXe5;1:Vf9c8J$:$a"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value></block></statement></block></xml>