Music Blocks Project - Tonality Square v2

Print Fractions for https://en.wikipedia.org/wiki/Tonality_diamond#7-limit


Open in Music Blocks

This project was created in Music Blocks (https://musicblocks.sugarlabs.org/), a collection of manipulative tools for exploring fundamental musical concepts in an integrative and fun way. Music Blocks is a Free/Libre Software application, whose source code can be accessed at https://github.com/sugarlabs/musicblocks. For more information, please consult the Music Blocks guide.

To open this project, visit Music Blocks and drag and drop this file into the application window. Alternatively, open the file in Music Blocks using the "Load project from files" button.

Project Code

This code stores data about the blocks in a project along with a compiled version of the project, if applicable. Show
[[0,["start",{"id":1620858405725,"collapsed":false,"xcor":-393,"ycor":320.5,"heading":0,"color":100,"shade":50,"pensize":50,"grey":171.42857142857142}],777,162,[null,24,null]],[1,"settimbre",791,235,[24,2,45,3]],[2,["voicename",{"value":"piano"}],944,235,[1]],[3,"hidden",791,1527,[1,null]],[4,"forever",819,331,[76,60,null]],[5,"int",953,426,[36,21]],[6,"divide",1125,426,[21,7,11]],[7,"plus",1211,426,[6,51,8]],[8,"divide",1297,458,[7,9,10]],[9,["height",{"value":727}],1383,458,[8]],[10,["number",{"value":2}],1383,490,[8]],[11,["number",{"value":100}],1211,489,[6]],[12,["newnote",{"collapsed":false}],847,842,[70,13,16,18]],[13,"divide",949,842,[12,14,15]],[14,["number",{"value":1}],1035,842,[13]],[15,["number",{"value":4}],1035,874,[13]],[16,"vspace",861,874,[12,72]],[17,"hertz",861,1129,[92,19,53]],[18,"hidden",847,1252,[12,null]],[19,"multiply",935,1129,[17,39,20]],[20,["number",{"value":55}],1021,1161,[19]],[21,"plus",1039,426,[5,6,22]],[22,["number",{"value":1}],1125,521,[21]],[23,["grid",{"value":"Cartesian"}],865,203,[24]],[24,"print",791,203,[0,23,1]],[25,"hertz",861,1193,[53,26,null]],[26,"multiply",935,1193,[25,40,35]],[27,"plus",1039,554,[28,29,34]],[28,"int",953,554,[37,27]],[29,"divide",1125,554,[27,30,33]],[30,"plus",1211,554,[29,50,31]],[31,"divide",1297,586,[30,38,32]],[32,["number",{"value":2}],1383,618,[31]],[33,["number",{"value":100}],1211,617,[29]],[34,["number",{"value":1}],1125,649,[27]],[35,["number",{"value":55}],1021,1225,[26]],[36,["storein2",{"value":"box1"}],847,426,[60,5,55]],[37,["storein2",{"value":"box2"}],847,554,[58,28,54]],[38,["width",{"value":1280}],1383,586,[31]],[39,["namedbox",{"value":"box1"}],1021,1129,[19]],[40,["namedbox",{"value":"box2"}],1021,1193,[26]],[41,"float2string",921,682,[65,44]],[42,["namedbox",{"value":"box1"}],1099,682,[44]],[43,["namedbox",{"value":"box2"}],1099,714,[44]],[44,"divide",1013,682,[41,42,43]],[45,"drift",805,267,[1,76,46]],[46,"hidden",805,1496,[45,null]],[47,"setxy",847,1309,[48,62,63,49]],[48,"penup",847,1277,[60,47]],[49,"pendown",847,1372,[47,null]],[50,["x",{"value":-52}],1297,554,[30]],[51,["y",{"value":238.5}],1297,426,[7]],[52,"vspace",847,714,[65,64]],[53,"vspace",861,1161,[17,25]],[54,"vspace",847,586,[37,57]],[55,"vspace",847,458,[36,56]],[56,"vspace",847,490,[55,58]],[57,"vspace",847,618,[54,59]],[58,"vspace",847,522,[56,37]],[59,"vspace",847,650,[57,65]],[60,"ifthenelse",833,363,[4,61,36,48,null]],[61,["mousebutton",{"value":false}],928,386,[60]],[62,["mousex",{"value":-393}],921,1309,[47]],[63,["mousey",{"value":320.5}],921,1341,[47]],[64,"setcolor",847,746,[52,68,71]],[65,"print",847,682,[59,41,52]],[66,["namedbox",{"value":"box1"}],1105,746,[78]],[67,["namedbox",{"value":"box2"}],1105,778,[78]],[68,"multiply",933,746,[64,78,69]],[69,["number",{"value":100}],1019,809,[68]],[70,"vspace",847,810,[71,12]],[71,"vspace",847,778,[64,70]],[72,"forward",861,906,[16,73,74]],[73,["number",{"value":1}],941,906,[72]],[74,"back",861,938,[72,75,90]],[75,["number",{"value":1}],935,938,[74]],[76,"setpensize",819,299,[45,77,4]],[77,["number",{"value":50}],927,299,[76]],[78,"divide",1019,746,[68,66,67]],[79,"show",861,1002,[90,80,85,89]],[80,["number",{"value":25}],935,1002,[79]],[81,["text",{"value":" / "}],1107,1066,[86]],[82,"plus",946,947,[null,83,84]],[83,["number",{"value":2}],1032,947,[82]],[84,["number",{"value":2}],1032,979,[82]],[85,"plus",935,1034,[79,87,86]],[86,"plus",1021,1066,[85,81,88]],[87,["namedbox",{"value":"box1"}],1021,1034,[85]],[88,["namedbox",{"value":"box2"}],1107,1098,[86]],[89,"vspace",861,1065,[79,92]],[90,"setshade",861,970,[74,91,79]],[91,["number",{"value":0}],954,970,[90]],[92,"setshade",861,1097,[89,93,17]],[93,["number",{"value":50}],954,1097,[92]]]