public FactoryEDO270(Type_Map map, bool[] pinc) : base(270, map, pinc) { synthetic = new bool[27]; for (int i = 0; i < 11; i++) { synthetic[(i * 10) % synthetic.Length] = true; } build_dichotomy(13); commas = new Comma[4]; pumps = new Pump[4]; commas[0] = new Comma(this, new int[] { 2, 2, 1, 3 }); pumps[0] = new Pump(commas[0]); commas[1] = new Comma(this, new int[] { 0, 1, 0, 3, -1 }); pumps[1] = new Pump(commas[0]); commas[2] = new Comma(this, new int[] { 1, 2, -4 }); pumps[2] = new Pump(commas[0]); commas[3] = new Comma(this, new int[] { 2, 1, 1, 0, 1 }); pumps[3] = new Pump(commas[0]); PumpStructure ps1 = new PumpStructureTwoAcross(this, 1, 3); PumpStructure ps2 = new PumpStructureSimple(this, 2); pumpStructure = new PumpStructureRandom(this); }
public FactoryEDO22(Type_Map map, bool[] pinc) : base(22, map, pinc) { commas = new Comma[2]; pumps = new Pump[2]; commas[0] = new Comma(this, new int[] { 3, 7, 0 }); int[] path = new int[] { 0, 13, 20, 11, 8, 3, 10, 1, 8, 15 }; pumps[0] = new Pump(commas[0], path); commas[1] = new Comma(this, new int[] { 3, 7, 0 }); int[] path1 = new int[] { 7, 20, 11, 18, 3, 16 }; pumps[1] = new Pump(commas[1], path1); pumpStructure = new PumpStructureRandom(this); //PumpStructure b53 = new PumpStructureBig(this, 2); //pumpStructure = new PumpStructureSum(this, a53, b53); /* * scale = new bool[11]; * scale[0] = true; * scale[3] = true; * scale[5] = true; * scale[7] = true; * scale[9] = true; */ for (int i = 0; i < edo; i++) { scale[i] = false; } for (int i = 0; i < 14; i++) { scale[(5 * i) % edo] = true; } dichotomy = new bool[3, edo]; dichotomy[0, 0] = true; dichotomy[0, 13] = true; // 3:2 dichotomy[0, 9] = true; // 4:3 dichotomy[0, 15] = true; // 8:5 dichotomy[0, 7] = true; // 5:4 dichotomy[0, 6] = true; // 6:5 dichotomy[0, 16] = true; // 5:3 dichotomy[0, 4] = true; // 9:8 = 8:7 dichotomy[0, 18] = true; // 16:9 = 7:4 dichotomy[0, 11] = true; // 7:5 = 10:7 dichotomy[0, 5] = true; // 7:6 dichotomy[0, 17] = true; // 12:7 //dichotomy[0, 48] = true; //dichotomy[0, 5] = true; //dichotomy[0, 44] = true; //dichotomy[0, 9] = true; }
public FactoryEDO441(Type_Map map, bool[] pinc) : base(441, map, pinc) { scale = new bool[63]; for (int i = 0; i < 14; i++) { scale[(i * 22) % 63] = true; } pumpStructure = new PumpStructureRandom(this); }
public FactoryEDO87(Type_Map map, bool[] pinc) : base(87, map, pinc) { commas = new Comma[6]; pumps = new Pump[6]; commas[0] = new Comma(this, new int[] { 5, -6, 0 }); pumps[0] = new Pump(commas[0]); commas[1] = new Comma(this, new int[] { 2, 15, 0 }); pumps[1] = new Pump(commas[1]); commas[2] = new Comma(this, new int[] { -2, 1, -2, 1 }); pumps[2] = new Pump(commas[2]); commas[3] = new Comma(this, new int[] { 1, -1, -1, -1 }); pumps[3] = new Pump(commas[3]); commas[4] = new Comma(this, new int[] { -2, -4, 0, 1 }); pumps[4] = new Pump(commas[4]); commas[5] = new Comma(this, new int[] { -3, 1, -1, -1, 1 }); pumps[5] = new Pump(commas[5], // new int[] {0, 28, 45, 19, 66, 15, 51 }); new int[] { 0, 28, 45, 19, 66, 15, 51 }); pumpStructure = new PumpStructureRandom(this); //PumpStructure b87 = new PumpStructureBig(this, 3); //pumpStructure = new PumpStructureSum(this, a87, b87); /* * scale = new bool[29]; * for(int i = 0; i<5; i++) * { * scale[(7 * i) % 29] = true; * } */ /* * scale = new bool[3]; * scale[0] = true; * scale[1] = true; */ dichotomy = new bool[3, edo]; dichotomy[0, 0] = true; dichotomy[0, 51] = true; dichotomy[0, 36] = true; dichotomy[0, 28] = true; dichotomy[0, 59] = true; dichotomy[0, 23] = true; dichotomy[0, 64] = true; dichotomy[0, 15] = true; dichotomy[0, 72] = true; }
public FactoryEDO55(Type_Map map, bool[] pinc) : base(55, map, pinc) { scale = new bool[11]; for (int i = 0; i < 5; i++) { scale[(i * 7) % 11] = true; } pumpStructure = new PumpStructureRandom(this); dichotomy = new bool[edo]; dichotomy[0] = true; dichotomy[32] = true; dichotomy[23] = true; dichotomy[18] = true; dichotomy[37] = true; dichotomy[14] = true; dichotomy[41] = true; dichotomy[9] = true; dichotomy[46] = true; }
public FactoryEDO12(Type_Map map, bool[] pinc) : base(12, map, pinc) { commas = new Comma[2]; pumps = new Pump[2]; commas[0] = new Comma(this, new int[] { 4, -1 }); pumps[0] = new Pump(commas[0], new int[] { 0, 7, 2, 9, 4 }); commas[1] = new Comma(this, new int[] { 0, 3 }); pumps[1] = new Pump(commas[1]); pumpStructure = new PumpStructureRandom(this); /* * for (int i = 0; i < edo; i++) * { * scale[i] = false; * } * * for (int i = 0; i < 7; i++) * { * scale[(5 + 7 * i) % edo] = true; * } */ augmented = new bool[4]; augmented[0] = true; augmented[1] = true; dichotomy = new bool[1, edo]; dichotomy[0, 0] = true; dichotomy[0, 7] = true; dichotomy[0, 5] = true; dichotomy[0, 4] = true; dichotomy[0, 8] = true; dichotomy[0, 3] = true; dichotomy[0, 9] = true; dichotomy[0, 2] = true; dichotomy[0, 10] = true; }
public FactoryEDO50(Type_Map map, bool[] pinc) : base(50, map, pinc) { commas = new Comma[2]; pumps = new Pump[2]; commas[1] = new Comma(this, new int[] { 4, -1, 0 }); pumps[1] = new Pump(commas[1], new int[] { 37, 16, 45, 24, 3 }); pumpStructure = new PumpStructureRandom(this); //scale = new bool[25]; for (int i = 0; i < edo; i++) { scale[i] = false; } for (int i = 0; i < 19; i++) { scale[(29 * i) % scale.Length] = true; } dichotomy = new bool[2, edo]; dichotomy[0, 0] = true; dichotomy[0, 29] = true; dichotomy[0, 21] = true; dichotomy[0, 16] = true; dichotomy[0, 34] = true; dichotomy[0, 37] = true; dichotomy[0, 13] = true; dichotomy[1, 0] = true; dichotomy[1, 29] = true; dichotomy[1, 21] = true; }
public FactoryEDO7(Type_Map map, bool[] pinc) : base(7, map, pinc) { pumpStructure = new PumpStructureRandom(this); }
public FactoryEDO118(Type_Map map, bool[] pinc) : base(118, map, pinc) { commas = new Comma[4]; pumps = new Pump[4]; commas[0] = new Comma(this, new int[] { 8, 1, 0 }); pumps[0] = new Pump(commas[0] , new int[] { 89, 40, 109, 60, 11, 80, 31, 100, 51 } ); commas[1] = new Comma(this, new int[] { 2, 15, 0 }); pumps[1] = new Pump(commas[1]); commas[2] = new Comma(this, new int[] { 6, -14, 0 }); pumps[2] = new Pump(commas[2], new int[] { 0, 80, 42, 73, 35, 66, 28, 59, 21, 101, 14, 94, 7, 87 }); commas[3] = new Comma(this, new int[] { 14, -13, 0 }); int[] pkp = new int[14]; for (int i = 0; i < 14; i++) { pkp[i] = ((14 + i) * 31) % 118; } pumps[3] = new Pump(commas[3], pkp); //new int[] //{0, 31, 62, 93, 6, 37, 68, 99, 12, 43, 74, 105, 18, 49 }); //PumpStructure a118 = new PumpStructureSimple(this, 1); //PumpStructure b118 = new PumpStructureBig(this, 2); //pumpStructure = new PumpStructureSum(this, a118, b118); pumpStructure = new PumpStructureRandom(this); /* * for (int i = 0; i < edo; i++) * { * scale[i] = false; * } * for (int i = 0; i < 17; i++) * { * scale[(69 * i) % edo] = true; * } */ /* * for (int i = 0; i < 42; i++) * { * scale[(31 * i) % edo] = true; * } */ /* * scale = new bool[59]; * for (int i = 0; i < 17; i++) * { * scale[(7 * i) % 59] = true; * } */ /* * scale[0] = true; * scale[6] = true; * scale[12] = true; * scale[18] = true; * scale[25] = true; */ dichotomy = new bool[2, edo]; dichotomy[0, 0] = true; dichotomy[0, 69] = true; dichotomy[0, 49] = true; dichotomy[0, 38] = true; dichotomy[0, 80] = true; dichotomy[0, 31] = true; dichotomy[0, 87] = true; dichotomy[0, 18] = true; dichotomy[0, 100] = true; dichotomy[0, 20] = true; dichotomy[0, 98] = true; dichotomy[1, 0] = true; dichotomy[1, 69] = true; dichotomy[1, 49] = true; }
public FactoryEDO34(Type_Map map, bool[] pinc) : base(34, map, pinc) { commas = new Comma[3]; pumps = new Pump[4]; commas[0] = new Comma(this, new int[] { 4, 2, 0 }); pumps[0] = new Pump(commas[0], new int[] { 23, 9, 20, 6, 26, 3 }); commas[1] = new Comma(this, new int[] { 5, -6, 0 }); pumps[1] = new Pump(commas[1]); pumps[2] = new Pump(commas[0], new int[] { 0, 20, 6, 17, 3, 23 }); int[] path = new int[9]; for (int i = 0; i < 9; i++) { path[i] = (10 + i * 11) % 34; } commas[2] = new Comma(this, new int[] { -1, 8, 0 }); pumps[3] = new Pump(commas[0], path); pumpStructure = new PumpStructureRandom(this); /* * for (int i = 0; i < edo; i++) * { * scale[i] = false; * } * * for(int i = 0; i<19; i++) * { * scale[(i * 11) % edo] = true; * } */ /* * scale[0] = true; * scale[3] = true; * scale[6] = true; * scale[17] = true; * scale[20] = true; * scale[23] = true; */ /* * scale = new bool[17]; * for (int i = 0; i < 6; i++) * { * scale[(20 * i) % 17] = true; * } */ dichotomy = new bool[1, edo]; dichotomy[0, 0] = true; dichotomy[0, 9] = true; dichotomy[0, 25] = true; dichotomy[0, 11] = true; dichotomy[0, 23] = true; dichotomy[0, 14] = true; dichotomy[0, 20] = true; // dichotomy[0, 31] = true; // dichotomy[0, 3] = true; dichotomy[0, 28] = true; dichotomy[0, 6] = true; dichotomy[0, 29] = true; dichotomy[0, 5] = true; }
public FactoryEDO31(Type_Map map, bool[] pinc) : base(31, map, pinc) { commas = new Comma[11]; pumps = new Pump[11]; commas[0] = new Comma(this, new int[] { 0, 5, -2 }); pumps[0] = new Pump(commas[0], new int[] { 9, 3, 24, 14, 4, 25, 19 }); commas[1] = new Comma(this, new int[] { 4, -1, 0 }); pumps[1] = new Pump(commas[1]); commas[2] = new Comma(this, new int[] { 3, 7, 0 }); pumps[2] = new Pump(commas[2]); commas[3] = new Comma(this, new int[] { 1, 0, 3 }); pumps[3] = new Pump(commas[3]); commas[4] = new Comma(this, new int[] { 2, 2, -1 }); pumps[4] = new Pump(commas[4], new int[] { 0, 18, 28, 15, 25 }); commas[5] = new Comma(this, new int[] { 3, 1, -2, -1 }); pumps[5] = new Pump(commas[5]); commas[6] = new Comma(this, new int[] { 4, -3, -1, 1 }); pumps[6] = new Pump(commas[6]); commas[7] = new Comma(this, new int[] { 2, -3, 1 }); pumps[7] = new Pump(commas[7], new int[] { 0, 8, 16, 24 }); commas[8] = new Comma(this, new int[] { 3, 4, -5 }); pumps[8] = new Pump(commas[8]); commas[9] = new Comma(this, new int[] { -1, 8, 0 }); pumps[9] = new Pump(commas[9]); // , new int[] {0, 18, 8, 29, 19, 6, 27, 17, 30, 20, 10 }); commas[10] = new Comma(this, new int[] { 1, 5, 1 }); pumps[10] = new Pump(commas[9], new int[] { 0, 21, 11, 1, 14, 4, 25 }); //PumpStructure a = new PumpStructureSimple(this, 1); //PumpStructure b = new PumpStructureBig(this, 9); pumpStructure = new PumpStructureRandom(this); for (int i = 0; i < edo; i++) { scale[i] = false; } for (int i = 0; i < 13; i++) { scale[(10 * i) % edo] = true; } build_dichotomy(9); dichotomy = new bool[4][]; for (int i = 0; i < 4; i++) { dichotomy[i] = new bool[edo]; } dichotomy[0][0] = true; dichotomy[0][18] = true; dichotomy[0][13] = true; dichotomy[0][8] = true; dichotomy[0][23] = true; dichotomy[0][10] = true; dichotomy[0][21] = true; dichotomy[0][5] = true; dichotomy[0][26] = true; dichotomy[0][15] = true; dichotomy[0][16] = true; dichotomy[0][25] = true; dichotomy[0][6] = true; dichotomy[0][24] = true; dichotomy[0][7] = true; dichotomy[1][0] = true; dichotomy[1][6] = true; dichotomy[1][25] = true; dichotomy[1][18] = true; dichotomy[1][12] = true; dichotomy[1][19] = true; dichotomy[2][0] = true; dichotomy[2][6] = true; dichotomy[2][25] = true; dichotomy[2][10] = true; dichotomy[2][4] = true; dichotomy[2][27] = true; dichotomy[3][0] = true; dichotomy[3][18] = true; dichotomy[3][13] = true; /* * dichotomy[3][22] = true; * dichotomy[3][7] = true; * dichotomy[3][11] = true; * dichotomy[3][27] = true; * dichotomy[3][2] = true; * dichotomy[3][6] = true; * * dichotomy[4][30] = true; * dichotomy[4][1] = true; * dichotomy[4][17] = true; * dichotomy[4][19] = true; * dichotomy[4][12] = true; * dichotomy[4][28] = true; */ /* * dichotomy[8] = true; * * dichotomy[15] = true; * * dichotomy[27] = true; * dichotomy[29] = true; * dichotomy[20] = true; * dichotomy[25] = true; * dichotomy[19] = true; */ /* * for (int i = 0; i < 12; i++) * { * scale[(18 * i) % edo] = true; * } */ /* * scale = new bool[4]; * for(int i=0; i<2; i++) * { * scale[(1*i) % scale.Length] = true; * } */ /* * scale = new bool[18]; * scale[0] = true; * scale[5] = true; * scale[10] = true; * scale[13] = true; */ }
public FactoryEDO19(Type_Map map, bool[] pinc) : base(19, map, pinc) { commas = new Comma[3]; pumps = new Pump[3]; commas[0] = new Comma(this, new int[] { 4, -1, 0 }); pumps[0] = new Pump(commas[0]); commas[1] = new Comma(this, new int[] { 1, -5, 0 }); pumps[1] = new Pump(commas[1], new int[] { 5, 18, 10, 4, 17, 11 }); commas[2] = new Comma(this, new int[] { 3, 4 }); pumps[2] = new Pump(commas[1], new int[] { 0, 6, 12, 4, 10, 2, 8 }); pumpStructure = new PumpStructureRandom(this); /* * pumpStructure = new PumpStructureArray(this, new int[,] * {{12, 0, 10, 8, 6, 4, 2, 14, 16 }, * {8, 16, 14, 2, 10, 12, 0, 6, 4 }, * {4, 2, 6, 0, 14, 16, 10, 12, 8 }, * {16, 14, 4, 12, 2, 0, 6, 8, 10 }, * {2, 6, 8, 14, 4, 10, 12, 16, 0 }, * {10, 12, 0, 6, 16, 8, 14, 4, 2 }, * {14, 10, 12, 4, 8, 2, 16, 0, 6}, * {6, 4, 2, 16, 0, 14, 8, 10, 12 }, * {0, 8, 16, 10, 12, 6, 4, 2, 14 } }); */ /* * for (int i = 0; i < edo; i++) * { * scale[i] = false; * } * * for (int i = 0; i < 10; i++) * { * scale[(2 * i) % edo] = true; * } */ dichotomy = new bool[1, edo]; dichotomy[0, 0] = true; dichotomy[0, 8] = true; dichotomy[0, 11] = true; dichotomy[0, 6] = true; dichotomy[0, 13] = true; dichotomy[0, 5] = true; dichotomy[0, 14] = true; dichotomy[0, 3] = true; dichotomy[0, 16] = true; diatonic = new bool[19]; for (int i = 0; i < 7; i++) { diatonic[(11 * i) % 19] = true; } chromatic = new bool[19]; for (int i = 0; i < 12; i++) { chromatic[(11 * i) % 19] = true; } negri = new bool[19]; for (int i = 0; i < 10; i++) { negri[(2 * i) % 19] = true; } }
public FactoryEDO53(Type_Map map, bool[] pinc) : base(53, map, pinc) { commas = new Comma[5]; pumps = new Pump[6]; commas[0] = new Comma(this, new int[] { 5, -6, 0 }); int[] path = new int[6]; for (int i = 0; i < 6; i++) { path[i] = (i * 14 + 56) % edo; } pumps[0] = new Pump(commas[0]); commas[1] = new Comma(this, new int[] { 8, 1, 0 }); pumps[1] = new Pump(commas[1], new int[] { 9, 40, 18, 49, 27, 5, 36, 14, 45 }); commas[2] = new Comma(this, new int[] { 3, 7, 0 }); pumps[2] = new Pump(commas[2]); commas[3] = new Comma(this, new int[] { -2, -2, 1 }); pumps[3] = new Pump(commas[3], new int[] { 0, 31, 48, 26, 43 }); pumps[4] = new Pump(commas[3], new int[] { 36, 14, 24, 2, 19 }); commas[4] = new Comma(this, new int[] { 1, 1, 0, 0, 3 }); pumps[5] = new Pump(commas[4]); pumpStructure = new PumpStructureRandom(this); //PumpStructure b53 = new PumpStructureBig(this, 2); //pumpStructure = new PumpStructureSum(this, a53, b53); hanson = new bool[53]; diatonic = new bool[53]; diatonic[0] = true; diatonic[9] = true; diatonic[17] = true; diatonic[22] = true; diatonic[31] = true; diatonic[40] = true; diatonic[48] = true; for (int i = 0; i < 19; i++) { hanson[(i * 14) % 53] = true; } /* * scale = new bool[14]; * scale[0] = true; * scale[3] = true; * scale[11] = true; */ /* * for (int i = 0; i < edo; i++) * { * scale[i] = false; * } */ schismatic = new bool[53]; for (int i = 0; i < 17; i++) { schismatic[(31 * i) % edo] = true; } amity = new bool[53]; for (int i = 0; i < 18; i++) { amity[(15 * i) % edo] = true; } dichotomy = new bool[3, edo]; dichotomy[0, 0] = true; dichotomy[0, 31] = true; dichotomy[0, 22] = true; dichotomy[0, 14] = true; dichotomy[0, 39] = true; dichotomy[0, 17] = true; dichotomy[0, 36] = true; dichotomy[0, 9] = true; dichotomy[0, 44] = true; /* * dichotomy[0, 10] = true; * dichotomy[0, 43] = true; * dichotomy[0, 26] = true; * dichotomy[0, 27] = true; * dichotomy[0, 12] = true; * dichotomy[0, 41] = true; */ //dichotomy[0, 48] = true; //dichotomy[0, 5] = true; //dichotomy[0, 44] = true; //dichotomy[0, 9] = true; dichotomy[1, 0] = true; dichotomy[1, 14] = true; dichotomy[1, 17] = true; dichotomy[1, 39] = true; dichotomy[1, 36] = true; dichotomy[1, 48] = true; dichotomy[1, 5] = true; dichotomy[2, 0] = true; dichotomy[2, 22] = true; dichotomy[2, 31] = true; }