<snapdata remixID="10933161"><project name="Week 10 Assignment" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAADUtJREFUeF7tnQlslMcVx/+76xNfYG4KGBITUu4bCqEcJmDUtA0RRkCupm1SQsSZKhWpUCM1UkUSiZbDRkGtaCQQV0RJQ4nDlXIZcLmiUDA3BgKBgAHbeH1u9Z9kF6/X8H17MajzRrLY5ZvjzXu/7828b2b2c3g8Hg8kiQY0acBBACsqKsC/RyElJiYqMR4lebwyPQr6+X+TQQF48+ZNlJSUqL7dvXtX/bVo0cKvrwSChigrK0NycnKAHm7fvo3q6mo0a9YMLpfL77rb7UZCQoIt3bE8k1cefq6trVX/53Q64XA41Pf6bTT8XllZqfLHx8cHtNkwr5VQlCc9Pd0qm1wPUQMBAC5atAg0IGEjND179sT+/ftBSLOzs3Hq1Cl06dIFx44dQ48ePXD48GFMmzYNBQUFWLlyJcaPH49z586p8rx+9OhRpKamKiOOHTvWUsyGAFZVVSEnJwfjxo1D586dcebMGdTV1WHw4MGq7b59+2LJkiV44403FJz8/7y8PBw6dEjJPmDAAJw9e1aVZb8oz9ChQ1U+O0kAtKOl0PM0CmBmZiaKiopw/fp1fPnll5g1axbWrl2L5s2bo127dsrQnDryr7y8HG+//bb6vHjxYnXt8ccfx8aNG9GtWzf07t0be/fuVUDOmTPHUtLGACQsBI0ejVDzZmjSpImfF2zbti2uXr2qZKVMvBnoeTMyMrBhwwZ0795dwZibm4vZs2dj2LBhlrIwgwBoS00hZwoAkB7u9OnTGDVqlPJq7du3VzB27doVsbGxuHTpEtq0aaOAo6dbuHAhNm/erARg2bi4ONTU1ODkyZPo06cPvv32WzRt2hSlpaUKSKvUEEAOmfv27VNzQsKcn5+vYGKd9GwEbNeuXUo+tv/yyy+rqcCJEyeUHPSW33zzjZKZNwcTpxHDhw+3EkVdFwBtqSnkTAEAOmrcaHJ0dcgVBluwqsMgVLe6B2Zjc8DEos/gLLsabNUh5a9N/QHcXZ72lRUAQ1Kj7UIBACYdXAE4Y1De9wXblYSTke2V9/+Fn8H5pX4Q0jBPOO1ZlU3el4eyIa8LgFaKitD1oACsW/MuUFFm3XRcIpxT/xCQj8M2weKwyM8tW7ZEOAB6ju+Fp2i/tTwAHL2z4OjcKyAvpwhMjKrp7QRAW+qMWCZbABYWFmLgwIGonTPQ13Biz6fQpMcw3FjzAVJH5uDOdv9h27WwMEDI4uJiFTwwcV7GuVwoADLISEpKQt0/F8Oz/SNVnyM2HukTZ6P80Db12eO+C/fpwz4ZHD+dAefolwJkOn78uLoReENw7vhE8UbxgBHDy7oiSwAZTGzduhXTp0/3AzDjz//Glfd/haQBY5E0KBuXfv8zv9YIIB+hXLt2TQUyTAxaGKQwmmXEyog2WAAJH4OjMWPG+AHYfMrvULIxD/GduyPt6ZfgLirErc1/CwCQkT2B8yZG6GlpaSowYSTd7etNAqA1NxHLYQkgW+Kji4YAtnnzQzgTkpShk/pl4crC11Fz/ZJPMALI525XrlxBp06dfABeuHBBeUEafPTo0UED6PWerVu39gMwechPkPBEP3iqKhHToh2qLp9GyYYlAQBu375dtetN/O5NfPwkAEaMLVsV2QLQW1P9Idiq9saGYHpA/nlTqAB6y9cfgq3kud8QLABaaS6614MC0HPhK6DExuOQ5GZwZPYPkDzSAHqunoXnxD5rDTkA54ipjeYTAK3VF80cQQH4yHnATUvh2brCln6ck+fDMdh/nsqCAqAt9UUtkyWAXFHgysgzzzzjF4S0/e1yVF+7iBur30ObWUtw5f1f+wkZrSGYa8Fc4Xjsscfg+myZLwpm4xl/2YkLs36M1NGTUVtagvLC/IA5YENNCoBRY8tWxZYAMgrmxoMJEyb4Adhu/ipUnj4KR0wckvqPwYXZIwIAvHPnDg4ePKiW9ZgiMQTzccnHH3+MZ599Fs7NeT4A4zP7oMO7/1CPhVJGTETpjjUqKvYm7xxw6dKlauOCNwmAtjiJWiZLAC9fvqyejzGSrT8Ep4zIQWzrDNxc+wFShk9A6a4ND8UD8pkk15QZSXs+XeIDMLHHMLiL/oPEJwei6usziGnWxtZzQAEwamzZqtgSwPq11M4bBbjtrYS4FuyMehBS9688eLbce9b3oB47X/gjHP2zA7IIgLY4iVqmoAD07P8EHhtRsINR8FM5UQfQc+kEPF8Fgh7QsMMB59O/BJz+G2UlCIkaV7YrtgUg511qJ3K9pThXKncJO1B75wacTVJQd7fUcgjmUL5nzx61Fsx1V+7xC3YlhI145fFbiouJgyMmFnXuu4DTAfCki6fOMgjhxtVbt26p/nGPYPqhv8pKiG18ws9oCSB3EDPyfO655+4B6HSi3byPUHGsABX/3YdWv3kPxW9mWQLIDISQwQk3tzIFCyB3QW/ZsgVvvfVWwFKcIyEJHncZXCnpqLp4stGluMZUxtUaysNlQtmMED5UwdRgCSDXTpcvX652Pfs8oNOFVq/+CYndf4Tb+X9HatZUFM+9t7xFAfgYhudEuJmU2+nvl4IFkEEI15ezsrIQt2W5LwjhWnBdRRlcaS2Q1GcU7uxc3+hSHI8czJw5877yCIDB4BN+XksA+RiGQx53HNcfghMy+yCmZXuUFXyKhC594T51b+eJF8CG4vGw0zvvvKN2Nw8ZMgTPP/980B6QGxzWrFmDF1980c8DJnQdiMQnB6C04FN4qisRk9YSleePWQ7Bn3/+OQg1vd/cuXORVvihDMHhc2W7BksA69dU99mH9irmpH/cq43m5RkTnh2hVw1lCK5fqefkAXjOHrElk+OHQ+HI6BGQl1v+X3nlFXVehXNS8YC21BmxTEEBGLFWvz/+yWd5wQ7BkZShfl08NMX9ip3PrBcPGC0lN1LvAwFksMAjld5Eb8FhlIEEzwbzM4cuDtFHjhxRKyY8FMTv3PO3YsUK9OrVS80FuRriPRTEcjdu3ECHDh2CApDRM+vw1kO5vvjiC3XMkgemKBfl4TDNYIX7+3gYKSYmRp0p5jM/9of94GZY7/lmwseDTdx0m1SQKwA+CgAWdxyvjjjOmDHDd4aWa7ALFixQhqYBGQxwUymBInScL3KnMs8GcxPqtm3bMHLkSKxevVrN95i88DHqDNYDzp8/X5WZN2+eT0Wsm2CxvkmTJmHTpk3q+CW9WceOHdXGV25epTwMiHhjcE9iv3791HUvfDwlJx7wIZL3fVMP9IAHDhzAoEGDfFLRA3E3Mj0Ij0NyWz0PnHPDApfqCBcPs/P/aHCu/RLSVq1aqesMPuj5CEsoHpAROT0cdzB7E70uz5nwDDC9LI+Ictc0zyZzw8L58+fVZ5bhM0h6OXpD3kSUk56P8IkHfPjwscWw54A8i8shkbuJH5QIDr0Rh0TvvxwqIz0H5LSBHpGbFawSgebN4b1JOFTH71okQ7CV4iJ4PQDA+HM7kXxwBWqadoxgM/evqqZ5pt8R0MbOBad/MhPVLbs+FHlir53AzZ8v9rUl54Kjq/YAAKPbnHXtjQFoXSp6OQTA6OnWNwRHtwmpXTRwfw0oDygKEg3o0oAAqEvz0q7SgAAoIGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgACoVf3SuAAoDGjVgAAYhvpXrVqlfpk1JyfwpTxhVGtUUQEwDHPz11mZJk+eHEYtZhcVAMOwf3Z2Nlwul/pZYEmhaUAADE1v6ieBp0yZokqvW7dO/RC6pOA1IAAGrzNVYtmyZcjP/+6F2PxR9tdeey3EmswuJgCGaP/c3Fz1zjomvops2rRpIdZkdjEBMET7882a/IFzJv7Y+e7du0OsyexiAmAI9r948aJ64WFp6XevqE1JSVGvH+OrKSQFpwEBMDh9+eZ/O3bswPTp09V3Dsd8R4kMw8ErUwAMXmdYv369mvfR8zHREzIgmThxYgi1mV1EADTb/tp7LwBqN4HZAgiAZttfe+8FQO0mMFsAAdBs+2vvvQCo3QRmCyAAmm1/7b0XALWbwGwBBECz7a+99wKgdhOYLYAAaLb9tfdeANRuArMFEADNtr/23guA2k1gtgACoNn21957AVC7CcwWQAA02/7aey8AajeB2QIIgGbbX3vvBUDtJjBbAAHQbPtr770AqN0EZgsgAJptf+29FwC1m8BsAQRAs+2vvfcCoHYTmC2AAGi2/bX3XgDUbgKzBRAAzba/9t4LgNpNYLYAAqDZ9tfeewFQuwnMFkAANNv+2nsvAGo3gdkCCIBm21977wVA7SYwWwAB0Gz7a++9AKjdBGYLIACabX/tvRcAtZvAbAEEQLPtr733AqB2E5gtgABotv21914A1G4CswUQAM22v/beC4DaTWC2AAKg2fbX3nsBULsJzBZAADTb/tp7LwBqN4HZAvwP7cKpEZe8Po4AAAAASUVORK5CYII=</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="80" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><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="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="0" y="0" heading="0" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="Bass Drum" center-x="27.5" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAASCAYAAAD/ukbDAAAAAXNSR0IArs4c6QAAAmRJREFUWEfVl+ExBEEQhfsiIAMyQASIABEgAkSACBABIkAEyIAIEAEioD41r+pV1+zezPlxTNXW3c5uT/frfv1mdhIRqxFxGxFLMTw+I+IhIq7KuyOv/p1HkxLsVkdI1xGx1/H+3F4FHBVZLxFQoacUzXKlqpvFbm6BtzjO4B4jYqNiyBzUXSjP/kX1WsGBySs8lAT6dzsl6LXYkpyPSuJgBjZcGrAHf9jURpNNDziClOgcRcS5eV0sYjPWu88FtAOkdy9HKPYrmwyOxQ4rPUcQ6suaQ4AeWN+ScZIBaGxrdCb7L2ZzUvodG/6vlGd3VtUumwxuWp9CR+iT6cU9ABAk+tNFifdvysJvEUGADAAcl/+n5V7+AQgtATizTS84nF+UQBygKrdf6JmT9GUT+GTAkDOrHPfel6q6WNBt00JLnFANp9eQoHjmseGicn5AEDjWhbqirGyhvcSEXx9dNj2CQqD35mkt0U8J4HfstCNwLEWwVH13oB+gJMlxmjfb9IDDv9PL+4RjmQdI9iXnZF/CwRoOziutLSQnhz5mi6HKuYqjNj3gXKlwInBe0ZqgkOn3Ss8xT5+RhLyf5UODfHXZtIJjUQLQdkCsO2XOVa/Wi3kvU+W82pniQ2raZdNytgSY9hxveqiSFYx7bfBSO8C7aOhcmtWSJKiCuXIC32Uzy1dBpt6Qgnki2DZUdaeY9rIBPfmZ9nOs739TbQDX+j2n3oAaeRNnDVTPaUsSmNMxTbIvOkstqaxvMwoapcQXz7OQNNnUlGssI9OeITpcgM+fTmSdZ3lea5Ig3mGQiKyONd+jNt/koNZjuYoywAAAAABJRU5ErkJggg==" id="10"/></item><item><costume name="Snare Drum" center-x="33.5" center-y="9.5" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAATCAYAAADLRLCEAAAAAXNSR0IArs4c6QAAAy1JREFUWEfdmP1x1DAUxPcqgFQQqICkApIKCBUAFQAVABUkqQDSQVIBUAFQAaEDqADm59He7LxI55z5z5q5ubMtvY/Vvn3ybXR3HEk6kfSwPbqV9EUS36sem8juTNKFpMNBxl8lvZH0fa2IGIz3kt7dI8k/jTWrBAQwHkn6GUDcSAIcJwxjPkl60ObAEMpodQMwoP55y+xXA6cmSvKf42aW12pAIakskR+SENDeuJb0TFKdg9DCHMZLSb8bc/gN67hmredU26yHfQDOfA9Em3W1JJmPtvHNRmKfa9Yi8vyua7CND+fmmLDP72kABkF/LGWCk9o9cI4xHG0NFGa9bXNedNAERILKtbUEe5vwqgCZTL5sNp+UhcctTm8Um9gbVAIxTOABBgtI3JrgRQTP7viTSaThZBYCix2+ccBuZXf60JjIep4xx37xx04xAO1pOHkcm3MfsTcYxG47xAQ7yQMADCD32eRb1z4XLKyAZNJXAwrW4BBglwvrM6DUpNxhbLMmB0A54GTHLn8kyQDUZHyvC7rsmT/5TyF0DWJkdNZgYaVtDe6glEItQ/s0M2BlLR/8pN1kVPVnFtQyyGQpJ8DPAQG+xY3NqCv4FEqQfCpjTtuO16B7ArxPJ0q/Wee7wBjlQDk4brSsdzbKDnlsQwTMDo2O3EnpLa0aqrlTvTPILjBgI8yB3qkRdZdHYOw68/ytRmauDwCDVvS6iZ5bYW8d4uMukUEsBaPqlEXXgg2IPhX/LxgwdtQAuE9u14CRApdOKyCjpJeCkX57AupNIo4lYKQAP49ONSQIYOSOj949oDPGLazUIMFWzdinTJLGqUEOlpK1vyVgJJijcqJEmYevI7+bZL8HkHw3gc5ohgPjeZbTUmakwEFjdGMKqgWYGrJPWRrMeo6BfcSKD57x22U/tfx9zhk46TFnKRhzhyfaIVrm0XvDnntprG29VyLbnLItGS12qLZSFtC3jWwazW7R05w84dbgsQfr0h9zuI+mGLBs2XP+asIwDTu9I3myZTqO9wYG/E8XdJ77/wIgrSs9e36vIcHe8F8C9b2HudNRuXSDOX8jkcy/Hu7E8g+S+vxUc3IeUAAAAABJRU5ErkJggg==" id="11"/></item><item><costume name="Off" center-x="25" center-y="25" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAANxJREFUaEPtkiEOg1AUBB+cBgVXwKKoIbj6Gnqc3oMLYAkOFDdA1JPUkN5hk02hme9nkzfzk3vXPd/bdos0jcu+44ikapphnqYyy/PL3rEuSyRV2w6ffS9ffX/ZQx51zSGnqkeRU+WICIpQxGSAr2USK89SRFZnAiliEivPUkRWZwIpYhIrz1JEVmcCKWISK89SRFZnAiliEivPUkRWZwIpYhIrz1JEVmcCKWISK89SRFZnAiliEivPUkRWZwIpYhIrz1JEVmcCKWISK8/+X5F5HMusKGQjvwbXeY4vC9KHNVoK2xsAAAAASUVORK5CYII=" id="12"/></item><item><costume name="On" center-x="25" center-y="25" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAABDtJREFUaEPdmltIk2EYx//roG55yNNaTROtCIssMyKpaCCh0YWWFzrDyIogqC6kAksqwxArCiqEIgIVCwkrdmNBkKDhhUe8aESnYR5iyqyFU9Mynjdem7bT9+2b7Zt3otv3/t7/87zP/3m+V6FYsGAqODj4x/qtW41RGo0VMvsZMZvDultaUhQhSqVtfGxMuXDRImzYtg3hkZGyQbGOjOBtVxfGRkehSNu1q6P79evNv37+RGJyMkrv30dKerrfwxDAMZ0Otu/fEaJSQbE7L+/VUH+/zmqx4JPRCGVoKO68eOHXMN0tLTin18Pc14cl4eFYs3HjH5AJm013qKQEJzIzGWH86tW48OABUnfu9DtlSIni7GwGEavV4qbBgLuXLv0FuWEwoKe1FRcPHkT/x4+I1mhQUV+PTTt2+A0Mre9kVhZGrVYsi49HeV0d22wCm1GEQOinq7kZ5/LzMTQwgCi1GtefPfOLMHvT3o7zej36PnyAKiwM95qasDY1la3ZIQj9gWLwbG4uvg4PQ5uUhCuPHmHdli3/TRlS4tSePUyJuFWrUFZTM2tznYLQinmYfX7/HouDglDT1oY1KSnzDkObeqGwEAMmE0IjIlD18uU/m+oShFZMch7Zvh1Tk5NYkZiIsurqec0Zgig9cIAltmblSpQ/fOgwzN2CEMy7nh6c3rcPgyYTIqKjcauxEclpaT5XhiDouRTeDKKuzukmegTCc+bM/v0YGRpCZGwsrj154lNl7DcvPCoK158+dfk8j0EIxtjRwRKOdmh5QoJTmb2VSkw4CwLhyrhLPG9AxB4wgkH4aebqKBQL4s2RLwqEn2bOipMYEIIoycsTXYRFg3BlHNkFoSBS2CKvQGjBjgwctw2eABGEFEbVaxDuzc4XFMxY6tvPn3vkzQii/OhRSVoHSUC4MrzJIS/kzptxF0stgxTNnGQg9t6Mu1NnylBilxUVgTwcNUWeKugqVCUF4afZ8YwM1pxR0bxcWzurIrPOLj8fw4ODzFXPdbGe5JWj/5EchCtTWlCAL729UMfFzXgkCqfTOTmwmM1Qa7Us/KTqQH0Cwh0AuVaCWRoTgxMVFaiurGSdJ/1+taFBUq/mMxAOQ+6VhhrT09MsIhw1RWLDyf5zPgWhBz2uqsKN4mJMTkyw51JO7C0slGLts77DpyC8n/hmsQByVYR3drLOETqdZH9qUVMk+zrCXay7yk5zs8uHD/tnZbcfKMvWa80dKHvqnfzK/QZEP+JsoCy02v3XDtHVQFkoCG/OvBmci6rs7gbKYkC4NxM7OBcM4slAWSyIfXMmdHAuCCQgJo2khOxnvwExjRczUPYmR+Z+VpL3I2IHylKC8NPM3eA8sN8hejtQlloR/n2C3upKYRd8BcLrjNv37AFx80Fud1GoObMfnLO7KAFzOyhEpbKN22x/7mulp8vvvlZnJ7uv9RvcaKF2r1OFngAAAABJRU5ErkJggg==" id="13"/></item><item><costume name="Highlighted" center-x="25" center-y="25" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAA2JJREFUaEPtmc1vFGUYwH/PLJ0hUSCiwZhsp2yE7CBYY4TowcQSjFwIFxLgwgGjxpZ/QD0I8crBkPhB5C9QEo2cjB6UAwmgJHyUdlc+2s5eDCTqQUP3nTKPmd2KPVR23tmZbUv2ue7z9Xued96PZwV4DRgBlJUrIsBR4DBwdeVyMJyAfAhsB/auYJBv+yDLrHv9jiyzhtDvSL8jBVWguKU1UfY2ixPvFJwdiJaJUURmVOML4pTOBjOzUzlC5QtyrfLY0+6c2afIHoRtwFOABzjzScfALHAXuIzomXsSff3iNH92CZUPyI1NrJ0z7vsCY8Baq6RE7hLribk15vi2CYyV7X/K3YPUfe91RU8BGzMm0TITuI7q4Woj+jmDn+5AaoMDo4h8liHw/5lEohyqNsyXlj6zg9SHvCOq+ollwFTqohy0hMkGMjno7RbR71JllU3pPqqvBI3ol5Tm9iDjZdavctxfgSdTBsmqdttzzNbKdGuX6yT2IDXfOwX6VifPefyu8NGW0CQPv05iBzJRWT3k3I9vLzgXOgXo9ve/DMYfDvmjgyM7kEnfPSbtp3HvRHUsaESf5wbyI6x6xnfPAy/1jiI5X/SHahi9kRvI/E71lfXJ3T31b+Kwszptag9xlX5p1XzvJOg77UO4p2JE5b1qo/lxPiBD7hWU4Z4itIMl87bTQWgO5APiu78DTywBSLIIzgVh89U+yMIK1B6dpfWIfOxLuf1SkpFgqlnP5RtZqgMR+D4Ize7cDsTEUd13jyoc6+nOpToaNKKTuYLMXxpvAaUewRRzaUySn/S9LwR9uxcghV3jk+TbDyuvDpqMeoqUWyXXbN18k2aKIOnvWgud9eKpq+jLW8LoUgqIRCUbSOvDHxwYU5FPUwayVdsfhOa0hVF2kCRIbXDgXUQ6PXos8mkN6A4FoUmeCzbSHUh7S169S4mTAV3FJvIiuuPJgM5icrLQRfcgrc5UWaP33A8ERoF1dkB6R1VO/L3BHN9+icjO9oF2PiD/urv57OMb5kxzHyJ7gOcfMsS+g3CZWM94peibynIZYi9WxfGyt2mgFI+gzg5Fywoq7b8VLmqp9NNzU7MzGau/mFm+HckxMVtXfRDbihWt3+9I0RW29d/viG3FitZ/0JE3gStFRyvQ/wv/ACydagDviq51AAAAAElFTkSuQmCC" id="14"/></item></list></costumes><sounds><list struct="atomic" id="15"></list></sounds><blocks></blocks><variables></variables><scripts><script x="20" y="20"><block s="receiveGo"></block><block s="doSetTempo"><l>80</l></block><custom-block s="Set Backing Track"></custom-block><custom-block s="Set Melody Track"></custom-block><custom-block s="Set Volume of Instrument %txt to %n %"><l></l><l>50</l></custom-block><custom-block s="Set Volume of Instrument %txt to %n %"><l></l><l>50</l></custom-block><custom-block s="Set Volume of Instrument %txt to %n %"><l></l><l>50</l></custom-block><custom-block s="Play Tracks %mult%l Time Signature: %s"><list><custom-block s="%s Track %s Notes %s Durations"><l>violin</l><block var="Melody Track"/><block var="Melody Track Durations"/></custom-block><custom-block s="%s Track %s Notes %s Durations"><l>cello</l><block var="Backing Track"/><block var="Backing Track Durations"/></custom-block><custom-block s="%s Track %s Notes %s Durations"><l>organ</l><block var="Backing Track"/><block var="Backing Track Durations"/></custom-block></list><l>4/4</l></custom-block></script><script x="20" y="285"><custom-block s="Set Instrument To %s"><l>piano</l></custom-block><custom-block s="Play Random Chromatic Scale %s Number of Notes"><l>8</l></custom-block></script><script x="20" y="345"><custom-block s="Set Instrument To %s"><l>piano</l></custom-block><custom-block s="Play Random Major Scale %s Number of Notes %s Scale"><l>8</l><l>C</l></custom-block></script><script x="20" y="405"><custom-block s="Set Instrument To %s"><l>piano</l></custom-block><custom-block s="Play Random Harmonic %s Number of Notes %s Scale %s Harmonic"><l>8</l><l>C</l><block s="reportNewList"><list><l>1</l><l>3</l><l>5</l></list></block></custom-block></script><script x="20" y="469"><custom-block s="Set Instrument To %s"><l>piano</l></custom-block><custom-block s="Set Backing Track"></custom-block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Backing Track"/></block><script><custom-block s="Play %txt For %txt Note Length and Wait"><block s="reportListItem"><block var="i"/><block var="Backing Track"/></block><l>Eighth</l></custom-block></script></block></script></scripts></sprite><watcher var="currentInstrument" style="normal" x="0.1537618533625391" y="0.15376185336104342" color="243,118,29" hidden="true"/><watcher var="List" style="normal" x="2.6033752950022517" y="2.603375295003204" color="243,118,29" hidden="true"/><watcher var="Melody Track Durations" style="normal" x="10.949244281046276" y="33.94265946109072" color="243,118,29" hidden="true"/><watcher var="Backing Track Durations" style="normal" x="135.2975135118147" y="6.150141716943132" color="243,118,29" hidden="true"/><watcher scope="Sprite" s="getVolume" style="normal" x="10" y="10" color="207,74,217" hidden="true"/><watcher scope="Sprite" s="getPan" style="normal" x="10" y="31.000001999999995" color="207,74,217" hidden="true"/><watcher scope="Stage" s="getTempo" style="normal" x="10" y="52.00000399999999" color="207,74,217" hidden="true"/><watcher var="Backing Track" style="normal" x="3.979166666666515" y="3.8333333333333712" color="243,118,29" extX="80" extY="70"/><watcher var="Melody Track" style="normal" x="112.94924428104628" y="3.9426594610907273" color="243,118,29" extX="80" extY="70"/></sprites></stage><hidden> doSetInstrument doRest</hidden><headers></headers><code></code><blocks><block-definition s="List of Minor Scales" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>C</l><block s="reportNewList"><list><block s="reportNewList"><list><l>C</l><l>D</l><l>Eb</l><l>F</l><l>G</l><l>Ab</l><l>Bb</l></list></block><l>7</l></list></block></list></block><block s="reportNewList"><list><l>C#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>C#</l><l>D#</l><l>E</l><l>F#</l><l>G#</l><l>A</l><l>B</l></list></block><l>7</l></list></block></list></block><block s="reportNewList"><list><l>D</l><block s="reportNewList"><list><block s="reportNewList"><list><l>D</l><l>E</l><l>F</l><l>G</l><l>A</l><l>Bb</l><l>C</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>D#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>D#</l><l>E#</l><l>F</l><l>G#</l><l>A#</l><l>B</l><l>C#</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>Eb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Eb</l><l>F</l><l>Gb</l><l>Ab</l><l>Bb</l><l>Cb</l><l>Db</l></list></block><l>5</l></list></block></list></block><block s="reportNewList"><list><l>E</l><block s="reportNewList"><list><block s="reportNewList"><list><l>E</l><l>F#</l><l>G</l><l>A</l><l>B</l><l>C</l><l>D</l></list></block><l>5</l></list></block></list></block><block s="reportNewList"><list><l>F</l><block s="reportNewList"><list><block s="reportNewList"><list><l>F</l><l>G</l><l>Ab</l><l>Bb</l><l>C</l><l>Db</l><l>Eb</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>F#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>F#</l><l>G#</l><l>A</l><l>B</l><l>C#</l><l>D</l><l>E</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>G</l><block s="reportNewList"><list><block s="reportNewList"><list><l>G</l><l>A</l><l>Bb</l><l>C</l><l>D</l><l>Eb</l><l>F</l></list></block><l>3</l></list></block></list></block><block s="reportNewList"><list><l>G#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>G#</l><l>A#</l><l>B</l><l>C#</l><l>D#</l><l>E</l><l>F#</l></list></block><l>3</l></list></block></list></block><block s="reportNewList"><list><l>Ab</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Ab</l><l>Bb</l><l>Cb</l><l>Db</l><l>Eb</l><l>Fb</l><l>Gb</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>A</l><block s="reportNewList"><list><block s="reportNewList"><list><l>A</l><l>B</l><l>C</l><l>D</l><l>E</l><l>F</l><l>G</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>A#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>A#</l><l>B#</l><l>C#</l><l>D#</l><l>E#</l><l>F#</l><l>G#</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>Bb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Bb</l><l>C</l><l>Db</l><l>Eb</l><l>F</l><l>Gb</l><l>Ab</l></list></block><l>1</l></list></block></list></block><block s="reportNewList"><list><l>B</l><block s="reportNewList"><list><block s="reportNewList"><list><l>B</l><l>C#</l><l>D</l><l>E</l><l>F#</l><l>G</l><l>A</l></list></block><l>1</l></list></block></list></block></list></block></block></script></block-definition><block-definition s="List of Major Scales" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>C</l><block s="reportNewList"><list><block s="reportNewList"><list><l>C</l><l>D</l><l>E</l><l>F</l><l>G</l><l>A</l><l>B</l></list></block><l>7</l></list></block></list></block><block s="reportNewList"><list><l>C#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>C#</l><l>D#</l><l>E#</l><l>F#</l><l>G#</l><l>A#</l><l>B#</l></list></block><l>7</l></list></block></list></block><block s="reportNewList"><list><l>Db</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Db</l><l>Eb</l><l>F</l><l>Gb</l><l>Ab</l><l>Bb</l><l>C</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>D</l><block s="reportNewList"><list><block s="reportNewList"><list><l>D</l><l>E</l><l>F#</l><l>G</l><l>A</l><l>B</l><l>C#</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>Eb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Eb</l><l>F</l><l>G</l><l>Ab</l><l>Bb</l><l>C</l><l>D</l></list></block><l>5</l></list></block></list></block><block s="reportNewList"><list><l>E</l><block s="reportNewList"><list><block s="reportNewList"><list><l>E</l><l>F#</l><l>G#</l><l>A</l><l>B</l><l>C#</l><l>D#</l></list></block><l>5</l></list></block></list></block><block s="reportNewList"><list><l>F</l><block s="reportNewList"><list><block s="reportNewList"><list><l>F</l><l>G</l><l>A</l><l>Bb</l><l>C</l><l>D</l><l>E</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>F#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>F#</l><l>G#</l><l>A#</l><l>B</l><l>C#</l><l>D#</l><l>E#</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>Gb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Gb</l><l>Ab</l><l>Bb</l><l>Cb</l><l>Db</l><l>Eb</l><l>F</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>G</l><block s="reportNewList"><list><block s="reportNewList"><list><l>G</l><l>A</l><l>B</l><l>C</l><l>D</l><l>E</l><l>F#</l></list></block><l>3</l></list></block></list></block><block s="reportNewList"><list><l>Ab</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Ab</l><l>Bb</l><l>C</l><l>Db</l><l>Eb</l><l>F</l><l>G</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>A</l><block s="reportNewList"><list><block s="reportNewList"><list><l>A</l><l>B</l><l>C#</l><l>D</l><l>E</l><l>F#</l><l>G#</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>A#</l><block s="reportNewList"><list><block s="reportNewList"><list><l>A#</l><l>B#</l><l>C</l><l>D#</l><l>E#</l><l>F</l><l>G</l></list></block><l>2</l></list></block></list></block><block s="reportNewList"><list><l>Bb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Bb</l><l>C</l><l>D</l><l>Eb</l><l>F</l><l>G</l><l>A</l></list></block><l>1</l></list></block></list></block><block s="reportNewList"><list><l>B</l><block s="reportNewList"><list><block s="reportNewList"><list><l>B</l><l>C#</l><l>D#</l><l>E</l><l>F#</l><l>G#</l><l>A#</l></list></block><l>1</l></list></block></list></block></list></block></block></script></block-definition><block-definition s="Interval %&apos;Note A&apos; Note 1 %&apos;Note B&apos; Note 2 %&apos;Scale&apos; Major Scale" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Position 1</l><l>Position 2</l></list></block><block s="doSetVar"><l>List</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doSetVar"><l>List</l><block s="reportConcatenatedLists"><list><block var="List"/><custom-block s="%s Major Scale %s Octave"><block var="Scale"/><block var="i"/></custom-block></list></block></block></script></block><block s="doFor"><l>j</l><l>1</l><block s="reportListLength"><block var="List"/></block><script><block s="doIf"><block s="reportEquals"><block var="Note A"/><block s="reportListItem"><block var="j"/><block var="List"/></block></block><script><block s="doSetVar"><l>Position 1</l><block var="j"/></block></script></block></script></block><block s="doFor"><l>k</l><l>1</l><block s="reportListLength"><block var="List"/></block><script><block s="doIf"><block s="reportEquals"><block var="Note B"/><block s="reportListItem"><block var="k"/><block var="List"/></block></block><script><block s="doSetVar"><l>Position 2</l><block var="k"/></block></script></block></script></block><block s="doReport"><block s="reportDifference"><block var="Position 2"/><block var="Position 1"/></block></block></script></block-definition><block-definition s="%&apos;Scale&apos; Major Scale Index" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Scale"/><custom-block s="List of Major Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="%&apos;Minor&apos; Minor Scale Index" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Scale"/><custom-block s="List of Minor Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="Scale Progression C + F + G Major" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>C4</l><l>D4</l><l>E4</l><l>F4</l><l>G4</l><l>A4</l><l>B4</l></list></block><custom-block s="%s Major Scale %s Octave"><l>F</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>G</l><l>4</l></custom-block></list></block></block></script></block-definition><block-definition s="Set Backing Track" type="command" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Backing Track</l><custom-block s="Scale %s Sequence"><custom-block s="Scale Progression C + F + G Major"></custom-block></custom-block></block><block s="doSetVar"><l>Backing Track Durations</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Backing Track"/></block><script><block s="doSetVar"><l>Backing Track Durations</l><block s="reportConcatenatedLists"><list><block var="Backing Track Durations"/><block s="reportNewList"><list><l>Half</l></list></block></list></block></block></script></block></script></block-definition><block-definition s="Set Melody Track" type="command" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Melody Track</l><block s="reportNewList"><list><l>C4</l><l>A4</l><l>B4</l><l>A4</l><l>D4</l><l>D4</l><l>A4</l><l>B4</l><l>C4</l><l>C4</l><l>E4</l><l>E4</l><l>F4</l><l>C4</l><l>A4</l><l>B4</l><l>D4</l><l>B4</l><l>A4</l><l>A4</l><l>F4</l><l>G4</l><l>G4</l><l>G4</l></list></block></block><block s="doSetVar"><l>Melody Track Durations</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Melody Track"/></block><script><block s="doSetVar"><l>Melody Track Durations</l><block s="reportConcatenatedLists"><list><block var="Melody Track Durations"/><block s="reportNewList"><list><l>Quarter</l></list></block></list></block></block></script></block></script></block-definition><block-definition s="Play Random Chromatic Scale %&apos;Number of Notes&apos; Number of Notes" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="Number of Notes"/><script><custom-block s="Play %txt For %txt Note Length and Wait"><block s="reportJoinWords"><list><block s="reportListItem"><block s="reportRandom"><l>1</l><block s="reportListLength"><custom-block s="Chromatic Scale"></custom-block></block></block><custom-block s="Chromatic Scale"></custom-block></block><l>4</l></list></block><l>Eighth</l></custom-block></script></block></script></block-definition><block-definition s="Play Random Major Scale %&apos;Number of Notes&apos; Number of Notes %&apos;Scale&apos; Scale" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="Number of Notes"/><script><custom-block s="Play %txt For %txt Note Length and Wait"><block s="reportJoinWords"><list><block s="reportListItem"><block s="reportRandom"><l>1</l><block s="reportListLength"><custom-block s="%s Major Scale"><block var="Scale"/></custom-block></block></block><custom-block s="%s Major Scale"><block var="Scale"/></custom-block></block><l>4</l></list></block><l>Eighth</l></custom-block></script></block></script></block-definition><block-definition s="Play Random Harmonic %&apos;Number of Notes&apos; Number of Notes %&apos;Scale&apos; Scale %&apos;Harmonic&apos; Harmonic" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale Harmonic</l></list></block><block s="doSetVar"><l>Scale Harmonic</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Harmonic"/></block><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><block var="Harmonic"/></block><custom-block s="%s Major Scale"><block var="Scale"/></custom-block></block><block var="Scale Harmonic"/></block></script></block><block s="doFor"><l>i</l><l>1</l><block var="Number of Notes"/><script><custom-block s="Play %txt For %txt Note Length and Wait"><block s="reportJoinWords"><list><block s="reportListItem"><block s="reportRandom"><l>1</l><block s="reportListLength"><block var="Scale Harmonic"/></block></block><block var="Scale Harmonic"/></block><l>4</l></list></block><l>Eighth</l></custom-block></script></block></script></block-definition><block-definition s="%&apos;x&apos;" type="reporter" category="lists"><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="assoc %&apos;key&apos; %&apos;a-list&apos;" type="reporter" category="lists"><comment x="0" y="0" w="289.3333333333333" collapsed="false">The second input is an &quot;association list,&quot; a list of two-item lists.  Each of those smaller lists has a &quot;key&quot; as its first item and a &quot;value&quot; as its second.  ASSOC reports the first key-value pair in the association list whose key matches the first input.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%l"></input></inputs><script><block s="doIf"><block s="reportEquals"><block var="a-list"/><block s="reportNewList"><list></list></block></block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIf"><block s="reportEquals"><block var="key"/><block s="reportListItem"><l>1</l><block s="reportListItem"><l>1</l><block var="a-list"/></block></block></block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="a-list"/></block></block></script></block><block s="doReport"><custom-block s="assoc %s %l"><block var="key"/><block s="reportCDR"><block var="a-list"/></block></custom-block></block></script></block-definition><block-definition s="%&apos;note duration&apos; Note Length" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="note duration"/><custom-block s="Timing"></custom-block></custom-block></block></block></script></block-definition><block-definition s="Look Up %&apos;Key&apos; %&apos;List&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Key"/><block var="List"/></custom-block></block></block></script></block-definition><block-definition s="Scope %&apos;newValue&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%b"></input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>setScopeVisibility(</l><block var="newValue"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Freeze %&apos;bool&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%b"></input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>setFreeze(</l><block var="bool"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Timing" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>Whole</l><l>4</l></list></block><block s="reportNewList"><list><l>Half</l><l>2</l></list></block><block s="reportNewList"><list><l>Quarter</l><l>1</l></list></block><block s="reportNewList"><list><l>Eighth</l><l>.5</l></list></block><block s="reportNewList"><list><l>Sixteenth</l><l>.25</l></list></block><block s="reportNewList"><list><l>Thirtysecond</l><l>.125</l></list></block><block s="reportNewList"><list><l>Dotted Whole</l><l>6</l></list></block><block s="reportNewList"><list><l>Dotted Half</l><l>3</l></list></block><block s="reportNewList"><list><l>Dotted Quarter</l><l>1.5</l></list></block><block s="reportNewList"><list><l>Dotted Eighth</l><l>.75</l></list></block><block s="reportNewList"><list><l>Dotted Sixteenth</l><l>.375</l></list></block><block s="reportNewList"><list><l>Dotted Thirtysecond</l><l>.187</l></list></block></list></block></block></script></block-definition><block-definition s="create %&apos;scope&apos; var %&apos;names&apos;" type="command" category="variables"><comment x="0" y="0" w="146" collapsed="false">This block creates  new variables on the selected scope: global (for all sprites), sprite (for this sprite only) or script (only for that blocks stack) with the names given (in &apos;names&apos; list).&#xD;&#xD;If there is already a variable with that name in that scope, it does nothing: no errors and no overwrites.</comment><header></header><code></code><translations>pt:cria as variáveis _ _&#xD;ca:crea les _ variables _&#xD;es:crear las _ variables _&#xD;de:erstellen _ var _&#xD;</translations><inputs><input type="%s" readonly="true">global<options>global&#xD;sprite&#xD;script</options></input><input type="%mult%txt"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="scope"/><l>script</l></block><script><block s="doForEach"><l>each item</l><block var="names"/><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>if ((typeof varName) != "string" || varName === "") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;if (!proc.homeContext.variables.vars[varName]) proc.homeContext.variables.addVar(varName);</l></block><list><block var="each item"/></list></block></script></block></script><script><block s="doDeclareVariables"><list><l>global</l></list></block><block s="doIfElse"><block s="reportEquals"><block var="scope"/><l>sprite</l></block><script><block s="doSetVar"><l>global</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><script><block s="doSetVar"><l>global</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doForEach"><l>each item</l><block var="names"/><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>global</l><l>proc</l></list><l>if ((typeof varName) != "string" || varName === "") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;if (global &amp;&amp; !proc.homeContext.variables.parentFrame.parentFrame.vars[varName]) this.addVariable(varName, true);&#xD;if (!global &amp;&amp; !proc.homeContext.variables.parentFrame.vars[varName]) this.addVariable(varName, false);</l></block><list><block var="each item"/><block var="global"/></list></block></script></block><block s="doRun"><block s="reportJSFunction"><list></list><l>var ide = this.parentThatIsA(IDE_Morph);&#xD;ide.flushBlocksCache(&apos;variables&apos;); // b/c of inheritance&#xD;ide.refreshPalette();</l></block><list></list></block></script></block></script></block-definition><block-definition s="delete var %&apos;names&apos;" type="command" category="variables"><comment x="0" y="0" w="216.99999999999997" collapsed="false">This block deletes all the variables with the names given (inside input list).&#xD;&#xD;Each name will make only one variable deletion, and this will be the variable found following the scope order: &apos;script&apos; -&gt; &apos;sprite&apos; -&gt; &apos;global&apos;.&#xD;&#xD;If we have a &quot;testing&quot; sprite variable and also a &quot;testing&quot; global one, deleting &quot;testing&quot; will delete only the sprite one (Yes! we can also do &quot;delete var (testing, testing)&quot; to delete both.&#xD;&#xD;If one variable does not exists (in any scope) an error happens, stopping block action in that point. You can check it before with the &quot;does var (name) exists?&quot;block. </comment><header></header><code></code><translations>pt:remove as variáveis _&#xD;ca:esborra les variables _&#xD;es:borrar variables _&#xD;de:löschen var _&#xD;</translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doForEach"><l>each item</l><block var="names"/><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>if ((typeof varName) != "string" || varName === "") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;if (typeof proc.homeContext.variables.vars[varName] !== &apos;undefined&apos;) {&#xD;    delete proc.homeContext.variables.vars[varName];&#xD;} else if (this.deletableVariableNames().indexOf(varName) != -1) {&#xD;    this.deleteVariable(varName);&#xD;} else {&#xD;    throw new Error("variable doesn&apos;t exist: " + varName);&#xD;}</l></block><list><block var="each item"/></list></block></script></block><block s="doRun"><block s="reportJSFunction"><list></list><l>var ide = this.parentThatIsA(IDE_Morph);&#xD;ide.flushBlocksCache(&apos;variables&apos;); // b/c of inheritance&#xD;ide.refreshPalette();</l></block><list></list></block></script></block-definition><block-definition s="set var %&apos;name&apos; to %&apos;value&apos;" type="command" category="variables"><comment x="0" y="0" w="240.49316406249991" collapsed="false">This block sets the given value (last input) to the variable named with the name givent (var input).&#xD;&#xD;It looks for that variable following the scope order &apos;script&apos; -&gt; &apos;sprite&apos; -&gt; &apos;global&apos; (the first match it finds).&#xD;&#xD;If that variable does not exist (in any scope) an error happens, stopping their script. You can check it before using the &quot;does var (name) exists?&quot; block. </comment><header></header><code></code><translations>ca:assigna a _ el valor _&#xD;es:asignar a _ el valor _&#xD;pt:altera _ para _&#xD;de:setze var _ auf _&#xD;</translations><inputs><input type="%s"><options>§_getVarNamesDict</options></input><input type="%s"></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>value</l><l>proc</l></list><l>if ((typeof varName) != "string") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;proc.homeContext.variables.setVar(varName, value);</l></block><list><block var="name"/><block var="value"/></list></block></script></block-definition><block-definition s="var %&apos;name&apos;" type="reporter" category="variables"><comment x="0" y="0" w="178.00000000000003" collapsed="false">This block reports the value of the variable with the name given.&#xD;&#xD;It looks for that variable following the scope order &apos;script&apos; -&gt; &apos;sprite&apos; -&gt; &apos;global&apos; (the first match it finds).&#xD;&#xD;If that variable does not exist (in any scope) an error happens, stopping their script. You can check it before using the &quot;does var (name) exists?&quot; block. </comment><header></header><code></code><translations>pt:o valor de _&#xD;</translations><inputs><input type="%s"><options>§_getVarNamesDict</options></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>if ((typeof varName) != "string") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;return proc.homeContext.variables.getVar(varName);</l></block><list><block var="name"/></list></block></block></script></block-definition><block-definition s="does var %&apos;name&apos; exist?" type="predicate" category="variables"><comment x="0" y="0" w="146" collapsed="false">This block reports &quot;true&quot; if there is a variable with this given name (input slot) in that context.&#xD;&#xD;It can be a global, sprite or script variable.&#xD;&#xD;Otherwise it reports &quot;false&quot;.</comment><header></header><code></code><translations>pt:a variável _ existe&#xD;ca:existeix la variable _ ?&#xD;es:existe la variable _ ?&#xD;de:existiert var _ ?&#xD;</translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>if ((typeof varName) != "string" || varName === "") {&#xD;    throw new Error("name isn&apos;t a string: " + varName);&#xD;}&#xD;return proc.homeContext.variables.silentFind(varName)? true:false;</l></block><list><block var="name"/></list></block></block></script></block-definition><block-definition s="show var %&apos;name&apos;" type="command" category="variables"><comment x="0" y="0" w="181" collapsed="false">This block turns on (show) the watcher view on stage (if it was not already activated) of the variable with the given name (slot input).&#xD;&#xD;It can only access to the closest variable scope (if there different variables with the same name in different scopes) following the order &apos;script&apos; -&gt; &apos;sprite&apos; -&gt; &apos;global&apos;.&#xD;&#xD;No errors if that variable does not exist.</comment><header></header><code></code><translations>ca:mostra la variable _&#xD;es:mostrar variable _&#xD;pt:mostra a variável _&#xD;de:zeige var _&#xD;</translations><inputs><input type="%s"><options>§_getVarNamesDict</options></input></inputs><script><block s="doIf"><custom-block s="does var %s exist?"><block var="name"/></custom-block><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>    var varFrame = proc.homeContext.variables,&#xD;        stage,&#xD;        watcher,&#xD;        target,&#xD;        label,&#xD;        others,&#xD;        isGlobal,&#xD;        name = varName;&#xD;&#xD;    if (name instanceof Context) {&#xD;        if (name.expression.selector === &apos;reportGetVar&apos;) {&#xD;            name = name.expression.blockSpec;&#xD;        } else {&#xD;            proc.doChangePrimitiveVisibility(name.expression, false);&#xD;            return;&#xD;        }&#xD;    }&#xD;    if (proc.homeContext.receiver) {&#xD;        stage = proc.homeContext.receiver.parentThatIsA(StageMorph);&#xD;        if (stage) {&#xD;            target = varFrame.silentFind(name);&#xD;            if (!target) {return; }&#xD;            // first try to find an existing (hidden) watcher&#xD;            watcher = detect(&#xD;                stage.children,&#xD;                morph =&gt; morph instanceof WatcherMorph &amp;&amp;&#xD;                    morph.target === target &amp;&amp;&#xD;                        morph.getter === name&#xD;            );&#xD;            if (watcher !== null) {&#xD;                watcher.show();&#xD;                watcher.fixLayout(); // re-hide hidden parts&#xD;                return;&#xD;            }&#xD;            // if no watcher exists, create a new one&#xD;            isGlobal = contains(&#xD;                proc.homeContext.receiver.globalVariables().names(),&#xD;                varName&#xD;            );&#xD;            if (isGlobal || target.owner) {&#xD;                label = name;&#xD;            } else {&#xD;                label = name + &apos; &apos; + localize(&apos;(temporary)&apos;);&#xD;            }&#xD;            watcher = new WatcherMorph(&#xD;                label,&#xD;                SpriteMorph.prototype.blockColor.variables,&#xD;                target,&#xD;                name&#xD;            );&#xD;            watcher.setPosition(stage.position().add(10));&#xD;            others = stage.watchers(watcher.left());&#xD;            if (others.length &gt; 0) {&#xD;                watcher.setTop(others[others.length - 1].bottom());&#xD;            }&#xD;            stage.add(watcher);&#xD;            watcher.fixLayout();&#xD;        }&#xD;    }</l></block><list><block var="name"/></list></block></script></block></script></block-definition><block-definition s="hide var %&apos;name&apos;" type="command" category="variables"><comment x="0" y="0" w="181" collapsed="false">This block turns off (hide) the watcher view on stage (if it was not already activated) of the variable with the given name (slot input).&#xD;&#xD;It can only access to the closest variable scope (if there different variables with the same name in different scopes) following the order &apos;script&apos; -&gt; &apos;sprite&apos; -&gt; &apos;global&apos;.&#xD;&#xD;No errors if that variable does not exist.</comment><header></header><code></code><translations>ca:amaga la variable _&#xD;es:esconder variable _&#xD;pt:esconde a variável _&#xD;de:verstecke var _&#xD;</translations><inputs><input type="%s"><options>§_getVarNamesDict</options></input></inputs><script><block s="doIf"><custom-block s="does var %s exist?"><block var="name"/></custom-block><script><block s="doRun"><block s="reportJSFunction"><list><l>varName</l><l>proc</l></list><l>    // to delete all temporary watchers, use the primitive "hide" with no inputs&#xD;    var varFrame = proc.homeContext.variables,&#xD;        stage,&#xD;        watcher,&#xD;        target,&#xD;        name = varName;&#xD;&#xD;    if (name instanceof Context) {&#xD;        if (name.expression.selector === &apos;reportGetVar&apos;) {&#xD;            name = name.expression.blockSpec;&#xD;        } else {&#xD;            proc.doChangePrimitiveVisibility(name.expression, true);&#xD;            return;&#xD;        }&#xD;    }&#xD;    if (!name) {&#xD;        proc.doRemoveTemporaries();&#xD;        return;&#xD;    }&#xD;    if (proc.homeContext.receiver) {&#xD;        stage = proc.homeContext.receiver.parentThatIsA(StageMorph);&#xD;        if (stage) {&#xD;            target = varFrame.find(name);&#xD;            watcher = detect(&#xD;                stage.children,&#xD;                morph =&gt; morph instanceof WatcherMorph &amp;&amp;&#xD;                    morph.target === target &amp;&amp;&#xD;                        morph.getter === name&#xD;            );&#xD;            if (watcher !== null) {&#xD;                if (watcher.isTemporary()) {&#xD;                    watcher.destroy();&#xD;                } else {&#xD;                    watcher.hide();&#xD;                }&#xD;            }&#xD;        }&#xD;    }&#xD;</l></block><list><block var="name"/></list></block></script></block></script></block-definition><block-definition s="SendMessageToSoundScope %&apos;message&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>message</l></list><l>window.parent.postMessage(message, "*");</l></block><list><block var="message"/></list></block><block s="doBroadcast"><block var="message"/></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="sound named %&apos;name&apos;" type="reporter" category="sensing"><header></header><code></code><translations>pt:o som _&#xD;</translations><inputs><input type="%s"><options>§_soundsMenu</options></input></inputs><script><block s="doReport"><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportEquals"><block s="reportGetSoundAttribute"><l><option>name</option></l><l></l></block><block var="name"/></block></autolambda><list></list></block><block s="reportGet"><l><option>sounds</option></l></block></block></block></script></block-definition><block-definition s="$circleSolid-1-255-0-0 record" type="reporter" category="sensing"><comment x="0" y="0" w="191.99999999999997" 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;</translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>test</l><l>pic</l></list></block><block s="doSetVar"><l>test</l><block s="evaluate"><block s="reportJSFunction"><list></list><l>var soundRecorder,&#xD;    result = false;&#xD;&#xD;soundRecorder = new SoundRecorderDialogMorph(&#xD;    function (audio) {&#xD;        if (audio) {&#xD;            result = new Sound(audio, &apos;recording&apos;);&#xD;        } else {&#xD;            result = null;&#xD;            this.destroy();&#xD;        }&#xD;    }&#xD;);&#xD;&#xD;soundRecorder.cancel = function () {&#xD;    result = null;&#xD;    this.destroy();&#xD;};&#xD;&#xD;soundRecorder.key = &apos;microphone&apos;;&#xD;soundRecorder.popUp(this.world());&#xD;return function () {return result; };</l></block><list></list></block></block><block s="doWaitUntil"><block s="evaluate"><block s="reifyScript"><script><block s="doSetVar"><l>pic</l><block s="evaluate"><block var="test"/><list></list></block></block><block s="doReport"><block s="reportNot"><block s="reportEquals"><block var="pic"/><block s="reportBoolean"><l><bool>false</bool></l></block></block></block></block></script><list></list></block><list></list></block></block><block s="doReport"><block var="pic"/></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;</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="reportOr"><block s="reportIsA"><block var="name"/><l><option>list</option></l></block><block s="reportIsA"><block var="name"/><l><option>sound</option></l></block></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="reportProduct"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></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="reportListLength"><block s="reportListItem"><l>1</l><block var="samples"/></block></block><block s="reportProduct"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></block></block></block><block s="doSetVar"><l>offset</l><block s="reportQuotient"><block s="reportAttributeOf"><l><option>height</option></l><l>Stage</l></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><l>Stage</l></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="reportProduct"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></block><script><block s="doChangeVar"><l>i</l><block var="step"/></block><block s="gotoXY"><block s="reportSum"><block s="xPosition"></block><l>0.5</l></block><block s="reportSum"><block s="reportProduct"><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></block><block var="offset"/></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><l>Stage</l></block><l>-2</l></block></block></script></block></script><script><block s="doSetVar"><l>step</l><block s="reportQuotient"><block s="reportListLength"><block var="samples"/></block><block s="reportProduct"><block s="reportAttributeOf"><l><option>width</option></l><block s="reportGet"><l><option>stage</option></l></block></block><l>2</l></block></block></block><block s="gotoXY"><block s="reportQuotient"><block s="reportAttributeOf"><l><option>width</option></l><l>Stage</l></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="reportProduct"><block s="reportAttributeOf"><l><option>width</option></l><l>Stage</l></block><l>2</l></block><script><block s="doChangeVar"><l>i</l><block var="step"/></block><block s="gotoXY"><block s="reportSum"><block s="xPosition"></block><l>0.5</l></block><block s="reportProduct"><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></block></block></script></block></script></custom-block><block s="up"></block></script></block></script></block-definition><block-definition s="error %&apos;msg&apos;" type="command" category="other"><header></header><code></code><translations>pt:lança o erro _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>msg</l></list><l>throw new Error(msg);</l></block><list><block var="msg"/></list></block></script></block-definition><block-definition s="Play Tracks %&apos;tracks&apos; Time Signature: %&apos;timeSignature&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%mult%l"></input><input type="%s" readonly="true">4/4<options>4/4&#xD;3/4&#xD;5/4&#xD;7/4&#xD;6/8&#xD;9/8&#xD;12/8</options></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>tracks,timeSignature,tempo</l></list><l>window.parent.playTracks &amp;&amp; window.parent.playTracks(tracks, timeSignature, tempo)</l></block><list><block var="tracks"/><block var="timeSignature"/><block s="getTempo"></block></list></block></script></block-definition><block-definition s="Position of Notes in Major Scale" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>3</l><l>5</l><l>6</l><l>8</l><l>10</l><l>12</l></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Major Chord %&apos;Octave&apos; Octave (Dependency)" type="reporter" category="other"><comment x="0" y="0" w="90" collapsed="false">Reports the notes of a major chord, given the starting note and octave of the chord.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportListItem"><l>1</l><custom-block s="%s Major Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="%s Major Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="%s Major Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="Position of Notes in Minor Scale" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>3</l><l>4</l><l>6</l><l>8</l><l>9</l><l>11</l></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor Chord %&apos;Octave&apos; Octave (Dependency)" type="reporter" category="other"><comment x="0" y="0" w="90" collapsed="false">Reports the notes of a minor chord, given the starting note and octave of the chord.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportListItem"><l>1</l><custom-block s="%s Minor Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="%s Minor Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="%s Minor Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Major/Major %&apos;Octave&apos; Octave %&apos;Position&apos; Chord Position" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="%s Major Chord %s Octave (Dependency)"><block s="reportListItem"><block var="Position"/><custom-block s="%s Major Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block><comment w="235.83333333333334" collapsed="false">Given a starting scale and octave, this block will find the corresponding chord for each note in that scale.</comment></block></script></block-definition><block-definition s="%&apos;Note&apos; Major/Minor %&apos;Octave&apos; Octave %&apos;Position&apos; Chord Position" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="%s Minor Chord %s Octave (Dependency)"><block s="reportListItem"><block var="Position"/><custom-block s="%s Major Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block><comment w="107.5" collapsed="false">Given a starting scale and octave, this block will find the corresponding chord for each note in that scale.</comment></block></script></block-definition><block-definition s="Notes of %&apos;Scale&apos; before %&apos;Note&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Scale"/></block><script><block s="doIfElse"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="i"/><block var="Scale"/></block><block var="Note"/></block></block><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><block var="Scale"/></block><block var="Subscale"/></block></script><script><block s="doReport"><block var="Subscale"/></block></script></block></script></block></script></block-definition><block-definition s="Notes of %&apos;Scale&apos; after %&apos;Note&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><block s="reportListLength"><block var="Scale"/></block><l>1</l><script><block s="doIfElse"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="i"/><block var="Scale"/></block><block var="Note"/></block></block><script><block s="doInsertInList"><block s="reportListItem"><block var="i"/><block var="Scale"/></block><l>1</l><block var="Subscale"/></block></script><script><block s="doReport"><block var="Subscale"/></block></script></block></script></block></script></block-definition><block-definition s="%&apos;Note&apos; Diminished Scale" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block var="Note"/></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></list></block><comment w="139.16666666666669" collapsed="false">Arranges the Chromatic scale to begin with the input note.</comment></block><block s="doFor"><l>i</l><l>1</l><l>8</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Diminished Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/></block></script><comment w="90" collapsed="false">Selects the notes of the Diminished scale from the Chromatic scale.</comment></block><block s="doReport"><block var="Subscale"/></block></script><scripts><comment x="248.7962239583335" y="10" w="268.33333333333337" collapsed="false">Reports all notes in a given diminished scale in order, beginning with the input note. Does not include octave.</comment></scripts></block-definition><block-definition s="Position of Notes in Diminished Scale" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>3</l><l>4</l><l>6</l><l>7</l><l>9</l><l>10</l><l>12</l></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Diminished Chord %&apos;Octave&apos; Octave" type="reporter" category="other"><comment x="0" y="0" w="90" collapsed="false">Reports the notes of a diminished chord, given the starting note and octave of the chord.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportListItem"><l>1</l><custom-block s="%s Diminished Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="%s Diminished Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="%s Diminished Scale %s Octave"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="Major Scale - Major Chords" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>4</l><l>5</l></list></block></block></script></block-definition><block-definition s="Major Scale - Minor Chords" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>2</l><l>3</l><l>6</l></list></block></block></script></block-definition><block-definition s="Roman Numeral Conversion" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>I</l><l>1</l></list></block><block s="reportNewList"><list><l>II</l><l>2</l></list></block><block s="reportNewList"><list><l>III</l><l>3</l></list></block><block s="reportNewList"><list><l>IV</l><l>4</l></list></block><block s="reportNewList"><list><l>V</l><l>5</l></list></block><block s="reportNewList"><list><l>VI</l><l>6</l></list></block><block s="reportNewList"><list><l>VII</l><l>7</l></list></block></list></block></block></script></block-definition><block-definition s="Converted %&apos;Roman Numeral&apos; Roman Numeral" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Roman Numeral"/><custom-block s="Roman Numeral Conversion"></custom-block></custom-block></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Major Scale" type="reporter" category="other"><comment x="0" y="0" w="302.47753906249994" collapsed="false">Reports all notes in a given major scale in order, beginning with the input note. Does not include octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block var="Note"/></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></list></block><comment w="166.66666666666669" collapsed="false">Arranges the Chromatic scale to begin with the input note.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Major Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/><comment w="130.83333333333334" collapsed="false">Selects the notes of the Major scale from the Chromatic scale.</comment></block></script></block><block s="doReport"><block var="Subscale"/></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor Scale" type="reporter" category="other"><comment x="0" y="0" w="348.72753906250006" collapsed="false">Reports all notes in a given minor scale in order, beginning with the input note. Does not include octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block var="Note"/></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></list></block><comment w="186.25" collapsed="false">Arranges the Chromatic scale to begin with the input note.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Minor Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/><comment w="90" collapsed="false">Selects the notes of the Minor scale from the Chromatic scale.</comment></block></script></block><block s="doReport"><block var="Subscale"/></block></script></block-definition><block-definition s="Minor Scale - Major Chords" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>3</l><l>6</l><l>7</l></list></block></block></script></block-definition><block-definition s="Minor Scale - Minor Chords" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>4</l><l>5</l></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Diminished Scale %&apos;Octave&apos; Octave" type="reporter" category="other"><comment x="0" y="0" w="296.6563151041664" collapsed="false">Reports all notes in a given diminished scale in order, beginning with the input note and octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportJoinWords"><list><block var="Note"/><block var="Octave"/></list></block></list></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportSum"><block var="Octave"/><l>1</l></block></list></block></autolambda><list></list></block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block></list></block><comment w="90" collapsed="false">Arranges the Chromatic scale to begin with the input note and octave.</comment></block><block s="doFor"><l>i</l><l>1</l><l>8</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Diminished Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/><comment w="90" collapsed="false">Selects the notes of the Diminished scale from the Chromatic scale.</comment></block></script></block><block s="doReport"><block var="Subscale"/></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor/Major %&apos;Octave&apos; Octave %&apos;Position&apos; Chord Position" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="%s Major Chord %s Octave (Dependency)"><block s="reportListItem"><block var="Position"/><custom-block s="%s Minor Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block><comment w="235.83333333333334" collapsed="false">Given a starting scale and octave, this block will find the corresponding chord for each note in that scale.</comment></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor/Minor %&apos;Octave&apos; Octave %&apos;Position&apos; Chord Position" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="%s Minor Chord %s Octave (Dependency)"><block s="reportListItem"><block var="Position"/><custom-block s="%s Minor Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block><comment w="107.5" collapsed="false">Given a starting scale and octave, this block will find the corresponding chord for each note in that scale.</comment></block></script></block-definition><block-definition s="Set Instrument To %&apos;instrument name&apos;" type="command" category="sound"><comment x="0" y="0" w="90" collapsed="false">Sets the global instrument used for playing notes to the selected instrument.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>piano&#xD;organ&#xD;acoustic guitar&#xD;electric guitar&#xD;electric bass (finger)&#xD;ukulele&#xD;banjo&#xD;violin&#xD;cello&#xD;bass drum&#xD;snare&#xD;mid tom&#xD;high tom&#xD;crash cymbal&#xD;closed hi-hat&#xD;open hi-hat&#xD;cabasa</options></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>instrumentName</l></list><l>window.parent.changeInstrument &amp;&amp; window.parent.changeInstrument(instrumentName)</l></block><list><block var="instrument name"/></list></block><block s="doIfElse"><custom-block s="does var %s exist?"><l>currentInstrument</l></custom-block><script><block s="doWaitUntil"><block s="reportIsIdentical"><block var="currentInstrument"/><block var="instrument name"/></block></block></script><script><block s="doWait"><l>0.1</l></block></script></block></script></block-definition><block-definition s="Set Volume To %&apos;Percent&apos; %" type="command" category="sound"><comment x="0" y="0" w="402.99999999999994" collapsed="false">Sets the global volume percentage used when playing notes to the provided value. </comment><header></header><code></code><translations></translations><inputs><input type="%n">50</input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>setVolumePercent(</l><block var="Percent"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Set Volume of Instrument %&apos;Instrument&apos; to %&apos;VolumePercent&apos; %" type="command" category="sound"><comment x="0" y="0" w="243.00000000000003" collapsed="false">Sets the default volume percentage of the selected instrument to the specified number.</comment><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true"><options>acoustic guitar&#xD;electric guitar&#xD;piano&#xD;organ&#xD;banjo&#xD;electric bass (finger)&#xD;ukulele&#xD;cabasa&#xD;snare&#xD;bass drum&#xD;closed hi-hat&#xD;open hi-hat&#xD;mid tom&#xD;high tom&#xD;crash cymbal</options></input><input type="%n">50</input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>setVolumeOfInstrument(</l><block var="Instrument"/><l>,</l><block var="VolumePercent"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Play %&apos;Note&apos; for %&apos;Note Length&apos; Note Length" type="command" category="sound"><comment x="0" y="0" w="714" collapsed="false">Starts to play the selected note for the specified number of seconds. A full list of acceptable notes can be found by using the dropdown. This block does not wait for the selected note to finish playing.</comment><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true"><options>C2&#xD;C#2&#xD;D2&#xD;D#2&#xD;E2&#xD;F2&#xD;F#2&#xD;G2&#xD;G#2&#xD;A2&#xD;A#2&#xD;B2&#xD;C3&#xD;C#3&#xD;D3&#xD;D#3&#xD;E3&#xD;F3&#xD;F#3&#xD;G3&#xD;G#3&#xD;A3&#xD;A#3&#xD;B3&#xD;C4&#xD;C#4&#xD;D4&#xD;D#4&#xD;E4&#xD;F4&#xD;F#4&#xD;G4&#xD;G#4&#xD;A4&#xD;A#4&#xD;B4&#xD;C5&#xD;C#5&#xD;D5&#xD;D#5&#xD;E5&#xD;F5&#xD;F#5&#xD;G5&#xD;G#5&#xD;A5&#xD;A#5&#xD;B5</options></input><input type="%txt" readonly="true"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;Dotted Thirtysecond</options></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>note</l><l>noteLength</l></list><l>window.parent.playNote &amp;&amp; window.parent.playNote(note, noteLength)</l></block><list><block var="Note"/><custom-block s="%txt Note Length"><block var="Note Length"/></custom-block></list></block></script></block-definition><block-definition s="Play %&apos;Note&apos; For %&apos;Duration&apos; Note Length and Wait" type="command" category="sound"><comment x="0" y="0" w="638" collapsed="false">Plays the selected note for the specified number of seconds. A full list of acceptable notes can be found by using the dropdown. This block waits for the selected note to finish playing.</comment><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true"><options>C2&#xD;C#2&#xD;D2&#xD;D#2&#xD;E2&#xD;F2&#xD;F#2&#xD;G2&#xD;G#2&#xD;A2&#xD;A#2&#xD;B2&#xD;C3&#xD;C#3&#xD;D3&#xD;D#3&#xD;E3&#xD;F3&#xD;F#3&#xD;G3&#xD;G#3&#xD;A3&#xD;A#3&#xD;B3&#xD;C4&#xD;C#4&#xD;D4&#xD;D#4&#xD;E4&#xD;F4&#xD;F#4&#xD;G4&#xD;G#4&#xD;A4&#xD;A#4&#xD;B4&#xD;C5&#xD;C#5&#xD;D5&#xD;D#5&#xD;E5&#xD;F5&#xD;F#5&#xD;G5&#xD;G#5&#xD;A5&#xD;A#5&#xD;B5</options></input><input type="%txt" readonly="true"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;Dotted Thirtysecond</options></input></inputs><script><custom-block s="Play %txt for %txt Note Length"><block var="Note"/><block var="Duration"/></custom-block><custom-block s="Rest for %s Length of Time"><block var="Duration"/></custom-block></script></block-definition><block-definition s="Rest for %&apos;Length&apos; Length of Time" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;Dotted Thirtysecond</options></input></inputs><script><block s="doWait"><block s="reportProduct"><custom-block s="%txt Note Length"><block var="Length"/></custom-block><block s="reportQuotient"><l>60</l><block s="getTempo"></block></block></block></block></script></block-definition><block-definition s="Play Chord %&apos;Chord&apos; for Duration %&apos;Duration&apos;" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s" readonly="true"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;Dotted Thirtysecond</options></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Chord"/></block><script><custom-block s="Play %txt for %txt Note Length"><block s="reportListItem"><block var="i"/><block var="Chord"/></block><block var="Duration"/></custom-block></script></block><custom-block s="Rest for %s Length of Time"><block var="Duration"/></custom-block></script></block-definition><block-definition s="Chromatic Scale" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><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><l>A</l><l>A#</l><l>B</l></list></block></block></script></block-definition><block-definition s="Chromatic Scale Beginning with %&apos;Note&apos; (Initial Note)" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l></list></block><block s="doSetVar"><l>Scale</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><custom-block s="Position of %s Note in the Chromatic Scale"><block var="Note"/></custom-block><l>12</l><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><custom-block s="Chromatic Scale"></custom-block></block><block var="Scale"/></block></script></block><block s="doFor"><l>i</l><l>1</l><block s="reportDifference"><custom-block s="Position of %s Note in the Chromatic Scale"><block var="Note"/></custom-block><l>1</l></block><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><custom-block s="Chromatic Scale"></custom-block></block><block var="Scale"/></block></script></block><block s="doIf"><block s="reportEquals"><block var="Note"/><l>C</l></block><script><block s="doRepeat"><l>2</l><script><block s="doDeleteFromList"><l><option>last</option></l><block var="Scale"/></block></script></block></script></block><block s="doReport"><block var="Scale"/></block></script></block-definition><block-definition s="Position of %&apos;Note&apos; Note in the Chromatic Scale" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><l>12</l><script><block s="doIf"><block s="reportEquals"><block var="Note"/><block s="reportListItem"><block var="i"/><custom-block s="Chromatic Scale"></custom-block></block></block><script><block s="doReport"><block var="i"/></block></script></block></script></block></script></block-definition><block-definition s="%&apos;Note&apos; Major Scale %&apos;Octave&apos; Octave" type="reporter" category="sound"><comment x="0" y="0" w="354.8333984374997" collapsed="false">Reports all notes in a given minor scale in order, beginning with the input note and octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Scale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportJoinWords"><list><block var="Note"/><block var="Octave"/></list></block></list></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportSum"><block var="Octave"/><l>1</l></block></list></block></autolambda><list></list></block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block></list></block><comment w="90" collapsed="false">Arranges the Chromatic scale to begin with the input note and octave.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Major Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/></block></script><comment w="90" collapsed="false">Selects the notes of the Minor scale from the Chromatic scale.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="i"/><block var="Subscale"/></block></block><block s="reportLetter"><l>1</l><block s="reportListItem"><block s="reportDifference"><block var="i"/><l>1</l></block><block var="Subscale"/></block></block></block><script><block s="doReplaceInList"><block var="i"/><block var="Subscale"/><block s="reportJoinWords"><list><block s="reportListItem"><block s="reportSum"><custom-block s="Position of %s Note in the Chromatic Scale"><custom-block s="Get Note %s from Scientific Notation"><block s="reportListItem"><block var="i"/><block var="Subscale"/></block></custom-block></custom-block><l>1</l></block><custom-block s="Chromatic Scale"></custom-block></block><l>b</l></list></block></block></script><comment w="90" collapsed="false">If two adjacent notes in the subscale start with the same note, the second one is replaced with the corresponding notation for the next note in the chromatic scale.</comment></block></script></block><block s="doReport"><block var="Subscale"/></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor Scale %&apos;Octave&apos; Octave" type="reporter" category="sound"><comment x="0" y="0" w="354.8333984374997" collapsed="false">Reports all notes in a given minor scale in order, beginning with the input note and octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Scale</l><l>Subscale</l></list></block><block s="doSetVar"><l>Subscale</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Scale</l><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportJoinWords"><list><block var="Note"/><block var="Octave"/></list></block></list></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><custom-block s="Notes of %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportSum"><block var="Octave"/><l>1</l></block></list></block></autolambda><list></list></block><custom-block s="Notes of %s before %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block></block></list></block><comment w="90" collapsed="false">Arranges the Chromatic scale to begin with the input note and octave.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Position of Notes in Minor Scale"></custom-block></block><block var="Scale"/></block><block var="Subscale"/></block></script><comment w="90" collapsed="false">Selects the notes of the Minor scale from the Chromatic scale.</comment></block><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="i"/><block var="Subscale"/></block></block><block s="reportLetter"><l>1</l><block s="reportListItem"><block s="reportDifference"><block var="i"/><l>1</l></block><block var="Subscale"/></block></block></block><script><block s="doReplaceInList"><block var="i"/><block var="Subscale"/><block s="reportJoinWords"><list><block s="reportListItem"><block s="reportSum"><custom-block s="Position of %s Note in the Chromatic Scale"><custom-block s="Get Note %s from Scientific Notation"><block s="reportListItem"><block var="i"/><block var="Subscale"/></block></custom-block></custom-block><l>1</l></block><custom-block s="Chromatic Scale"></custom-block></block><l>b</l></list></block></block></script><comment w="90" collapsed="false">If two adjacent notes in the subscale start with the same note, the second one is replaced with the corresponding notation for the next note in the chromatic scale.</comment></block></script></block><block s="doReport"><block var="Subscale"/></block></script></block-definition><block-definition s="%&apos;Note&apos; Major Scale %&apos;Octave&apos; Octave %&apos;Position&apos; Note Position" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><block var="Position"/><custom-block s="%s Major Scale"><block var="Note"/></custom-block></block><block var="Octave"/></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor Scale %&apos;Octave&apos; Octave %&apos;Position&apos; Note Position" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><block var="Position"/><custom-block s="%s Minor Scale"><block var="Note"/></custom-block></block><block var="Octave"/></list></block></block></script></block-definition><block-definition s="note builder (letter %&apos;letter&apos; symbol %&apos;symbol&apos; octave %&apos;octave&apos; )" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s">C<options>A&#xD;B&#xD;C&#xD;D&#xD;E&#xD;F&#xD;G</options></input><input type="%s"><options>#&#xD;b</options></input><input type="%s">4<options>1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doIf"><block s="reportEquals"><block var="symbol"/><l>b</l></block><script><block s="doDeclareVariables"><list><l>notes</l><l>index</l></list></block><block s="doSetVar"><l>notes</l><block s="reportNewList"><list><l>A</l><l>B</l><l>C</l><l>D</l><l>E</l><l>F</l><l>G</l></list></block></block><block s="doSetVar"><l>index</l><block s="reportListIndex"><block var="letter"/><block var="notes"/></block></block><block s="doIfElse"><block s="reportEquals"><block var="index"/><l>1</l></block><script><block s="doSetVar"><l>index</l><l>7</l></block></script><script><block s="doSetVar"><l>index</l><block s="reportDifference"><block s="reportListIndex"><block var="letter"/><block var="notes"/></block><l>1</l></block></block></script></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="letter"/><l>C</l></block><block s="reportEquals"><block var="letter"/><l>F</l></block></block><script><block s="doSetVar"><l>symbol</l><l></l></block></script><script><block s="doSetVar"><l>symbol</l><l>#</l></block></script></block><block s="doSetVar"><l>letter</l><block s="reportListItem"><block var="index"/><block var="notes"/></block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block var="letter"/><block var="symbol"/><block var="octave"/></list></block></block></script></block-definition><block-definition s="%&apos;Note&apos; Major %&apos;Octave&apos; Octave %&apos;Roman Numeral&apos; Chord" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s" readonly="true"><options>I&#xD;ii&#xD;iii&#xD;IV&#xD;V&#xD;vi&#xD;vii</options></input></inputs><script><block s="doIf"><block s="reportListContainsItem"><custom-block s="Major Scale - Major Chords"></custom-block><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="%s Major/Major %s Octave %s Chord Position"><block var="Note"/><block var="Octave"/><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></custom-block></block></script></block><block s="doIf"><block s="reportListContainsItem"><custom-block s="Major Scale - Minor Chords"></custom-block><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="%s Major/Minor %s Octave %s Chord Position"><block var="Note"/><block var="Octave"/><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block><l>7</l></block><script><block s="doReport"><custom-block s="%s Diminished Chord %s Octave"><block s="reportListItem"><l>8</l><custom-block s="%s Diminished Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;Note&apos; Minor %&apos;Octave&apos; Octave %&apos;Roman Numeral&apos; Chord" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s" readonly="true"><options>i&#xD;ii&#xD;III&#xD;iv&#xD;v&#xD;VI&#xD;VII</options></input></inputs><script><block s="doIf"><block s="reportListContainsItem"><custom-block s="Minor Scale - Major Chords"></custom-block><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="%s Minor/Major %s Octave %s Chord Position"><block var="Note"/><block var="Octave"/><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></custom-block></block></script></block><block s="doIf"><block s="reportListContainsItem"><custom-block s="Minor Scale - Minor Chords"></custom-block><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="%s Minor/Minor %s Octave %s Chord Position"><block var="Note"/><block var="Octave"/><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><custom-block s="Converted %s Roman Numeral"><block var="Roman Numeral"/></custom-block><l>2</l></block><script><block s="doReport"><custom-block s="%s Diminished Chord %s Octave"><block s="reportListItem"><l>2</l><custom-block s="%s Diminished Scale"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script></block></script></block-definition><block-definition s="%&apos;Instrument&apos; Track %&apos;notes&apos; Notes %&apos;durations&apos; Durations" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>piano&#xD;organ&#xD;acoustic guitar&#xD;electric guitar&#xD;electric bass (finger)&#xD;ukulele&#xD;banjo&#xD;violin&#xD;cello</options></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="notes"/><block var="durations"/><block var="Instrument"/><l>melody</l></list></block></block></script></block-definition><block-definition s="%&apos;Instrument&apos; Track %&apos;chords&apos; Chords %&apos;durations&apos; Durations" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>piano&#xD;organ&#xD;acoustic guitar&#xD;electric guitar&#xD;electric bass (finger)&#xD;ukulele&#xD;banjo&#xD;violin&#xD;cello</options></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="chords"/><block var="durations"/><block var="Instrument"/><l>chords</l></list></block></block></script></block-definition><block-definition s="%&apos;Instrument&apos; Track Repeat %&apos;notes&apos; Notes %&apos;Durations&apos; Durations until Done" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>piano&#xD;organ&#xD;acoustic guitar&#xD;electric guitar&#xD;electric bass (finger)&#xD;ukulele&#xD;banjo&#xD;violin&#xD;cello</options></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="notes"/><block var="Durations"/><block var="Instrument"/><l>melody loop</l></list></block></block></script></block-definition><block-definition s="%&apos;Instrument&apos; Track Repeat %&apos;chords&apos; Chords %&apos;durations&apos; Durations until Done" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>piano&#xD;organ&#xD;acoustic guitar&#xD;electric guitar&#xD;electric bass (finger)&#xD;ukulele&#xD;banjo&#xD;violin&#xD;cello</options></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="chords"/><block var="durations"/><block var="Instrument"/><l>chord loop</l></list></block></block></script></block-definition><block-definition s="%&apos;Instrument&apos; Track Repeat %&apos;notes&apos; Drum Pattern until Done" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>bass drum&#xD;snare&#xD;mid tom&#xD;high tom&#xD;crash cymbal&#xD;closed hi-hat&#xD;open hi-hat&#xD;cabasa</options></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>durations</l></list></block><block s="doSetVar"><l>durations</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="notes"/></block><script><block s="doAddToList"><l>Eighth</l><block var="durations"/></block></script></block><block s="doReport"><block s="reportNewList"><list><block var="notes"/><block var="durations"/><block var="Instrument"/><l>drum loop</l></list></block></block></script></block-definition><block-definition s="Tone Number %&apos;Number&apos; %&apos;newOn&apos; On/Off" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%b"></input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>toggleOscillator(</l><block var="Number"/><l>,</l><block var="newOn"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Tone Number %&apos;number&apos; Frequency %&apos;frequency&apos; Amplitude %&apos;amplitude&apos;" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doDeclareVariables"><list><l>message</l></list></block><block s="doSetVar"><l>message</l><block s="reportJoinWords"><list><l>modifyOscillator(</l><block var="number"/><l>,</l><block var="frequency"/><l>,</l><block var="amplitude"/><l>)</l></list></block></block><custom-block s="SendMessageToSoundScope %s"><block var="message"/></custom-block></script></block-definition><block-definition s="Tone Off" type="command" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWarp"><script><block s="doFor"><l>i</l><l>1</l><l>10</l><script><custom-block s="Tone Number %s %b On/Off"><block var="i"/><l><bool>false</bool></l></custom-block></script></block></script></block></script></block-definition><block-definition s="%&apos;Pattern&apos; Chord Pattern Repeated %&apos;Times&apos; Times" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Chord Pattern</l></list></block><block s="doSetVar"><l>Chord Pattern</l><block s="reportNewList"><list></list></block></block><block s="doRepeat"><block var="Times"/><script><block s="doSetVar"><l>Chord Pattern</l><block s="reportConcatenatedLists"><list><block var="Chord Pattern"/><block var="Pattern"/></list></block></block></script></block><block s="doReport"><block var="Chord Pattern"/></block></script></block-definition><block-definition s="%&apos;Chords&apos; Chord Sequence with Chords Played %&apos;Times&apos; Times Each" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Chord List</l></list></block><block s="doSetVar"><l>Chord List</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Chords"/></block><script><block s="doRepeat"><block var="Times"/><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><block var="Chords"/></block><block var="Chord List"/></block></script></block></script></block><block s="doReport"><block var="Chord List"/></block></script></block-definition><block-definition s="Major Scale Interval %&apos;Notation - Note 1&apos; Note 1 %&apos;Notation - Note 2&apos; Note 2" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note 1</l><l>Note 2</l><l>Octave Difference</l><l>Sign</l></list></block><block s="doSetVar"><l>Note 1</l><custom-block s="Get Note %s from Scientific Notation"><block var="Notation - Note 1"/></custom-block></block><block s="doSetVar"><l>Note 2</l><custom-block s="Get Note %s from Scientific Notation"><block var="Notation - Note 2"/></custom-block></block><block s="doSetVar"><l>Octave Difference</l><block s="reportProduct"><block s="reportMonadic"><l><option>abs</option></l><block s="reportDifference"><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 1"/></custom-block><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 2"/></custom-block></block></block><l>7</l></block></block><block s="doIfElse"><block s="reportLessThan"><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 2"/></custom-block><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 1"/></custom-block></block><script><block s="doSetVar"><l>Sign</l><l>-1</l></block></script><script><block s="doSetVar"><l>Sign</l><l>1</l></block></script></block><block s="doWarp"><script><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doIf"><block s="reportEquals"><block var="Note 2"/><block s="reportListItem"><block var="i"/><custom-block s="%s Major Scale"><block var="Note 1"/></custom-block></block></block><script><block s="doReport"><block s="reportProduct"><block s="reportSum"><block s="reportDifference"><block var="i"/><l>1</l></block><block var="Octave Difference"/></block><block var="Sign"/></block></block></script></block></script></block></script></block></script></block-definition><block-definition s="Get Octave %&apos;Notation&apos; from Scientific Notation" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportLetter"><l><option>last</option></l><block var="Notation"/></block></block></script></block-definition><block-definition s="Get Note %&apos;Notation&apos; from Scientific Notation" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Output</l></list></block><block s="doSetVar"><l>Output</l><l></l></block><block s="doFor"><l>i</l><l>1</l><block s="reportDifference"><block s="reportStringSize"><block var="Notation"/></block><l>1</l></block><script><block s="doSetVar"><l>Output</l><block s="reportJoinWords"><list><block var="Output"/><block s="reportLetter"><block var="i"/><block var="Notation"/></block></list></block></block></script></block><block s="doReport"><block var="Output"/></block></script></block-definition><block-definition s="Minor Scale Interval %&apos;Notation - Note 1&apos; Note 1 %&apos;Notation - Note 2&apos; Note 2" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note 1</l><l>Note 2</l><l>Octave 1</l><l>Octave 2</l><l>Octave Difference</l><l>Sign</l></list></block><block s="doSetVar"><l>Note 1</l><custom-block s="Get Note %s from Scientific Notation"><block var="Notation - Note 1"/></custom-block></block><block s="doSetVar"><l>Note 2</l><custom-block s="Get Note %s from Scientific Notation"><block var="Notation - Note 2"/></custom-block></block><block s="doSetVar"><l>Octave 1</l><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 1"/></custom-block></block><block s="doSetVar"><l>Octave 2</l><custom-block s="Get Octave %s from Scientific Notation"><block var="Notation - Note 2"/></custom-block></block><block s="doSetVar"><l>Octave Difference</l><block s="reportProduct"><block s="reportMonadic"><l><option>abs</option></l><block s="reportDifference"><block var="Notation - Note 2"/><block var="Octave 1"/></block></block><l>7</l></block></block><block s="doIfElse"><block s="reportLessThan"><block var="Octave 2"/><block var="Octave 1"/></block><script><block s="doSetVar"><l>Sign</l><l>-1</l></block></script><script><block s="doSetVar"><l>Sign</l><l>1</l></block></script></block><block s="doWarp"><script><block s="doFor"><l>i</l><l>1</l><l>7</l><script><block s="doIf"><block s="reportEquals"><block var="Note 2"/><block s="reportListItem"><block var="i"/><custom-block s="%s Minor Scale"><block var="Notation - Note 1"/></custom-block></block></block><script><block s="doReport"><block s="reportProduct"><block s="reportSum"><block s="reportDifference"><block var="i"/><l>1</l></block><block var="Octave Difference"/></block><block var="Sign"/></block></block></script></block></script></block></script></block></script></block-definition><block-definition s="Harmonic Notes" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>1</l><l>3</l><l>5</l><l>3</l></list></block></block></script></block-definition><block-definition s="Harmonic Notes %&apos;Scale&apos; Scale" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note List</l></list></block><block s="doSetVar"><l>Note List</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><l>4</l><script><block s="doAddToList"><block s="reportListItem"><block s="reportListItem"><block var="i"/><custom-block s="Harmonic Notes"></custom-block></block><block var="Scale"/></block><block var="Note List"/></block></script></block><block s="doReport"><block var="Note List"/></block></script></block-definition><block-definition s="Scale Progression (C - G - A Minor - E - F - C - F - G)" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><custom-block s="%s Major Scale %s Octave"><l>C</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>G</l><l>4</l></custom-block><custom-block s="%s Minor Scale %s Octave"><l>A</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>E</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>F</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>C</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>F</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>G</l><l>4</l></custom-block></list></block></block></script></block-definition><block-definition s="Scale Progression (C - G - A Minor - E)" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><custom-block s="%s Major Scale %s Octave"><l>C</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>G</l><l>4</l></custom-block><custom-block s="%s Minor Scale %s Octave"><l>A</l><l>4</l></custom-block><custom-block s="%s Major Scale %s Octave"><l>E</l><l>4</l></custom-block></list></block></block></script></block-definition><block-definition s="Scale %&apos;Sequence&apos; Sequence" type="reporter" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note List</l></list></block><block s="doSetVar"><l>Note List</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Sequence"/></block><script><block s="doSetVar"><l>Note List</l><block s="reportConcatenatedLists"><list><block var="Note List"/><custom-block s="Harmonic Notes %s Scale"><block s="reportListItem"><block var="i"/><block var="Sequence"/></block></custom-block></list></block></block></script></block><block s="doReport"><block var="Note List"/></block></script></block-definition><block-definition s="Set Backing Track to %&apos;Progression&apos; Scale Progression" type="command" category="sound"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>Backing Track</l><custom-block s="Scale %s Sequence"><block var="Progression"/></custom-block></block><block s="doSetVar"><l>Backing Track Durations</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListLength"><block var="Backing Track"/></block><script><block s="doAddToList"><l>Quarter</l><block var="Backing Track Durations"/></block></script></block></script></block-definition></blocks><variables><variable name="currentInstrument"><l>piano</l></variable><variable name="List"><list struct="atomic" id="3715">F1,G1,A1,Bb1,C2,D2,E2,F2,G2,A2,Bb2,C3,D3,E3,F3,G3,A3,Bb3,C4,D4,E4,F4,G4,A4,Bb4,C5,D5,E5,F5,G5,A5,Bb5,C6,D6,E6,F6,G6,A6,Bb6,C7,D7,E7,F7,G7,A7,Bb7,C8,D8,E8</list></variable><variable name="Backing Track"><list struct="atomic" id="3716">C4,E4,G4,E4,F4,A4,C5,A4,G4,B4,D5,B4</list></variable><variable name="Melody Track"><list struct="atomic" id="3717">C4,A4,B4,A4,D4,D4,A4,B4,C4,C4,E4,E4,F4,C4,A4,B4,D4,B4,A4,A4,F4,G4,G4,G4</list></variable><variable name="Backing Track Durations"><list struct="atomic" id="3718">Half,Half,Half,Half,Half,Half,Half,Half,Half,Half,Half,Half</list></variable><variable name="Melody Track Durations"><list struct="atomic" id="3719">Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter,Quarter</list></variable></variables></project><media name="Week 10 Assignment" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>