<snapdata remixID="11507412"><project name="music0.3" app="Snap! 7, https://snap.berkeley.edu" version="2"><notes>There are four colored columns on the stage. When a note is touching the bar press the number of the column the note is in(1-4). Using Makey Makey adds more fun to this project. My daughter set the speed of the notes a little bit fast to make it more challenging :)</notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAA6dJREFUeF7t2j+OT1Ech2F3SIhCMYXeDtiByjoUOplkCpVViEUox4YmsYOJ0PiTzFVMieT+zntubvOoz+e9fD2qsazrut7b+OvL1bLx5X7Pbl7s1z6lfH59yuud3r76uFN4e/bZerH98T9eLgCO3Q/Au7sBOOYnrwAEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwEEMCMqAQABLH7yFkAAM6ISABDA4idvAQQwIyoBAAEsfvIWQAAzohIAEMDiJ28BBDAjKgEAASx+8hZAADOiEgAQwOInbwGcBPDzp3Xd+rfx7frD1qe7vfvxdLf0SeFHX096vs/jq5f7dE+oPrl8fsLrv58u795sB7je/kwfmzJeplR6ZPM/2/6p/xZ+P9gxvi29PLy/7eF/Xi2Xr7cDTF8ydoF/XABALA69AICHnt/HAWTg0AsAeOj5fRxABg69AICHnt/HAWTg0AsAeOj5fRxABg69AICHnt/Hl/dvt/8o7vbXzeEXu20/epz2+z+7nZYaD31/PL6dtDw7f5RKy7puB/jl6vj/CXDzIv15p439d6y7Uz5bL9JNARw8H4AADtKZMwMQwDmSBisAAjhIZ84MQADnSBqsAAjgIJ05MwABnCNpsAIggIN05swABHCOpMEKgAAO0pkzAxDAOZIGKwACOEhnzgxAAOdIGqwACOAgnTkzAAGcI2mwAiCAg3TmzAAEcI6kwQqAAA7SmTMDcA7AP/84W/O6UjtnAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="music0.3"><notes>There are four colored columns on the stage. When a note is touching the bar press the number of the column the note is in(1-4). Using Makey Makey adds more fun to this project. My daughter set the speed of the notes a little bit fast to make it more challenging :)</notes><palette><category name="Music" color="195,0,204,1"/></palette><hidden></hidden><headers></headers><code></code><blocks><block-definition s="画 列 %&apos;a&apos; 颜色 %&apos;b&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n">1</input><input type="%n">0</input></inputs><script><block s="up"></block><block s="setPenColorDimension"><l><option>hue</option></l><block var="b"/></block><block s="setSize"><l>100</l></block><block s="gotoXY"><block s="reportVariadicSum"><list><l>-157</l><block s="reportVariadicProduct"><list><block s="reportDifference"><block var="a"/><l>1</l></block><l>100</l></list></block></list></block><block s="reportAttributeOf"><l><option>top</option></l><l>舞台</l></block></block><block s="setHeading"><l>180</l></block><block s="down"></block><block s="forward"><block s="reportAttributeOf"><l><option>height</option></l><l>舞台</l></block></block><block s="up"></block></script></block-definition><block-definition s="Set Instrument To %&apos;Instrument Name&apos;" type="command" category="Music"><comment x="0" y="0" w="310.5525948660714" collapsed="false">Sets the global instrument used for playing notes.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Piano<options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Drums={&#xD;Cabasa&#xD;Snare Drum&#xD;Bass Drum&#xD;Closed Hi-Hat&#xD;Open Hi-Hat&#xD;Mid Tom&#xD;High Tom&#xD;Crash Cymbal&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_setinst(name)</l><list><block var="Instrument Name"/></list></block></script></block-definition><block-definition s="Set Volume To %&apos;Percent&apos; %" type="command" category="Music"><comment x="0" y="0" w="403" collapsed="false">Sets the global volume to the selected percentage.</comment><header></header><code></code><translations></translations><inputs><input type="%n">50</input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_setvol(percent)</l><list><block var="Percent"/></list></block></script></block-definition><block-definition s="Set Instrument %&apos;Instrument&apos; Volume to %&apos;VolumePercent&apos; %" type="command" category="Music"><comment x="0" y="0" w="353.7142857142858" collapsed="false">Sets the default volume of the selected instrument to the specified percentage.</comment><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">Piano<options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Drums={&#xD;Cabasa&#xD;Snare Drum&#xD;Bass Drum&#xD;Closed Hi-Hat&#xD;Open Hi-Hat&#xD;Mid Tom&#xD;High Tom&#xD;Crash Cymbal&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%n">50</input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_setinstvol(name, percent)</l><list><block var="Instrument"/><block var="VolumePercent"/></list></block></script></block-definition><block-definition s="Play Note %&apos;Note&apos; for Duration %&apos;Duration&apos; and Wait" type="command" category="Music"><comment x="0" y="0" w="315.8571428571429" collapsed="false">Plays the selected note for the specified musical duration. This block waits for the selected note to finish playing. A note name and duration (whole, half, quarter, etc.) can be selected from the drop-down menu.</comment><header></header><code></code><translations></translations><inputs><input type="%txt"><options>C3&#xD;D3&#xD;E3&#xD;F3&#xD;G3&#xD;A3&#xD;B3&#xD;C4&#xD;D4&#xD;E4&#xD;F4&#xD;G4&#xD;A4&#xD;B4&#xD;Sharps={&#xD;C#3&#xD;D#3&#xD;E#3&#xD;F#3&#xD;G#3&#xD;A#3&#xD;B#3&#xD;C#4&#xD;D#4&#xD;E#4&#xD;F#4&#xD;G#4&#xD;A#4&#xD;B#4&#xD;}&#xD;Flats={&#xD;Cb3&#xD;Db3&#xD;Eb3&#xD;Fb3&#xD;Gb3&#xD;Ab3&#xD;Bb3&#xD;Cb4&#xD;Db4&#xD;Eb4&#xD;Fb4&#xD;Gb4&#xD;Ab4&#xD;Bb4&#xD;}</options></input><input type="%txt"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Notes={&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;}&#xD;Triplet Notes={&#xD;Half Triplet&#xD;Quarter Triplet&#xD;Eighth Triplet&#xD;Sixteenth Triplet&#xD;}</options></input></inputs><script><custom-block s="Play Note %s for Duration %s"><block var="Note"/><block var="Duration"/></custom-block><block s="doWait"><custom-block s="Adjusted Note Duration %txt"><block var="Duration"/></custom-block></block></script></block-definition><block-definition s="Play Note %&apos;Note&apos; for Duration %&apos;Duration&apos;" type="command" category="Music"><comment x="0" y="0" w="333.3128348214286" collapsed="false">Plays the selected note for the specified musical duration. This block does note wait for the selected note to finish playing. A note name and duration (whole, half, quarter, etc.) can be selected from the drop-down menu.</comment><header></header><code></code><translations></translations><inputs><input type="%s"><options>C3&#xD;D3&#xD;E3&#xD;F3&#xD;G3&#xD;A3&#xD;B3&#xD;C4&#xD;D4&#xD;E4&#xD;F4&#xD;G4&#xD;A4&#xD;B4&#xD;Sharps={&#xD;C#3&#xD;D#3&#xD;E#3&#xD;F#3&#xD;G#3&#xD;A#3&#xD;B#3&#xD;C#4&#xD;D#4&#xD;E#4&#xD;F#4&#xD;G#4&#xD;A#4&#xD;B#4&#xD;}&#xD;Flats={&#xD;Cb3&#xD;Db3&#xD;Eb3&#xD;Fb3&#xD;Gb3&#xD;Ab3&#xD;Bb3&#xD;Cb4&#xD;Db4&#xD;Eb4&#xD;Fb4&#xD;Gb4&#xD;Ab4&#xD;Bb4&#xD;}</options></input><input type="%s"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Notes={&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;}&#xD;Triplet Notes={&#xD;Half Triplet&#xD;Quarter Triplet&#xD;Eighth Triplet&#xD;Sixteenth Triplet&#xD;}</options></input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_playnote(note, duration)</l><list><block var="Note"/><custom-block s="Adjusted Note Duration %txt"><block var="Duration"/></custom-block></list></block></script></block-definition><block-definition s="Rest for Note Duration %&apos;Duration&apos;" type="command" category="Music"><comment x="0" y="0" w="90" collapsed="false">Waits for the selected musical duration.</comment><header></header><code></code><translations></translations><inputs><input type="%s"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Notes={&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;}&#xD;Triplet Notes={&#xD;Half Triplet&#xD;Quarter Triplet&#xD;Eighth Triplet&#xD;Sixteenth Triplet&#xD;}</options></input></inputs><script><block s="doWait"><custom-block s="Adjusted Note Duration %txt"><block var="Duration"/></custom-block></block></script></block-definition><block-definition s="Adjusted Note Duration %&apos;Note Duration&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="262.8571428571429" collapsed="false">Each note duration is assigned a numerical value, with a whole note equallying four beats.&#xD;&#xD;Dotted Notes are equal to the named note plus half of the named note&apos;s duration.&#xD;&#xD;Triplet notes are equal in duration to two of the named notes divided by three.&#xD;&#xD;Since there are 60 seconds in a minute, dividing 60 by the tempo and then multiplying it by a note&apos;s duration alters the duration of the notes to make them match the global tempo.</comment><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportVariadicProduct"><list><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Note Duration"/><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>.345</l></list></block><block s="reportNewList"><list><l>Dotted Thirtysecond</l><l>0.1875</l></list></block><block s="reportNewList"><list><l>Half Triplet</l><block s="reportQuotient"><l>4</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Quarter Triplet</l><block s="reportQuotient"><l>2</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Eighth Triplet</l><block s="reportQuotient"><l>1</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Sixteenth Triplet</l><block s="reportQuotient"><l>.5</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Whole Triplet</l><block s="reportQuotient"><l>8</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Thirtysecond Triplet</l><block s="reportQuotient"><l>.125</l><l>3</l></block></list></block></list></block></custom-block></block><block s="reportQuotient"><l>60</l><block s="getTempo"></block></block></list></block></block></script></block-definition><block-definition s="Play Chord %&apos;Chord&apos; for Duration %&apos;Duration&apos;" type="command" category="Music"><comment x="0" y="0" w="160" collapsed="false">Plays a list of notes simultaneously for the specified musical duration.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Notes={&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;}&#xD;Triplet Notes={&#xD;Half Triplet&#xD;Quarter Triplet&#xD;Eighth Triplet&#xD;Sixteenth Triplet&#xD;}</options></input></inputs><script><block s="doForEach"><l>item</l><block var="Chord"/><script><custom-block s="Play Note %s for Duration %s"><block var="item"/><block var="Duration"/></custom-block></script></block><custom-block s="Rest for Note Duration %s"><block var="Duration"/></custom-block></script></block-definition><block-definition s="Note %&apos;Number&apos; in Major Scale %&apos;Scale&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the note in the specified position within the specified major scale.</comment><header></header><code></code><translations></translations><inputs><input type="%n">1<options>1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s">C</input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><block var="Number"/><custom-block s="Major Scale %s"><block var="Scale"/></custom-block></block><block var="Octave"/></list></block></block></script></block-definition><block-definition s="Interval between Notes %&apos;Note 1&apos; and %&apos;Note 2&apos; in the %&apos;Scale&apos; Major Scale" type="reporter" category="Music" helper="true"><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>Note 1 Position</l><l>Note 2 Position</l><l>list</l></list></block><block s="doWarp"><script><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="Major Scale %s Octave %n Reporter"><block var="Scale"/><block var="i"/></custom-block></list></block></block></script></block></script><comment w="90" collapsed="false">Creates a list consisting of the specified scale, starting in the first octave and ending in the seventh octave.</comment></block><block s="doWarp"><script><block s="doSetVar"><l>Note 1 Position</l><block s="reportListIndex"><block var="Note 1"/><block var="list"/></block></block><block s="doSetVar"><l>Note 2 Position</l><block s="reportListIndex"><block var="Note 2"/><block var="list"/></block></block></script><comment w="90" collapsed="false">Finds the position of Notes 1 and 2 in the extended scale.</comment></block><block s="doWarp"><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="Major Scale %s"><block var="Scale"/></custom-block><custom-block s="Get Note %s from Scientific Notation"><block var="Note 1"/></custom-block></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Note 1"/><l> is not in the </l><block var="Scale"/><l> Major scale.</l></list></block><l>4</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="Major Scale %s"><block var="Scale"/></custom-block><custom-block s="Get Note %s from Scientific Notation"><block var="Note 2"/></custom-block></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Note 2"/><l> is not in the </l><block var="Scale"/><l> Major scale.</l></list></block><l>4</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block></script><comment w="90" collapsed="false">Checks to see if the specified notes are in the selected major scale.</comment></block><block s="doReport"><block s="reportDifference"><block var="Note 2 Position"/><block var="Note 1 Position"/><comment w="90" collapsed="false">Reports the numerical interval between the specified notes in the selected major scale.</comment></block></block></script></block-definition><block-definition s="Note %&apos;Number&apos; in Minor Scale %&apos;Scale&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the note in the specified position within the specified minor scale.</comment><header></header><code></code><translations></translations><inputs><input type="%n">1<options>1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s">C</input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><block var="Number"/><custom-block s="Minor Scale %s"><block var="Scale"/></custom-block></block><block var="Octave"/></list></block></block></script></block-definition><block-definition s="Get Note %&apos;Notation&apos; from Scientific Notation" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Extracts and reports the name of a note from its scientific pitch notation. (e.g., &quot;C#4&quot; reports as &quot;C#&quot;.)</comment><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="Interval between Notes %&apos;Note 1&apos; and %&apos;Note 2&apos; in the %&apos;Scale&apos; Minor Scale" type="reporter" category="Music" helper="true"><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>Note 1 Position</l><l>Note 2 Position</l><l>list</l></list></block><block s="doWarp"><script><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="Minor Scale %s Octave %n Reporter"><block var="Scale"/><block var="i"/></custom-block></list></block></block></script></block></script><comment w="90" collapsed="false">Creates a list consisting of the specified scale, starting in the first octave and ending in the seventh octave.</comment></block><block s="doWarp"><script><block s="doSetVar"><l>Note 1 Position</l><block s="reportListIndex"><block var="Note 1"/><block var="list"/></block></block><block s="doSetVar"><l>Note 2 Position</l><block s="reportListIndex"><block var="Note 2"/><block var="list"/></block></block></script><comment w="90" collapsed="false">Finds the position of Notes 1 and 2 in the extended scale.</comment></block><block s="doWarp"><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="Minor Scale %s"><block var="Scale"/></custom-block><custom-block s="Get Note %s from Scientific Notation"><block var="Note 1"/></custom-block></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Note 1"/><l> is not in the </l><block var="Scale"/><l> Minor scale.</l></list></block><l>4</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="Minor Scale %s"><block var="Scale"/></custom-block><custom-block s="Get Note %s from Scientific Notation"><block var="Note 2"/></custom-block></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><block var="Note 2"/><l> is not in the </l><block var="Scale"/><l> Minor scale.</l></list></block><l>4</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block></script><comment w="90" collapsed="false">Checks to see if the specified notes are in the selected minor scale.</comment></block><block s="doReport"><block s="reportDifference"><block var="Note 2 Position"/><block var="Note 1 Position"/></block><comment w="90" collapsed="false">Reports the numerical interval between the specified notes in the selected minor scale.</comment></block></script></block-definition><block-definition s="%&apos;Scale Type&apos; Scale: %&apos;Note&apos; Octave: %&apos;Octave&apos;" type="reporter" category="Music"><comment x="0" y="0" w="261.91194196428586" collapsed="false">Reports all notes in a specified scale using the provided note and octave number as the starting note of the scale.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Chromatic<options>Chromatic&#xD;Major&#xD;Minor</options></input><input type="%s"></input><input type="%n"><options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Scale Type"/><block s="reportNewList"><list><block s="reportNewList"><list><l>Major</l><custom-block s="Major Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></list></block><block s="reportNewList"><list><l>Minor</l><custom-block s="Minor Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></list></block><block s="reportNewList"><list><l>Chromatic</l><custom-block s="Chromatic Scale %s Octave %s Reporter"><block var="Note"/><block var="Octave"/></custom-block></list></block></list></block></custom-block></block></block></script></block></script></block-definition><block-definition s="Note %&apos;#&apos; in %&apos;Major/Minor&apos; Scale: %&apos;Note&apos; Octave: %&apos;Octave&apos;" type="reporter" category="Music"><comment x="0" y="0" w="239.6751395089286" collapsed="false">Reports the note in a specific position within a major or minor musical scale. (e.g., The third note in a C Major scale starting in the fourth octave is E4.)</comment><header></header><code></code><translations></translations><inputs><input type="%n" readonly="true">1<options>1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s" readonly="true">Major<options>Major&#xD;Minor</options></input><input type="%s"></input><input type="%n"><options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Major/Minor"/><block s="reportNewList"><list><block s="reportNewList"><list><l>Major</l><custom-block s="Note %n in Major Scale %s Octave %n"><block var="#"/><block var="Note"/><block var="Octave"/></custom-block></list></block><block s="reportNewList"><list><l>Minor</l><custom-block s="Note %n in Minor Scale %s Octave %n"><block var="#"/><block var="Note"/><block var="Octave"/></custom-block></list></block></list></block></custom-block></block></block></script></block></script></block-definition><block-definition s="Interval Between Notes %&apos;Note 1&apos; and %&apos;Note 2&apos; in the %&apos;Major/Minor&apos; Scale %&apos;Note&apos;" type="reporter" category="Music"><comment x="0" y="0" w="187.85714285714286" collapsed="false">Reports the distance in steps between two notes in the selected scale. (e.g., In the C Major scale, there are two intervals between C4 and E4.)</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s" readonly="true">Major<options>Major&#xD;Minor</options></input><input type="%s"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="evaluate"><block s="reifyReporter"><script><custom-block s="Switch %s %br Cases %l %br Default %cs"><block var="Major/Minor"/><block s="reportNewList"><list><block s="reportNewList"><list><block s="reportNewList"><list><l>Major</l></list></block><block s="reifyScript"><script><block s="doReport"><custom-block s="Interval between Notes %s and %s in the %s Major Scale"><block var="Note 1"/><block var="Note 2"/><block var="Note"/></custom-block></block></script><list></list></block></list></block><block s="reportNewList"><list><block s="reportNewList"><list><l>Minor</l></list></block><block s="reifyScript"><script><block s="doReport"><custom-block s="Interval between Notes %s and %s in the %s Minor Scale"><block var="Note 1"/><block var="Note 2"/><block var="Note"/></custom-block></block></script><list></list></block></list></block></list></block><script></script></custom-block></script><list></list></block><list></list></block></block></script></block></script></block-definition><block-definition s="Switch %&apos;Object&apos; $nl Cases %&apos;Cases&apos; $nl Default %&apos;defCode&apos;" type="command" category="control" helper="true"><comment x="0" y="0" w="90" collapsed="false">This block must be called. It executes a specific commands when corresponding conditions are met.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doForEach"><l>Case</l><block var="Cases"/><script><block s="doIf"><block s="reportListContainsItem"><block s="reportListItem"><l>1</l><block var="Case"/></block><block var="Object"/></block><script><block s="doRun"><block s="reportListItem"><l>2</l><block var="Case"/></block><list></list></block><block s="doStopThis"><l><option>this block</option></l></block></script></block></script></block><block s="doRun"><block var="defCode"/><list></list></block><block s="doStopThis"><l><option>this block</option></l></block></script></block-definition><block-definition s="List of Chromatic Scales" type="reporter" category="Music" helper="true"><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>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><l>12</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>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><l>C</l></list></block><l>11</l></list></block></list></block><block s="reportNewList"><list><l>Db</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Db</l><l>D</l><l>Eb</l><l>E</l><l>F</l><l>Gb</l><l>G</l><l>Ab</l><l>A</l><l>Bb</l><l>B</l><l>C</l></list></block><l>11</l></list></block></list></block><block s="reportNewList"><list><l>D</l><block s="reportNewList"><list><block s="reportNewList"><list><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><l>C</l><l>C#</l></list></block><l>10</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>F#</l><l>G</l><l>G#</l><l>A</l><l>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l></list></block><l>9</l></list></block></list></block><block s="reportNewList"><list><l>Eb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Eb</l><l>E</l><l>F</l><l>Gb</l><l>G</l><l>Ab</l><l>A</l><l>Bb</l><l>B</l><l>C</l><l>Db</l><l>D</l></list></block><l>9</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>F#</l><l>G</l><l>G#</l><l>A</l><l>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l></list></block><l>8</l></list></block></list></block><block s="reportNewList"><list><l>F</l><block s="reportNewList"><list><block s="reportNewList"><list><l>F</l><l>F#</l><l>G</l><l>G#</l><l>A</l><l>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l><l>E</l></list></block><l>7</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>G#</l><l>A</l><l>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l><l>E</l><l>F</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>Gb</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Gb</l><l>G</l><l>Ab</l><l>A</l><l>Bb</l><l>B</l><l>C</l><l>Db</l><l>D</l><l>Eb</l><l>E</l><l>F</l></list></block><l>6</l></list></block></list></block><block s="reportNewList"><list><l>G</l><block s="reportNewList"><list><block s="reportNewList"><list><l>G</l><l>G#</l><l>A</l><l>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l><l>E</l><l>F</l><l>F#</l></list></block><l>5</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>A#</l><l>B</l><l>C</l><l>C#</l><l>D</l><l>D#</l><l>E</l><l>F</l><l>F#</l><l>G</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>Ab</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Ab</l><l>A</l><l>Bb</l><l>B</l><l>C</l><l>Db</l><l>D</l><l>Eb</l><l>E</l><l>F</l><l>Gb</l><l>G</l></list></block><l>4</l></list></block></list></block><block s="reportNewList"><list><l>A</l><block s="reportNewList"><list><block s="reportNewList"><list><l>A</l><l>A#</l><l>B</l><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></list></block><l>3</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>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></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>B</l><l>C</l><l>Db</l><l>D</l><l>Eb</l><l>E</l><l>F</l><l>Fb</l><l>G</l><l>Ab</l><l>A</l></list></block><l>2</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>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></list></block><l>1</l></list></block></list></block></list></block></block></script></block-definition><block-definition s="Chromatic Scale Index %&apos;Scale&apos;" type="reporter" category="Music" helper="true"><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 Chromatic Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="Chromatic Scale %&apos;Note&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Note"/><custom-block s="List of Chromatic Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="Chromatic Scale %&apos;Note&apos; Octave %&apos;Octave&apos; Reporter" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="Note"/><l>C</l></block><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Chromatic Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Chromatic Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Chromatic Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Chromatic Scale %s"><block var="Note"/></custom-block></block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportVariadicSum"><list><block var="Octave"/><l>1</l></list></block></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><block s="reportVariadicSum"><list><custom-block s="Chromatic Scale Index %s"><block var="Note"/></custom-block><l>1</l></list></block><l>12</l></block><custom-block s="Chromatic Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script></block></script></block-definition><block-definition s="Note [ Pitch: %&apos;Pitch&apos; Duration: %&apos;Duration&apos; ]" type="reporter" category="Music"><comment x="0" y="0" w="246.42857142857144" collapsed="false">This block reports a list that consists of a specified note name and duration. These values can be selected using the drop-down menu or entered directly.</comment><header></header><code></code><translations></translations><inputs><input type="%s"><options>C3&#xD;D3&#xD;E3&#xD;F3&#xD;G3&#xD;A3&#xD;B3&#xD;C4&#xD;D4&#xD;E4&#xD;F4&#xD;G4&#xD;A4&#xD;B4&#xD;Sharps={&#xD;C#3&#xD;D#3&#xD;E#3&#xD;F#3&#xD;G#3&#xD;A#3&#xD;B#3&#xD;C#4&#xD;D#4&#xD;E#4&#xD;F#4&#xD;G#4&#xD;A#4&#xD;B#4&#xD;}&#xD;Flats={&#xD;Cb3&#xD;Db3&#xD;Eb3&#xD;Fb3&#xD;Gb3&#xD;Ab3&#xD;Bb3&#xD;Cb4&#xD;Db4&#xD;Eb4&#xD;Fb4&#xD;Gb4&#xD;Ab4&#xD;Bb4&#xD;}</options></input><input type="%s"><options>Whole&#xD;Half&#xD;Quarter&#xD;Eighth&#xD;Sixteenth&#xD;Thirtysecond&#xD;Dotted Notes={&#xD;Dotted Half&#xD;Dotted Quarter&#xD;Dotted Eighth&#xD;Dotted Sixteenth&#xD;}&#xD;Triplet Notes={&#xD;Half Triplet&#xD;Quarter Triplet&#xD;Eighth Triplet&#xD;Sixteenth Triplet&#xD;}</options></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="Pitch"/><block var="Duration"/></list></block></block></script></block-definition><block-definition s="Chromatic Scale" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports all notes in the western chromatic scale. A drop down menu determines whether the scale will be reported using sharps or flats.</comment><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="Major Scale %&apos;Note&apos; Octave %&apos;Octave&apos; Reporter" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="354.8333984374997" collapsed="false">Reports all notes in a given major scale in order, beginning with the input note and octave.</comment><header></header><code></code><translations></translations><inputs><input type="%s">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportLetter"><l>1</l><block var="Note"/></block><l>C</l></block><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Major Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Major Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Major Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Major Scale %s"><block var="Note"/></custom-block></block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportVariadicSum"><list><block var="Octave"/><l>1</l></list></block></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><block s="reportVariadicSum"><list><custom-block s="Major Scale Index %s"><block var="Note"/></custom-block><l>1</l></list></block><l>7</l></block><custom-block s="Major Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script></block></script></block-definition><block-definition s="Minor Scale %&apos;Note&apos; Octave %&apos;Octave&apos; Reporter" type="reporter" category="Music" helper="true"><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">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportLetter"><l>1</l><block var="Note"/></block><l>C</l></block><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Minor Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Minor Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block var="Octave"/></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><l>1</l><custom-block s="Minor Scale Index %s"><block var="Note"/></custom-block></block><custom-block s="Minor Scale %s"><block var="Note"/></custom-block></block></block><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><block s="reportVariadicSum"><list><block var="Octave"/><l>1</l></list></block></list></block></autolambda><list></list></block><block s="reportListItem"><block s="reportNumbers"><block s="reportVariadicSum"><list><custom-block s="Minor Scale Index %s"><block var="Note"/></custom-block><l>1</l></list></block><l>7</l></block><custom-block s="Minor Scale %s"><block var="Note"/></custom-block></block></block></list></block></block></script></block></script></block-definition><block-definition s="Major Chord %&apos;Note&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music" helper="true"><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">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportListItem"><l>1</l><custom-block s="Major Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="Major Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="Major Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="Notes of Scale %&apos;Scale&apos; before %&apos;Note&apos;" type="reporter" category="Music" helper="true"><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="reportListAttribute"><l><option>length</option></l><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 Scale %&apos;Scale&apos; after %&apos;Note&apos;" type="reporter" category="Music" helper="true"><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="reportListAttribute"><l><option>length</option></l><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="Major Chords in a Major Scale" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">This block reports the chord positions in a major scale that use major chords. </comment><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="Minor Chords in a Major Scale" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">This block reports the chord positions in a major scale that use minor chords. </comment><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="Major Chords in a Minor Scale" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">This block reports the chord positions in a minor scale that use major chords. </comment><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 Chords in a Minor Scale" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">This block reports the chord positions in a major scale that use major chords. </comment><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="Position of Notes in Diminished Scale" type="reporter" category="Music" helper="true"><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="Diminished Scale %&apos;Note&apos;" type="reporter" category="Music" helper="true"><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 Scale %s after %s"><custom-block s="Chromatic Scale"></custom-block><block var="Note"/></custom-block><custom-block s="Notes of Scale %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.79622395833346" 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="Diminished Scale %&apos;Note&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music" helper="true"><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 Scale %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="reportVariadicSum"><list><block var="Octave"/><l>1</l></list></block></list></block></autolambda><list></list></block><custom-block s="Notes of Scale %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="Roman Numeral Conversion" type="reporter" category="Music" helper="true"><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>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><block s="reportNewList"><list><l>VII°</l><l>7</l></list></block></list></block></block></script></block-definition><block-definition s="Converted Roman Numeral %&apos;Roman Numeral&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Converts roman numerals to arabic numerals using an association table.</comment><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; Diminished Chord %&apos;Octave&apos; Octave" type="reporter" category="Music" helper="true"><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="Diminished Scale %s Octave %s"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="Diminished Scale %s Octave %s"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="Diminished Scale %s Octave %s"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="Minor Chord %&apos;Note&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music" helper="true"><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">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportListItem"><l>1</l><custom-block s="Minor Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>3</l><custom-block s="Minor Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block><block s="reportListItem"><l>5</l><custom-block s="Minor Scale %s Octave %n Reporter"><block var="Note"/><block var="Octave"/></custom-block></block></list></block></block></script></block-definition><block-definition s="Major Chord %&apos;Note&apos; Octave %&apos;Octave&apos; Chord Position %&apos;Roman Numeral&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s" readonly="true">I<options>I&#xD;ii&#xD;iii&#xD;IV&#xD;V&#xD;vi&#xD;vii°</options></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportListContainsItem"><custom-block s="Major Chords in a Major Scale"></custom-block><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="Major Chord %s Octave %n"><block s="reportListItem"><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block><custom-block s="Major Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the major chords in a scale.</comment></block><block s="doIf"><block s="reportListContainsItem"><custom-block s="Minor Chords in a Major Scale"></custom-block><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="Minor Chord %s Octave %n"><block s="reportListItem"><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block><custom-block s="Major Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the minor chords in a scale.</comment></block><block s="doIf"><block s="reportEquals"><custom-block s="Converted Roman Numeral %s"><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="Diminished Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the diminished chord in a scale.</comment></block></script></block></script></block-definition><block-definition s="Minor Chord %&apos;Note&apos; Octave %&apos;Octave&apos; Chord Position %&apos;Roman Numeral&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s">C<options>C&#xD;D&#xD;E&#xD;F&#xD;G&#xD;A&#xD;B&#xD;Sharps={&#xD;C#&#xD;D#&#xD;E#&#xD;F#&#xD;G#&#xD;A#&#xD;B#&#xD;}&#xD;Flats={&#xD;Cb&#xD;Db&#xD;Eb&#xD;Fb&#xD;Gb&#xD;Ab&#xD;Bb&#xD;}</options></input><input type="%n">4<options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s" readonly="true">i<options>i&#xD;ii°&#xD;III&#xD;iv&#xD;v&#xD;VI&#xD;VII</options></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="reportListContainsItem"><custom-block s="Major Chords in a Minor Scale"></custom-block><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="Major Chord %s Octave %n"><block s="reportListItem"><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block><custom-block s="Minor Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the major chords in a scale.</comment></block><block s="doIf"><block s="reportListContainsItem"><custom-block s="Minor Chords in a Minor Scale"></custom-block><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block></block><script><block s="doReport"><custom-block s="Minor Chord %s Octave %n"><block s="reportListItem"><custom-block s="Converted Roman Numeral %s"><block var="Roman Numeral"/></custom-block><custom-block s="Minor Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the minor chords in a scale.</comment></block><block s="doIf"><block s="reportEquals"><custom-block s="Converted Roman Numeral %s"><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="Diminished Scale %s"><block var="Note"/></custom-block></block><block var="Octave"/></custom-block></block></script><comment w="90" collapsed="false">Outputs the diminished chord in a scale.</comment></block></script></block></script></block-definition><block-definition s="List of Major Scales" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Each major scale is listed, along with the notes it contains and the  number of notes in the scale before an octave change.</comment><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>D#</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>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>G#</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>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="List of Minor Scales" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Each minor scale is listed, along with the notes it contains and the  number of notes in the scale before an octave change.</comment><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>Gb</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="Major Scale Index %&apos;Scale&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the number of notes in the specified scale before an octave change.</comment><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="Minor Scale Index %&apos;Scale&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the number of notes in the selected scale before an octave change.</comment><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="Major Scale %&apos;Note&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the notes in the specified scale.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Note"/><custom-block s="List of Major Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="Minor Scale %&apos;Note&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Reports the notes in the specified minor scale.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Note"/><custom-block s="List of Minor Scales"></custom-block></custom-block></block></block></block></script></block-definition><block-definition s="%&apos;Major/Minor&apos; Chord %&apos;Note&apos; Octave %&apos;Octave&apos;" type="reporter" category="Music"><comment x="0" y="0" w="163.5714285714284" collapsed="false">Reports the notes comprising a major or minor chord, using the specified note and octave as the root note of the chord.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Major<options>Major&#xD;Minor</options></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Major/Minor"/><block s="reportNewList"><list><block s="reportNewList"><list><l>Major</l><custom-block s="Major Chord %s Octave %n"><block var="Note"/><block var="Octave"/></custom-block></list></block><block s="reportNewList"><list><l>Minor</l><custom-block s="Minor Chord %s Octave %n"><block var="Note"/><block var="Octave"/></custom-block></list></block></list></block></custom-block></block></block></script></block></script></block-definition><block-definition s="%&apos;Major/Minor&apos; Chord %&apos;Note&apos; Octave %&apos;Octave&apos; Chord Position %&apos;Numeral&apos;" type="reporter" category="Music"><comment x="0" y="0" w="337.8571428571429" collapsed="false">This block finds the notes in a specified chord along the selected scale. Roman numerals differentiate chord positions from octave numbers (e.g., the Roman numeral “I” reports the notes of the first chord in the sequence). Upper case Roman numerals represent major chords within the scale. Lower case Roman numerals represent minor chords within the scale.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Major<options>Major&#xD;Minor</options></input><input type="%s"></input><input type="%n"><options>0&#xD;1&#xD;2&#xD;3&#xD;4&#xD;5&#xD;6&#xD;7</options></input><input type="%s" readonly="true"><options>Major Positions={&#xD;I&#xD;ii&#xD;iii&#xD;IV&#xD;V&#xD;vi&#xD;vii°&#xD;}&#xD;Minor Positions={&#xD;i&#xD;ii°&#xD;III&#xD;iv&#xD;v&#xD;VI&#xD;VII&#xD;}</options></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Major/Minor"/><block s="reportNewList"><list><block s="reportNewList"><list><l>Major</l><custom-block s="Major Chord %s Octave %n Chord Position %s"><block var="Note"/><block var="Octave"/><block var="Numeral"/></custom-block></list></block><block s="reportNewList"><list><l>Minor</l><custom-block s="Minor Chord %s Octave %n Chord Position %s"><block var="Note"/><block var="Octave"/><block var="Numeral"/></custom-block></list></block></list></block></custom-block></block></block></script></block></script></block-definition><block-definition s="Add Note %&apos;Note&apos; to Chord %&apos;Chord&apos;" type="reporter" category="Music"><comment x="0" y="0" w="280" collapsed="false">This block reports a chord and appends an additional note.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>New Chord</l></list></block><block s="doWarp"><script><block s="doSetVar"><l>New Chord</l><block var="Chord"/></block><block s="doAddToList"><block var="Note"/><block var="New Chord"/></block><block s="doReport"><block var="New Chord"/></block></script></block></script></block-definition><block-definition s="Chord Rest" type="reporter" category="Music"><comment x="0" y="0" w="189.2857142857143" collapsed="false">May be paired with a musical duration to insert a rest into a sequence of chords.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>R</l><l>R</l><l>R</l></list></block></block></script></block-definition><block-definition s="Measure %&apos;Pairs&apos;" type="reporter" category="Music"><comment x="0" y="0" w="286.4285714285714" collapsed="false">This block is used to group sequences of notes and chords into measures. Each note or chord in the measure is paired with a note duration. The pairs are entered into the block using a list. </comment><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block var="Pairs"/></block></script></block-definition><block-definition s="Section %&apos;Measures&apos;" type="reporter" category="Music"><comment x="0" y="0" w="428.2220145089286" collapsed="false">This code block groups measures together. This can be helpful for separating groups of measures that repeat in various places throughout a song, like verses and choruses. This block works with both notes and chords. To add measures to a section, put the measures into a list.</comment><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>Section</l></list></block><block s="doSetVar"><l>Section</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>Measure Number</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Measures"/></block><script><block s="doSetVar"><l>Section</l><block s="reportConcatenatedLists"><list><block var="Section"/><block s="reportListItem"><block var="Measure Number"/><block var="Measures"/></block></list></block></block></script></block><block s="doReport"><block var="Section"/></block></script></block-definition><block-definition s="Beats in Measure %&apos;Measure&apos; $nl Time Signature %&apos;Time&apos;" type="reporter" category="Music"><comment x="0" y="0" w="297.14285714285717" collapsed="false">This block determines if the combined durations of notes or chords within a measure are correct. The combined duration of notes within a measure must equal the number of beats specified by the time signature. For example, in 4/4 time, there can be four quarter notes within a measure. The Beats in Measure reports the discrepancy between the number of actual beats in a measure versus the required number of beats.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s" readonly="true">4/4<options>4/4&#xD;3/4&#xD;2/4&#xD;6/8&#xD;5/4&#xD;7/4&#xD;9/8&#xD;12/8</options></input></inputs><script><block s="doDeclareVariables"><list><l>Beats Necessary</l><l>Actual Beats</l></list></block><block s="doSetVar"><l>Beats Necessary</l><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Time"/><block s="reportNewList"><list><block s="reportNewList"><list><l>4/4</l><l>4</l></list></block><block s="reportNewList"><list><l>3/4</l><l>3</l></list></block><block s="reportNewList"><list><l>2/4</l><l>2</l></list></block><block s="reportNewList"><list><l>6/8</l><l>3</l></list></block><block s="reportNewList"><list><l>5/4</l><l>5</l></list></block><block s="reportNewList"><list><l>7/4</l><l>7</l></list></block><block s="reportNewList"><list><l>9/8</l><l>4.5</l></list></block><block s="reportNewList"><list><l>12/8</l><l>5</l></list></block></list></block></custom-block></block></block><block s="doSetVar"><l>Actual Beats</l><l>0</l></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Measure"/></block><script><block s="doSetVar"><l>Actual Beats</l><block s="reportVariadicSum"><list><block var="Actual Beats"/><custom-block s="Note Duration %s"><block s="reportListItem"><l>2</l><block s="reportListItem"><block var="i"/><block var="Measure"/></block></block></custom-block></list></block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block var="Actual Beats"/><l>of</l><block var="Beats Necessary"/><l>beats</l></list></block></block></script></block-definition><block-definition s="Note Duration %&apos;Duration&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="311.42857142857144" collapsed="false">Each note duration is assigned a numerical value, with a whole note equallying four beats.&#xD;&#xD;Dotted Notes are equal to the named note plus half of the named note&apos;s duration.&#xD;&#xD;Triplet notes are equal in duration to two of the named notes divided by three.&#xD;&#xD;Unlike the &quot;Adjusted Note Duration&quot; block, the values reported here are not linked to the global temp reporter.</comment><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="Duration"/><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>.345</l></list></block><block s="reportNewList"><list><l>Dotted Thirtysecond</l><l>0.1875</l></list></block><block s="reportNewList"><list><l>Half Triplet</l><block s="reportQuotient"><l>4</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Quarter Triplet</l><block s="reportQuotient"><l>2</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Eighth Triplet</l><block s="reportQuotient"><l>1</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Sixteenth Triplet</l><block s="reportQuotient"><l>.5</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Whole Triplet</l><block s="reportQuotient"><l>8</l><l>3</l></block></list></block><block s="reportNewList"><list><l>Thirtysecond Triplet</l><block s="reportQuotient"><l>.125</l><l>3</l></block></list></block></list></block></custom-block></block></block></script></block-definition><block-definition s="Melody with Instrument %&apos;Instrument&apos; Notation %&apos;Notation&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%mult%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note/Duration Pairs</l></list></block><block s="doWarp"><script><block s="doSetVar"><l>Note/Duration Pairs</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>Pair #</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Notation"/></block><script><block s="doSetVar"><l>Note/Duration Pairs</l><block s="reportConcatenatedLists"><list><block var="Note/Duration Pairs"/><block s="reportListItem"><block var="Pair #"/><block var="Notation"/></block></list></block></block></script></block><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportNewList"><list><l>Melody</l><block var="Instrument"/></list></block></list></block><block var="Note/Duration Pairs"/></list></block></block></script></block></script></block-definition><block-definition s="Melody Loop with Instrument %&apos;Instrument&apos; Notation %&apos;Notation&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%mult%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Note/Duration Pairs</l></list></block><block s="doWarp"><script><block s="doSetVar"><l>Note/Duration Pairs</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>Pair #</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Notation"/></block><script><block s="doSetVar"><l>Note/Duration Pairs</l><block s="reportConcatenatedLists"><list><block var="Note/Duration Pairs"/><block s="reportListItem"><block var="Pair #"/><block var="Notation"/></block></list></block></block></script></block><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportNewList"><list><l>Loop-Melody</l><block var="Instrument"/></list></block></list></block><block var="Note/Duration Pairs"/></list></block></block></script></block></script></block-definition><block-definition s="Chord Track with %&apos;Instrument&apos; Notation %&apos;Notation&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportNewList"><list><l>Chords</l><block var="Instrument"/></list></block></list></block><block var="Notation"/></list></block></block></script></block-definition><block-definition s="Chord Loop with %&apos;Instrument&apos; Notation %&apos;Notation&apos;" type="reporter" category="Music" helper="true"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportConcatenatedLists"><list><block s="reportNewList"><list><block s="reportNewList"><list><l>Loop-Chords</l><block var="Instrument"/></list></block></list></block><block var="Notation"/></list></block></block></script></block-definition><block-definition s="Drum Pattern %&apos;Step&apos;" type="reporter" category="Music"><comment x="0" y="0" w="245.9644252232142" collapsed="false">This block reports a series of beats that tell the drum when to play. Beats are represented as an “X,” which can be typed into the block. Beats can be added or subtracted using the arrows on the right of the block.</comment><header></header><code></code><translations></translations><inputs><input type="%mult%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Steps in Sequence</l></list></block><block s="doSetVar"><l>Steps in Sequence</l><block s="reportNewList"><list></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Step"/></block><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><block var="Step"/></block><block var="Steps in Sequence"/></block></script></block><block s="doReport"><block var="Steps in Sequence"/></block></script></block-definition><block-definition s="Drum %&apos;Instrument&apos; Loop %&apos;Pattern&apos; Beat Duration %&apos;Beat&apos;" type="reporter" category="Music"><comment x="0" y="0" w="288.5714285714286" collapsed="false">This block reports a drum pattern, assigns a drum to it, and sets the duration value of each item in the pattern. Different drums can be selected from the drop-down menu. Beat durations can be selected from the drop-down menu or entered directly.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Snare Drum<options>Bass Drum&#xD;Snare Drum&#xD;Crash Cymbal&#xD;Cabasa&#xD;Toms={&#xD;High Tom&#xD;Mid Tom&#xD;}&#xD;Hi-Hats={&#xD;Closed Hi-hat&#xD;Open Hi-hat&#xD;}</options></input><input type="%l"></input><input type="%s">Eighth<options>Quarter&#xD;Eighth&#xD;Sixteenth</options></input></inputs><script><block s="doDeclareVariables"><list><l>notes and durations</l></list></block><block s="doSetVar"><l>notes and durations</l><block s="reportNewList"><list><block s="reportNewList"><list><l>Loop-Drums</l><block var="Instrument"/></list></block></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="Pattern"/></block><script><block s="doAddToList"><block s="reportNewList"><list><block s="reportListItem"><block var="i"/><block var="Pattern"/></block><block var="Beat"/></list></block><block var="notes and durations"/></block></script></block><block s="doReport"><block var="notes and durations"/></block></script></block-definition><block-definition s="Track %&apos;Type&apos; Instrument %&apos;Instrument&apos; $nl Musical Notation (Notes or Chords) %&apos;Notation&apos;" type="reporter" category="Music"><comment x="0" y="0" w="272.8571428571429" collapsed="false">This code block specifies the type of track to be played and assigns it an instrument. Both the track type and instrument are set using drop-down menus. This block accepts notes or chords paired with corresponding durations. This block also allows for the creation of note or chord loops that will repeat for the whole duration of the song. Both types of loops may be selected from the track drop-down menu. For a loop to play, it must have an accompanying track that is not a loop.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">Melody<options>Melody&#xD;Chords&#xD;Loops={&#xD;Loop-Melody&#xD;Loop-Chords&#xD;}</options></input><input type="%s" readonly="true">Piano<options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Guitar, Overdrive&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Drums={&#xD;Cabasa&#xD;Snare Drum&#xD;Bass Drum&#xD;Closed Hi-Hat&#xD;Open Hi-Hat&#xD;Mid Tom&#xD;High Tom&#xD;Crash Cymbal&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Music Box&#xD;Organ&#xD;Vibraphone&#xD;}</options></input><input type="%s"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportListItem"><l>2</l><custom-block s="assoc %s %l"><block var="Type"/><block s="reportNewList"><list><block s="reportNewList"><list><l>Melody</l><custom-block s="Melody with Instrument %s Notation %mult%s"><block var="Instrument"/><list><block var="Notation"/></list></custom-block></list></block><block s="reportNewList"><list><l>Chords</l><custom-block s="Chord Track with %s Notation %s"><block var="Instrument"/><block var="Notation"/></custom-block></list></block><block s="reportNewList"><list><l>Loop-Melody</l><custom-block s="Melody Loop with Instrument %s Notation %mult%s"><block var="Instrument"/><list><block var="Notation"/></list></custom-block></list></block><block s="reportNewList"><list><l>Loop-Chords</l><custom-block s="Chord Loop with %s Notation %s"><block var="Instrument"/><block var="Notation"/></custom-block></list></block></list></block></custom-block></block></block></script></block></script></block-definition><block-definition s="Play Tracks %&apos;tracks&apos; Time Signature: %&apos;timeSignature&apos;" type="command" category="Music"><comment x="0" y="0" w="198.57142857142858" collapsed="false">This block is used to play multiple music tracks. In most cases, several tracks with musical instruments are played in parallel. </comment><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><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_playtracks(tracklist, timesignature)</l><list><block var="tracks"/><block var="timeSignature"/><block s="getTempo"></block></list></block></script></block-definition><block-definition s="Convert MIDI %&apos;#&apos; to Note" type="reporter" category="Music"><comment x="0" y="0" w="217.80831473214303" collapsed="false">Reports the corresponding note (in scientific pitch notation) for the specified MIDI number.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>Octave</l><l>Note</l></list></block><block s="doSetVar"><l>Octave</l><block s="reportLetter"><l>1</l><block s="reportDifference"><block s="reportQuotient"><block var="#"/><l>12</l></block><l>1</l></block></block></block><block s="doSetVar"><l>Note</l><block s="reportListItem"><block s="reportVariadicSum"><list><block s="reportModulus"><block var="#"/><l>12</l></block><l>1</l></list></block><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></block><block s="doReport"><block s="reportJoinWords"><list><block var="Note"/><block var="Octave"/></list></block></block></script></block-definition><block-definition s="Convert Note %&apos;Note&apos; to MIDI" type="reporter" category="Music"><comment x="0" y="0" w="273.5714285714286" collapsed="false">Reports the midi number of the specified note. The note should be entered using scientific pitch notation (e.g., &quot;C4&quot;).</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportVariadicSum"><list><custom-block s="MIDI %s Note"><custom-block s="Get Note %s"><block var="Note"/></custom-block></custom-block><block s="reportVariadicProduct"><list><l>12</l><block s="reportDifference"><custom-block s="Get Octave %s"><block var="Note"/></custom-block><l>1</l></block></list></block></list></block></block></script></block-definition><block-definition s="Get Note %&apos;Note + Octave&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Extracts the note name from the provided scientific pitch notation. (e.g., An input of &quot;C4&quot; produces an output of &quot;C&quot;.)</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block s="reportStringSize"><block var="Note + Octave"/></block><l>2</l></block><script><block s="doReport"><block s="reportLetter"><l>1</l><block var="Note + Octave"/></block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportLetter"><l>1</l><block var="Note + Octave"/></block><block s="reportLetter"><l>2</l><block var="Note + Octave"/></block></list></block></block></script></block-definition><block-definition s="MIDI %&apos;Note&apos; Note" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Association list for note names and their corresponding MIDI numbers in the first octave. Used to convert note names to MIDI. </comment><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="Note"/><block s="reportNewList"><list><block s="reportNewList"><list><l>C</l><l>24</l></list></block><block s="reportNewList"><list><l>C#</l><l>25</l></list></block><block s="reportNewList"><list><l>D</l><l>26</l></list></block><block s="reportNewList"><list><l>D#</l><l>27</l></list></block><block s="reportNewList"><list><l>E</l><l>28</l></list></block><block s="reportNewList"><list><l>F</l><l>29</l></list></block><block s="reportNewList"><list><l>F#</l><l>30</l></list></block><block s="reportNewList"><list><l>G</l><l>31</l></list></block><block s="reportNewList"><list><l>G#</l><l>32</l></list></block><block s="reportNewList"><list><l>A</l><l>33</l></list></block><block s="reportNewList"><list><l>A#</l><l>34</l></list></block><block s="reportNewList"><list><l>B</l><l>35</l></list></block></list></block></custom-block></block></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="Get Octave %&apos;Note&apos;" type="reporter" category="Music" helper="true"><comment x="0" y="0" w="90" collapsed="false">Extracts the octave number from the provided scientific pitch notation. (e.g., An input of &quot;C4&quot; produces an output of &quot;4&quot;.)</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block s="reportStringSize"><block var="Note"/></block><l>2</l></block><script><block s="doReport"><block s="reportLetter"><l>2</l><block var="Note"/></block></block></script></block><block s="doReport"><block s="reportLetter"><l>3</l><block var="Note"/></block></block></script></block-definition><block-definition s="Initialize TuneScope" type="command" category="Music" helper="true"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/WebAudioFontPlayer.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/webmidi.iife.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0020_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0121_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0180_Chaos_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0230_Aspirin_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0241_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0260_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0320_GeneralUserGS_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0350_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0400_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0420_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0460_GeneralUserGS_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0560_GeneralUserGS_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0580_GeneralUserGS_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0600_GeneralUserGS_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0650_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0680_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0700_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0710_Chaos_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0730_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/0770_SBLive_sf2.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/1040_Aspirin_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/1050_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/1070_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12835_21_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12840_6_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12842_0_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12846_0_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12847_21_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12848_21_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12849_21_FluidR3_GM_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/12869_6_JCLive_sf2_file.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/TS_init.js</l></list></block><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/TuneScope/TuneScope.js</l></list></block><block s="doWaitUntil"><block s="reportApplyExtension"><l>ts_loaded()</l><list></list></block></block></script></block-definition><block-definition s="Play MIDI Controller: %&apos;controller_name&apos; Instrument: %&apos;instrument&apos;" type="command" category="Music"><comment x="0" y="0" w="285.7142857142857" collapsed="false">Passes through the signal from a MIDI controller, allowing the user to play the controller using the assigned instrument. The name of the MIDI controller must be input exactly as it appears on the user&apos;s computer.</comment><header></header><code></code><translations></translations><inputs><input type="%s">MPK mini 3<options>MPK mini 3&#xD;MPK mini play&#xD;MPK Mini Mk II&#xD;M-audio Keystation 49es</options></input><input type="%s" readonly="true">Piano<options>Piano&#xD;Brass={&#xD;French Horn&#xD;Trumpet&#xD;Tuba&#xD;}&#xD;Strings={&#xD;Banjo&#xD;Bass, Acoustic&#xD;Bass, Electric (Finger)&#xD;Cello&#xD;Guitar, Acoustic&#xD;Guitar, Electric&#xD;Guitar, Overdrive&#xD;Harp&#xD;Koto&#xD;Sitar&#xD;Violin&#xD;}&#xD;Woodwinds={&#xD;Bassoon&#xD;Clarinet&#xD;Flute&#xD;Oboe&#xD;Saxophone&#xD;Shakuhachi&#xD;}&#xD;Drums={&#xD;Cabasa&#xD;Snare Drum&#xD;Bass Drum&#xD;Closed Hi-Hat&#xD;Open Hi-Hat&#xD;Mid Tom&#xD;High Tom&#xD;Crash Cymbal&#xD;}&#xD;Other={&#xD;Accordion&#xD;Marimba&#xD;Music Box&#xD;Organ&#xD;Vibraphone&#xD;}</options></input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_playMIDI(controller, instrument)</l><list><block var="controller_name"/><block var="instrument"/></list></block></script></block-definition><block-definition s="Tone Number: %&apos;number&apos; Frequency: %&apos;frequency&apos; Amplitude: %&apos;amplitude&apos;" type="command" category="Music"><comment x="0" y="0" w="292.14285714285717" collapsed="false">This block assigns a number, frequency, and amplitude to a tone.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_settone(id, frequency, amplitude)</l><list><block var="number"/><block var="frequency"/><block var="amplitude"/></list></block></script></block-definition><block-definition s="Tone Number: %&apos;Number&apos; %&apos;newOn&apos; On/Off" type="command" category="Music"><comment x="0" y="0" w="371.424916294643" collapsed="false">This block turns the specified tone on or off. This block will play a sine wave. </comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%b"></input></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_turntoneon(id, bool)</l><list><block var="Number"/><block var="newOn"/></list></block></script></block-definition><block-definition s="Tone Off" type="command" category="Music"><comment x="0" y="0" w="234.87792968750003" collapsed="false">This block turns off all the tones currently playing. </comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Initialize TuneScope"></custom-block><block s="doApplyExtension"><l>ts_stoptones()</l><list></list></block></script></block-definition></blocks><stage name="舞台" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="3985"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAIABJREFUeF7tmcGtJVsVxZoUCIEMSIJwCIY8yAgRAimASkXNmPS2l/SQ/MfPq6/8B9Y+9YdfP+C/f/79179/wM/oJ/zXwL/+nIqfZOCP//hJv6bf8usvf0vCDzLwp19//cMP+jm/9VN+xA8v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VhXigYLMNLnwwXYdwoWCzCQ1wUM5Q3wAjyQCiYLMJC3QAvwwup5swCf1b1gT9BQoIwXYFkonCvAUKCNF2DbKNr7fw7wfwBjsHHhfaRvxgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="3986"></list></costumes><sounds><list struct="atomic" id="3987"></list></sounds><variables></variables><blocks></blocks><scripts><script x="108" y="138.5"><block s="receiveKey"><l><option>3</option></l><list></list></block><block s="doSetVar"><l>key</l><l>3</l></block><block s="doBroadcast"><l>clear</l><list></list></block></script><script x="376" y="195.5"><block s="receiveKey"><l><option>4</option></l><list></list></block><block s="doSetVar"><l>key</l><l>4</l></block><block s="doBroadcast"><l>clear</l><list></list></block></script><script x="67" y="361.8333333333333"><block s="receiveKey"><l><option>space</option></l><list></list></block></script><script x="239" y="364.6666666666667"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="doRepeat"><l>2</l><script></script></block></script><script x="271" y="453.6666666666667"><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>64</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>1</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block></script><script x="58" y="441.8333333333335"><block s="doRepeat"><l>36</l><script><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block></script></block></script><script x="268" y="40.5"><block s="receiveKey"><l><option>2</option></l><list></list></block><block s="doSetVar"><l>key</l><l>2</l></block><block s="doBroadcast"><l>clear</l><list></list></block></script><script x="65" y="6.666666666666667"><block s="receiveKey"><l><option>1</option></l><list></list></block><block s="doSetVar"><l>key</l><l>1</l></block><block s="doBroadcast"><l>clear</l><list></list></block></script></scripts><sprites select="0"><sprite name="角色" idx="1" x="-157" y="0" heading="90" scale="1" volume="100" pan="0" rotation="0" instrument="1"  draggable="true" hidden="true" costume="2" color="80,80,80,1" pen="tip" id="4140"><costumes><list id="4141"><item><ref mediaID="角色_cst_无名项目(2)"></ref></item><item><ref mediaID="角色_cst_无名项目(4)"></ref></item></list></costumes><sounds><list struct="atomic" id="4142"></list></sounds><blocks></blocks><variables><variable name="B"><l>0</l></variable><variable name="note"><l>0</l></variable><variable name="time"><l>0</l></variable><variable name="liehao"><l>0</l></variable></variables><scripts><script x="6.666666666666667" y="1211.9999999999998"><block var="1"/></script><script x="6.666666666666667" y="1534.5"><block s="reportAttributeOf"><l><option>costume #</option></l><block var="item"/></block></script><script x="6.666666666666667" y="1568.5"><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>59</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doWait"><l>0.5</l></block><block s="doPlayNote"><l>55</l><l>0.5</l></block><block s="doPlayNote"><l>60</l><l>0.5</l></block><block s="doPlayNote"><l>64</l><l>0.5</l></block><block s="doPlayNote"><l>62</l><l>1</l></block><block s="doPlayNote"><l>60</l><l>1</l></block><block s="doPlayNote"><l>62</l><l>0.5</l></block></script><script x="504.6666666666667" y="621.1666666666669"><block s="doPlayNote"><l>69</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>68</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>69</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>68</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.5</l></block></script><script x="477.6666666666667" y="1301"><block s="down"></block></script><script x="485.6666666666667" y="446.1666666666668"><block s="doPlayNote"><l>62</l><l>0.3</l></block><block s="doSetInstrument"><l>1</l></block></script><script x="35.333333333333336" y="509.3333333333333"><block s="receiveOnClone"></block><block s="doSetVar"><l>liehao</l><block s="reportRandom"><l>1</l><l>4</l></block></block><block s="show"></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><block s="reportVariadicSum"><list><l>-157</l><block s="reportVariadicProduct"><list><block s="reportDifference"><block var="liehao"/><l>1</l></block><l>100</l></list></block></list></block><l>289</l></block><block s="doUntil"><block s="reportLessThan"><block s="yPosition"></block><block s="reportDifference"><block s="reportAttributeOf"><l><option>bottom</option></l><l>角色(2)</l></block><l>30</l></block></block><script><block s="changeYPosition"><l>-10</l></block></script></block><block s="removeClone"></block></script><script x="35.333333333333336" y="746.4999999999997"><block s="receiveMessage"><l>clear</l><list></list></block><block s="doChangeVar"><l>count</l><l>1</l></block><block s="doDeclareVariables"><list><l>time1</l><l>note1</l></list></block><block s="doForEach"><l>item</l><block s="reportGet"><l><option>clones</option></l></block><script><block s="doIf"><block s="reportAskFor"><block var="item"/><block s="reifyReporter"><autolambda><block s="reportTouchingObject"><l>角色(2)</l></block></autolambda><list></list></block><list></list></block><script><block s="doIf"><block s="reportEquals"><block s="reportAttributeOf"><l>liehao</l><block var="item"/></block><block var="key"/></block><script><block s="doSetVar"><l>note1</l><block s="reportAttributeOf"><l>note</l><block var="item"/></block></block><block s="doSetVar"><l>time1</l><block s="reportAttributeOf"><l>time</l><block var="item"/></block></block><block s="doPlayNote"><block var="note1"/><block var="time1"/></block></script></block></script></block></script></block></script><script x="491.3333333333333" y="80.5"><block s="doPlayNote"><l>69</l><l>0.25</l></block><block s="doPlayNote"><l>69</l><l>0.25</l></block><block s="doPlayNote"><l>70</l><l>0.25</l></block><block s="doPlayNote"><l>70</l><l>0.25</l></block><block s="doPlayNote"><l>69</l><l>0.25</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>66</l><l>0.25</l></block><block s="doPlayNote"><l>61</l><l>0.5</l></block><block s="doPlayNote"><l>68</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.5</l></block><block s="doPlayNote"><l>66</l><l>0.5</l></block></script><script x="38" y="6.666666666666667"><block s="receiveGo"></block><block s="doSetVar"><l>music</l><block s="reportNewList"><list><block s="reportNewList"><list><l>69</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>68</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>69</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>68</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.5</l></list></block><block s="reportNewList"><list><l>69</l><l>0.25</l></list></block><block s="reportNewList"><list><l>69</l><l>0.25</l></list></block><block s="reportNewList"><list><l>70</l><l>0.25</l></list></block><block s="reportNewList"><list><l>70</l><l>0.25</l></list></block><block s="reportNewList"><list><l>69</l><l>0.25</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>66</l><l>0.25</l></list></block><block s="reportNewList"><list><l>61</l><l>0.5</l></list></block><block s="reportNewList"><list><l>68</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.5</l></list></block><block s="reportNewList"><list><l>66</l><l>0.5</l></list></block></list></block></block><block s="hide"></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><l>-157</l><l></l></block><block s="doForEach"><l>item</l><block var="music"/><script><block s="doIfElse"><block s="reportEquals"><block s="reportListItem"><l>1</l><block var="item"/></block><l></l></block><script><block s="doWait"><block s="reportListItem"><l>2</l><block var="item"/></block></block></script><script><block s="doTellTo"><block s="newClone"><l><option>myself</option></l></block><block s="reifyScript"><script><block s="doSetVar"><l>note</l><block var="#1"/></block><block s="doSetVar"><l>time</l><block var="#2"/></block></script><list><l>#1</l><l>#2</l></list></block><list><block s="reportListItem"><l>1</l><block var="item"/></block><block s="reportListItem"><l>2</l><block var="item"/></block></list></block><block s="doWait"><block s="reportListItem"><l>2</l><block var="item"/></block></block></script></block></script></block></script></scripts></sprite><sprite name="角色(2)" idx="2" x="0" y="-100" heading="90" scale="2" volume="100" pan="0" rotation="1" draggable="false" costume="1" color="0,214.2,34.27200000000003,1" pen="tip" id="4608"><costumes><list id="4609"><item><ref mediaID="角色(2)_cst_无名项目"></ref></item></list></costumes><sounds><list struct="atomic" id="4610"></list></sounds><blocks></blocks><variables></variables><scripts><script x="428.3333333333333" y="386.50000000000006"><block s="setScale"><l>200</l></block></script><script x="223.33333333333334" y="97.8888888888889"><block s="receiveGo"></block><block s="gotoXY"><l>0</l><l>-100</l></block></script><script x="6.666666666666667" y="235.16666666666666"><block s="receiveKey"><l><option>space</option></l><list></list></block></script></scripts></sprite><sprite name="角色(3)" idx="3" x="143" y="-180" heading="180" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="1" color="221.85,0,146.42100000000005,1" pen="tip" id="4624"><costumes><list id="4625"><item><ref mediaID="角色(3)_cst_无名项目"></ref></item></list></costumes><sounds><list struct="atomic" id="4626"></list></sounds><blocks></blocks><variables></variables><scripts><script x="260" y="57"><block s="receiveGo"></block><block s="hide"></block><block s="clear"></block><block s="doFor"><l>i</l><l>1</l><l>4</l><script><custom-block s="画 列 %n 颜色 %n"><block var="i"/><block s="reportRandom"><l>0</l><l>100</l></block></custom-block></script></block></script><script x="10" y="219.63333333333333"><custom-block s="画 列 %n 颜色 %n"><l>1</l><l></l></custom-block></script></scripts></sprite><watcher scope="角色" var="B" style="normal" x="10" y="183.000002" color="243,118,29" hidden="true"/><watcher var="count" style="normal" x="10" y="204.000004" color="243,118,29" hidden="true"/><watcher scope="角色" var="note" style="normal" x="10" y="225.00000599999998" color="243,118,29" hidden="true"/><watcher scope="角色" var="time" style="normal" x="10" y="246.00000799999998" color="243,118,29" hidden="true"/><watcher var="clearcount" style="normal" x="10" y="267.00001" color="243,118,29" hidden="true"/><watcher scope="角色" var="liehao" style="normal" x="10" y="288.00001199999997" color="243,118,29" hidden="true"/><watcher var="key" style="normal" x="10" y="309.00001399999996" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="music"><list id="4656"><item><list struct="atomic" id="4657">69,0.5</list></item><item><list struct="atomic" id="4658">66,0.25</list></item><item><list struct="atomic" id="4659">66,0.25</list></item><item><list struct="atomic" id="4660">68,0.5</list></item><item><list struct="atomic" id="4661">66,0.25</list></item><item><list struct="atomic" id="4662">66,0.25</list></item><item><list struct="atomic" id="4663">69,0.5</list></item><item><list struct="atomic" id="4664">66,0.25</list></item><item><list struct="atomic" id="4665">68,0.5</list></item><item><list struct="atomic" id="4666">66,0.5</list></item><item><list struct="atomic" id="4667">69,0.25</list></item><item><list struct="atomic" id="4668">69,0.25</list></item><item><list struct="atomic" id="4669">70,0.25</list></item><item><list struct="atomic" id="4670">70,0.25</list></item><item><list struct="atomic" id="4671">69,0.25</list></item><item><list struct="atomic" id="4672">66,0.25</list></item><item><list struct="atomic" id="4673">66,0.25</list></item><item><list struct="atomic" id="4674">66,0.25</list></item><item><list struct="atomic" id="4675">61,0.5</list></item><item><list struct="atomic" id="4676">68,0.5</list></item><item><list struct="atomic" id="4677">66,0.5</list></item><item><list struct="atomic" id="4678">66,0.5</list></item></list></variable><variable name="count"><l>23114</l></variable><variable name="clearcount"><l>39</l></variable><variable name="key"><l>2</l></variable></variables></scene></scenes></project><media name="music0.3" app="Snap! 7, https://snap.berkeley.edu" version="2"><costume name="无名项目(2)" center-x="22" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAA0CAYAAAAT3cGOAAAAAXNSR0IArs4c6QAAAYBJREFUaENjZKADMPn/OV0ogWcGzKpdCxkZybGWLE34LDL4/15BLEHgPqmO4V/AwLKakfEvPn1Ud6xb/P//pDoUn3rkWBj0joV55O2CT9OHjGNBjh51LDXTLLJZQyZkQRlt1LHEFkXI6ggVeQMSsqTWXiBPvFnwJfgcI+86uicDUh07oBls1LHklpXEZBRyzR5Ns+QUXcSE9mjIjobsQDQRR8tZYnInNjWj5Sw0VEaLrtGia7ToIjAiM1rOjpazDAwMo8lgSCcDQnU+sZ6jWTKglgORPUJ1x9LCkZTOJ2CMzxr8/6gqlsB3i9goJUcdVULW+P9XI+EErrPkOIAUPRQ71uH/fw62BIbvpFhKrtpfCxg4DzAy/iBHP7g9S8s0iu6otws+l55l5OsZEo4FOZLcpMBIz1CltAgbWo6ld5qlKBkMOcfS08HkZi6UGoweZS0lZSxGdUvLEKYkRGGlCNZBDmoXZ9RwKNaQRS4LKXU0tRyJN2RxVYWEHE9tx6G7AwBQ2+bXM/R8JgAAAABJRU5ErkJggg==" mediaID="角色_cst_无名项目(2)"/><costume name="无名项目(4)" center-x="22" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAA0CAYAAAAT3cGOAAAAAXNSR0IArs4c6QAAAX9JREFUaENjZKADMPn/OX1iFc8MmFXW7YyM5FhLliZ8Fhn8f68wtUrgPqmOmdDGwLKakfEvPn1Ud+zRyv//SXUoPvXIsTDoHQvzSF7bp+lDxrEgR486lpppFtmsIROyoIw26lhiiyJkdYSKvAEJWVJrL5Anctu+BJ9j5F1H92RAqmMHNIONOpbcspKYjEKu2aNplpyii5jQHg3Z0ZAdiCbiaDlLTO7Epma0nIWGymjRNVp0jRZdBEZkRsvZ0XKWgYFhNBkM6WRAqM4n1nM0SwbUciCyR6juWFo4ktL5BIzxWYP/H1WnVvHdIjZKyVFHlZA1/v/VaFIV11lyHECKHood6/D/P0drFcN3UiwlV211GwPnAUbGH+ToB7dnaZlG0R2V1/a59CwjX8+QcCzIkeQmBUZ6hiqlRdjQciy90yxFyWDIOZaeDiY3c6HUYPQoaykpYzGqW1qGMCUhCitFsA5yULs4o4ZDsYYscllIqaOp5Ui8IYurKiTkeGo7Dt0dAIK+6aKa48rcAAAAAElFTkSuQmCC" mediaID="角色_cst_无名项目(4)"/><costume name="无名项目" center-x="236" center-y="8.875" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwAAAAVCAYAAADsM189AAAAAXNSR0IArs4c6QAAAQpJREFUeF7t1UENgDAUBUFwioQ6QSISkFBSEd0LgwBeOvnJnuOa9+EjQIAAAQIEtgqc45pz64KfEyBAgAABAofgOgICBAgQIBAICG6AbIIAAQIECAiuGyBAgAABAoGA4AbIJggQIECAgOC6AQIECBAgEAgIboBsggABAgQICK4bIECAAAECgYDgBsgmCBAgQICA4LoBAgQIECAQCAhugGyCAAECBAgIrhsgQIAAAQKBgOAGyCYIECBAgIDgugECBAgQIBAICG6AbIIAAQIECAiuGyBAgAABAoGA4AbIJggQIECAgOC6AQIECBAgEAis4L7BjgkCBAgQIPBrgRXc59cCHk+AAAECBAKBD697Olzuk/PgAAAAAElFTkSuQmCC" mediaID="角色(2)_cst_无名项目"/><costume name="无名项目" center-x="8" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c6QAAARdJREFUOE/tk78uQ3EYhp/3JBaDO6hB3IBJIhJuwNCcDoSYTHZdnDrnVC01M5mEMPREwg0YRGJyAya9A4NFcl5pOU1TFdoY/cbve9/n9+97xZBVaXghz1mUme60LZ6DgLtWpPtBufoLYeoQ2AXmhoGBR+Agi5UV/R4gTN0Edr4xDpYPs1jVTrELqCTet4h+ae7KZBqtRDWV614KzO0o5kKbi2WFqa+BlXEAwE0H4DHNH1f5B/zBG1QSH1lsj/MTMscKE88gnoqpHAFkzGx3lMup1wM4G8FMDhtXsc77w7QGnACTP4Bega0s1kUvTIVhteHSW05VZtMw1Q8SvFicTgQ0LyO1v8R5cNew7nmL0mfy2tmeHoad7B3JjV7x5MyyHgAAAABJRU5ErkJggg==" mediaID="角色(3)_cst_无名项目"/></media></snapdata>