Debian Codegraph @

online/static/samples/WiFi and Games/Play Song Using Functions.xml

raw symbols SCIP
1 <xml xmlns="https://developers.google.com/blockly/xml">
2 <variables>
3 <variable id="15^DRFvr@8I,YoQK6FhW">notes</variable>
4 <variable id="{fVR-yHrNsdiJC$xDoOA">song</variable>
5 <variable id="}KE@V7,)cpEQ-Df=Q3r(">j</variable>
6 </variables>
7 <block type="procedures_defnoreturn" id="MkQyus|r)ZW:k(zw4cZx" x="0" y="0">
8 <mutation>
9 <arg name="notes" varid="15^DRFvr@8I,YoQK6FhW"></arg>
10 </mutation>
11 <field name="NAME">play song</field>
12 <comment pinned="false" h="80" w="160">Describe this function...</comment>
13 <statement name="STACK">
14 <block type="variables_set" id="G;H*RJ=ldTS8/hW.r=Z#">
15 <field name="VAR" id="{fVR-yHrNsdiJC$xDoOA">song</field>
16 <value name="VALUE">
17 <block type="lists_split" id="75f_0FN4r#j=5o6oO?^A">
18 <mutation mode="SPLIT"></mutation>
19 <field name="MODE">SPLIT</field>
20 <value name="INPUT">
21 <block type="variables_get" id="]DSbV97Q+-*!D+.UiTE2">
22 <field name="VAR" id="15^DRFvr@8I,YoQK6FhW">notes</field>
23 </block>
24 </value>
25 <value name="DELIM">
26 <shadow type="text" id="K^7SqC^Vu?)?)#QY6FeG">
27 <field name="TEXT">,</field>
28 </shadow>
29 </value>
30 </block>
31 </value>
32 <next>
33 <block type="controls_forEach" id="-Q_B(DWd;sxY=V^WUe/1">
34 <field name="VAR" id="}KE@V7,)cpEQ-Df=Q3r(">j</field>
35 <value name="LIST">
36 <block type="variables_get" id="l44dA4Z50-b9#gc$uVF;">
37 <field name="VAR" id="{fVR-yHrNsdiJC$xDoOA">song</field>
38 </block>
39 </value>
40 <statement name="DO">
41 <block type="play_piano" id=".h[Si?;07jUjl?LsKBG.">
42 <value name="NOTE">
43 <shadow type="text" id="}eaU)/bKe[@zK2.t+p/T">
44 <field name="TEXT">C</field>
45 </shadow>
46 <block type="variables_get" id="QA]c|I/rN|KCrcDMdH~X">
47 <field name="VAR" id="}KE@V7,)cpEQ-Df=Q3r(">j</field>
48 </block>
49 </value>
50 <next>
51 <block type="wait_seconds" id="%]Tcx;K5P)#u@gN08PW#">
52 <field name="SECONDS">0.25</field>
53 </block>
54 </next>
55 </block>
56 </statement>
57 </block>
58 </next>
59 </block>
60 </statement>
61 </block>
62 <block type="add_piano" id="XvN)V-r4VX~8T@brh*bd" x="65" y="-284">
63 <next>
64 <block type="procedures_callnoreturn" id="YQ?(3ItBLMcA//l-287$">
65 <mutation name="play song">
66 <arg name="notes"></arg>
67 </mutation>
68 <value name="ARG0">
69 <block type="text" id="fW.LxLq4p#`mihu(g2_;">
70 <field name="TEXT">2D#,2D,2D#,2D,2D#,A#,2C#,B,G#</field>
71 </block>
72 </value>
73 <next>
74 <block type="wait_seconds" id="CSCGZgOYxh*YDWD/Mic;">
75 <field name="SECONDS">0.5</field>
76 <next>
77 <block type="procedures_callnoreturn" id="!MCHsvmDl--*6Fqm_(Qt">
78 <mutation name="play song">
79 <arg name="notes"></arg>
80 </mutation>
81 <value name="ARG0">
82 <block type="text" id="DewZBM,+fw7$j~SK)s:d">
83 <field name="TEXT">D#,G,G#,A#</field>
84 </block>
85 </value>
86 <next>
87 <block type="wait_seconds" id="vJS%=66BctBD,`.S,62f">
88 <field name="SECONDS">0.5</field>
89 <next>
90 <block type="procedures_callnoreturn" id="#=%.7R(-MUa[H44^AH?p">
91 <mutation name="play song">
92 <arg name="notes"></arg>
93 </mutation>
94 <value name="ARG0">
95 <block type="text" id="FJ8L.YZn.3CFS5A9f:U|">
96 <field name="TEXT">D#,B,A#,G#</field>
97 </block>
98 </value>
99 <next>
100 <block type="wait_seconds" id="v?WYq7klTf!7Yb[,3?O^">
101 <field name="SECONDS">0.5</field>
102 <next>
103 <block type="procedures_callnoreturn" id="CUiiPu=aqT9Z,:qc^WFt">
104 <mutation name="play song">
105 <arg name="notes"></arg>
106 </mutation>
107 <value name="ARG0">
108 <block type="text" id="+b/i*[j()BVUNx)F`*S8">
109 <field name="TEXT">A#,B,2C#,2D#</field>
110 </block>
111 </value>
112 <next>
113 <block type="wait_seconds" id="QRXcmqHNe=mcGPx+Gg`u">
114 <field name="SECONDS">0.5</field>
115 <next>
116 <block type="procedures_callnoreturn" id="DL`IOFQ@DOn!I_gPBYm@">
117 <mutation name="play song">
118 <arg name="notes"></arg>
119 </mutation>
120 <value name="ARG0">
121 <block type="text" id="g$iDT$?(P107z8[sG69o">
122 <field name="TEXT">A#,2E,2D#,2C#</field>
123 </block>
124 </value>
125 <next>
126 <block type="wait_seconds" id="9vKY`T{1MR!C(r:BLmWb">
127 <field name="SECONDS">0.5</field>
128 <next>
129 <block type="procedures_callnoreturn" id="Q1DOeNi[WhBO8!DGe/gQ">
130 <mutation name="play song">
131 <arg name="notes"></arg>
132 </mutation>
133 <value name="ARG0">
134 <block type="text" id="GW}yy?7u0rTz#fxU3[Dv">
135 <field name="TEXT">G#,2D#,2C#,B</field>
136 </block>
137 </value>
138 <next>
139 <block type="wait_seconds" id="Rgh;_$V+ocn-AKfb+(U#">
140 <field name="SECONDS">0.5</field>
141 <next>
142 <block type="procedures_callnoreturn" id=")/uT_(CGR2r1nQ2O_8H5">
143 <mutation name="play song">
144 <arg name="notes"></arg>
145 </mutation>
146 <value name="ARG0">
147 <block type="text" id="!-*zRFQ+?L53JKn|,Xd5">
148 <field name="TEXT">G#,2C#,B,A#</field>
149 </block>
150 </value>
151 </block>
152 </next>
153 </block>
154 </next>
155 </block>
156 </next>
157 </block>
158 </next>
159 </block>
160 </next>
161 </block>
162 </next>
163 </block>
164 </next>
165 </block>
166 </next>
167 </block>
168 </next>
169 </block>
170 </next>
171 </block>
172 </next>
173 </block>
174 </next>
175 </block>
176 </next>
177 </block>
178 </xml>