annotate HeresyBigBangDone/application.macosx/source/chord_changer.pde @ 50:f4c6999ecfe9 tip

added the files on my computer that aren't aiff s> these shoudl be everything for the big bang fair 2011 - heresy, and tim's file's also here
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sat, 08 Oct 2011 22:12:49 +0100
parents
children
rev   line source
andrew@50 1
andrew@50 2 void chordCalc(){
andrew@50 3 barCounter++;
andrew@50 4 if (barCounter % 4 == 0 || ((currentChord == 1 || currentChord == 5 || currentChord == 7) && barCounter % 4 == 3)){
andrew@50 5 tonicNeeded = true;
andrew@50 6 print(" tonic needed " + (barCounter % 4));
andrew@50 7 }
andrew@50 8 else tonicNeeded = false;
andrew@50 9 chooseChord();
andrew@50 10 }
andrew@50 11
andrew@50 12 void chooseChord(){
andrew@50 13
andrew@50 14 int i = 0;
andrew@50 15 for (; i < crneeded; i++){
andrew@50 16 if (chordChoicesArray[i].chordNote == currentChord && chordChoicesArray[i].minor == heresyMinor)
andrew@50 17 break;
andrew@50 18 }
andrew@50 19 if (currentChord == 1 && heresyDom)
andrew@50 20 i = 16;
andrew@50 21 if (tonicNeeded && i != 24){
andrew@50 22 int gotOne = -1;
andrew@50 23 int gotTwo = -1;
andrew@50 24 if (chordChoicesArray[i].optionArray[0].chordOption == 0 && chordChoicesArray[i].optionArray[1].chordOption == 0 && int(random(2)) == 0)
andrew@50 25 chosenChord (i, chordChoicesArray[i].optionArray[1].chordOption);
andrew@50 26 else if
andrew@50 27 (chordChoicesArray[i].optionArray[0].chordOption == 0 && chordChoicesArray[i].optionArray[1].chordOption != 0)
andrew@50 28 chosenChord (i, chordChoicesArray[i].optionArray[0].chordOption);
andrew@50 29 else
andrew@50 30 chosenChord (i, int(random(chordChoicesArray[i].slots)));
andrew@50 31 }
andrew@50 32 else if (i != 24){
andrew@50 33 chosenChord(i, int(random(chordChoicesArray[i].slots)));
andrew@50 34 }else{
andrew@50 35 currentChord = lastChordChange;
andrew@50 36 heresyMinor = lastMinor;
andrew@50 37 }
andrew@50 38 println(" chord selected : " + currentChord + " minor:" + heresyMinor);
andrew@50 39 }
andrew@50 40
andrew@50 41 void chosenChord(int p, int p2){
andrew@50 42 lastChordChange = currentChord;
andrew@50 43 lastMinor = heresyMinor;
andrew@50 44 // println("p: " + p + " p2 : " + p2);
andrew@50 45 currentChord = chordChoicesArray[p].optionArray[p2].chordOption;
andrew@50 46 heresyMinor = chordChoicesArray[p].optionArray[p2].minor;
andrew@50 47 if (int(random(4)) == 0)
andrew@50 48 heresy7th = true;
andrew@50 49 else
andrew@50 50 heresy7th = false;
andrew@50 51 if (int(random(4)) == 0)
andrew@50 52 heresy9th = true;
andrew@50 53 else
andrew@50 54 heresy9th = false;
andrew@50 55 if (int(random(4)) == 0)
andrew@50 56 heresy11th = true;
andrew@50 57 else
andrew@50 58 heresy11th = false;
andrew@50 59
andrew@50 60
andrew@50 61 }
andrew@50 62
andrew@50 63
andrew@50 64
andrew@50 65 class chordChoices{
andrew@50 66 int chordNote;
andrew@50 67 boolean minor;
andrew@50 68 ChordChoice[] optionArray;
andrew@50 69 int slots;
andrew@50 70
andrew@50 71 public chordChoices(int chordNote, boolean minor, int slotsNeeded){
andrew@50 72 this.chordNote = chordNote;
andrew@50 73 this.minor = minor;
andrew@50 74 optionArray = new ChordChoice[slotsNeeded];
andrew@50 75 slots = slotsNeeded;
andrew@50 76 }
andrew@50 77 }
andrew@50 78
andrew@50 79 class ChordChoice{
andrew@50 80 int chordOption;
andrew@50 81 boolean minor, h7th, h9th, h11th, h13th, dom;
andrew@50 82
andrew@50 83 public ChordChoice(int chordOption, boolean minor, boolean dom, boolean h7th, boolean h9th, boolean h11th, boolean h13th){
andrew@50 84 this.chordOption = chordOption;
andrew@50 85 this.minor = minor;
andrew@50 86 this.dom = dom;
andrew@50 87 this.h7th = h7th;
andrew@50 88 this.h9th = h9th;
andrew@50 89 this.h11th = h11th;
andrew@50 90 this.h13th = h13th;
andrew@50 91 }
andrew@50 92 }
andrew@50 93
andrew@50 94 //void stuff(){
andrew@50 95 chordChoices[] chordChoicesArray = new chordChoices[crneeded];
andrew@50 96
andrew@50 97 void markovStuff(){
andrew@50 98 chordChoicesArray[0] = new chordChoices(0, false, 13);
andrew@50 99 chordChoicesArray[0].optionArray[0] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 100 chordChoicesArray[0].optionArray[1] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 101 chordChoicesArray[0].optionArray[2] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 102 chordChoicesArray[0].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 103 chordChoicesArray[0].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 104 chordChoicesArray[0].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 105 chordChoicesArray[0].optionArray[6] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 106 chordChoicesArray[0].optionArray[7] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 107 chordChoicesArray[0].optionArray[8] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 108 chordChoicesArray[0].optionArray[9] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 109 chordChoicesArray[0].optionArray[10] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 110 chordChoicesArray[0].optionArray[11] = new ChordChoice(10, false, true, true, true, true, true);
andrew@50 111 chordChoicesArray[0].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 112
andrew@50 113 chordChoicesArray[1] = new chordChoices(0, true, 14);
andrew@50 114 chordChoicesArray[1].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 115 chordChoicesArray[1].optionArray[1] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 116 chordChoicesArray[1].optionArray[2] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 117 chordChoicesArray[1].optionArray[3] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 118 chordChoicesArray[1].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 119 chordChoicesArray[1].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 120 chordChoicesArray[1].optionArray[6] = new ChordChoice(6, true, false, true, true, true, true);
andrew@50 121 chordChoicesArray[1].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 122 chordChoicesArray[1].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 123 chordChoicesArray[1].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 124 chordChoicesArray[1].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 125 chordChoicesArray[1].optionArray[11] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 126 chordChoicesArray[1].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 127 chordChoicesArray[1].optionArray[13] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 128
andrew@50 129 chordChoicesArray[2] = new chordChoices(2, false, 9);
andrew@50 130 chordChoicesArray[2].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 131 chordChoicesArray[2].optionArray[1] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 132 chordChoicesArray[2].optionArray[2] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 133 chordChoicesArray[2].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 134 chordChoicesArray[2].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 135 chordChoicesArray[2].optionArray[5] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 136 chordChoicesArray[2].optionArray[6] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 137 chordChoicesArray[2].optionArray[7] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 138 chordChoicesArray[2].optionArray[8] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 139
andrew@50 140 chordChoicesArray[3] = new chordChoices(2, true, 13);
andrew@50 141 chordChoicesArray[3].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 142 chordChoicesArray[3].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 143 chordChoicesArray[3].optionArray[2] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 144 chordChoicesArray[3].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 145 chordChoicesArray[3].optionArray[4] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 146 chordChoicesArray[3].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 147 chordChoicesArray[3].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 148 chordChoicesArray[3].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 149 chordChoicesArray[3].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 150 chordChoicesArray[3].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 151 chordChoicesArray[3].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 152 chordChoicesArray[3].optionArray[11] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 153 chordChoicesArray[3].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 154
andrew@50 155 chordChoicesArray[4] = new chordChoices(4, false, 4);
andrew@50 156 chordChoicesArray[4].optionArray[0] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 157 chordChoicesArray[4].optionArray[1] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 158 chordChoicesArray[4].optionArray[2] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 159 chordChoicesArray[4].optionArray[3] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 160
andrew@50 161 chordChoicesArray[5] = new chordChoices(4, true, 13);
andrew@50 162 chordChoicesArray[5].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 163 chordChoicesArray[5].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 164 chordChoicesArray[5].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 165 chordChoicesArray[5].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 166 chordChoicesArray[5].optionArray[4] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 167 chordChoicesArray[5].optionArray[5] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 168 chordChoicesArray[5].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 169 chordChoicesArray[5].optionArray[7] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 170 chordChoicesArray[5].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 171 chordChoicesArray[5].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 172 chordChoicesArray[5].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 173 chordChoicesArray[5].optionArray[11] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 174 chordChoicesArray[5].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 175
andrew@50 176 chordChoicesArray[6] = new chordChoices(5, false, 14);
andrew@50 177 chordChoicesArray[6].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 178 chordChoicesArray[6].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 179 chordChoicesArray[6].optionArray[2] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 180 chordChoicesArray[6].optionArray[3] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 181 chordChoicesArray[6].optionArray[4] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 182 chordChoicesArray[6].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 183 chordChoicesArray[6].optionArray[6] = new ChordChoice(6, true, false, true, true, true, true);
andrew@50 184 chordChoicesArray[6].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 185 chordChoicesArray[6].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 186 chordChoicesArray[6].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 187 chordChoicesArray[6].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 188 chordChoicesArray[6].optionArray[11] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 189 chordChoicesArray[6].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 190 chordChoicesArray[6].optionArray[13] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 191
andrew@50 192 chordChoicesArray[7] = new chordChoices(5, true, 15);
andrew@50 193 chordChoicesArray[7].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 194 chordChoicesArray[7].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 195 chordChoicesArray[7].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 196 chordChoicesArray[7].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 197 chordChoicesArray[7].optionArray[4] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 198 chordChoicesArray[7].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 199 chordChoicesArray[7].optionArray[6] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 200 chordChoicesArray[7].optionArray[7] = new ChordChoice(6, true, false, true, true, true, true);
andrew@50 201 chordChoicesArray[7].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 202 chordChoicesArray[7].optionArray[9] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 203 chordChoicesArray[7].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 204 chordChoicesArray[7].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 205 chordChoicesArray[7].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 206 chordChoicesArray[7].optionArray[13] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 207 chordChoicesArray[7].optionArray[14] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 208
andrew@50 209 chordChoicesArray[8] = new chordChoices(7, true, 14);
andrew@50 210 chordChoicesArray[8].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 211 chordChoicesArray[8].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 212 chordChoicesArray[8].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 213 chordChoicesArray[8].optionArray[3] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 214 chordChoicesArray[8].optionArray[4] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 215 chordChoicesArray[8].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 216 chordChoicesArray[8].optionArray[6] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 217 chordChoicesArray[8].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 218 chordChoicesArray[8].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 219 chordChoicesArray[8].optionArray[9] = new ChordChoice(6, false, false, true, true, true, true);
andrew@50 220 chordChoicesArray[8].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 221 chordChoicesArray[8].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 222 chordChoicesArray[8].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 223 chordChoicesArray[8].optionArray[13] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 224
andrew@50 225 chordChoicesArray[9] = new chordChoices(7, false, 10);
andrew@50 226 chordChoicesArray[9].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 227 chordChoicesArray[9].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 228 chordChoicesArray[9].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 229 chordChoicesArray[9].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 230 chordChoicesArray[9].optionArray[4] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 231 chordChoicesArray[9].optionArray[5] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 232 chordChoicesArray[9].optionArray[6] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 233 chordChoicesArray[9].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 234 chordChoicesArray[9].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 235 chordChoicesArray[9].optionArray[9] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 236
andrew@50 237 chordChoicesArray[10] = new chordChoices(9, true, 13);
andrew@50 238 chordChoicesArray[10].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 239 chordChoicesArray[10].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 240 chordChoicesArray[10].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 241 chordChoicesArray[10].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 242 chordChoicesArray[10].optionArray[4] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 243 chordChoicesArray[10].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 244 chordChoicesArray[10].optionArray[6] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 245 chordChoicesArray[10].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 246 chordChoicesArray[10].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 247 chordChoicesArray[10].optionArray[9] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 248 chordChoicesArray[10].optionArray[10] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 249 chordChoicesArray[10].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 250 chordChoicesArray[10].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 251
andrew@50 252 chordChoicesArray[11] = new chordChoices(11, false, 6);
andrew@50 253 chordChoicesArray[11].optionArray[0] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 254 chordChoicesArray[11].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 255 chordChoicesArray[11].optionArray[2] = new ChordChoice(1, true, false, true, true, true, true);
andrew@50 256 chordChoicesArray[11].optionArray[3] = new ChordChoice(1, false, false, true, true, true, true);
andrew@50 257 chordChoicesArray[11].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 258 chordChoicesArray[11].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 259
andrew@50 260 chordChoicesArray[12] = new chordChoices(11, true, 5);
andrew@50 261 chordChoicesArray[12].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 262 chordChoicesArray[12].optionArray[1] = new ChordChoice(2, true, false, true, true, true, true);
andrew@50 263 chordChoicesArray[12].optionArray[2] = new ChordChoice(5, false, true, true, true, true, true);
andrew@50 264 chordChoicesArray[12].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 265 chordChoicesArray[12].optionArray[4] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 266
andrew@50 267 chordChoicesArray[13] = new chordChoices(1, false, 2);
andrew@50 268 chordChoicesArray[13].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 269 chordChoicesArray[13].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 270
andrew@50 271 chordChoicesArray[14] = new chordChoices(1, true, 2);
andrew@50 272 chordChoicesArray[14].optionArray[0] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 273 chordChoicesArray[14].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 274
andrew@50 275 chordChoicesArray[15] = new chordChoices(3, false, 12);
andrew@50 276 chordChoicesArray[15].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 277 chordChoicesArray[15].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 278 chordChoicesArray[15].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 279 chordChoicesArray[15].optionArray[3] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 280 chordChoicesArray[15].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 281 chordChoicesArray[15].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 282 chordChoicesArray[15].optionArray[6] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 283 chordChoicesArray[15].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 284 chordChoicesArray[15].optionArray[8] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 285 chordChoicesArray[15].optionArray[9] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 286 chordChoicesArray[15].optionArray[10] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 287 chordChoicesArray[15].optionArray[11] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 288
andrew@50 289 chordChoicesArray[16] = new chordChoices(111, false, 2);
andrew@50 290 chordChoicesArray[16].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 291 chordChoicesArray[16].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 292
andrew@50 293 chordChoicesArray[17] = new chordChoices(6, false, 10);
andrew@50 294 chordChoicesArray[17].optionArray[0] = new ChordChoice(1, false, false, true, true, true, true);
andrew@50 295 chordChoicesArray[17].optionArray[1] = new ChordChoice(1, true, false, true, true, true, true);
andrew@50 296 chordChoicesArray[17].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 297 chordChoicesArray[17].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 298 chordChoicesArray[17].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 299 chordChoicesArray[17].optionArray[5] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 300 chordChoicesArray[17].optionArray[6] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 301 chordChoicesArray[17].optionArray[7] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 302 chordChoicesArray[17].optionArray[8] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 303 chordChoicesArray[17].optionArray[9] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 304
andrew@50 305 chordChoicesArray[18] = new chordChoices(8, false, 17);
andrew@50 306 chordChoicesArray[18].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 307 chordChoicesArray[18].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 308 chordChoicesArray[18].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 309 chordChoicesArray[18].optionArray[3] = new ChordChoice(1, true, false, true, true, true, true);
andrew@50 310 chordChoicesArray[18].optionArray[4] = new ChordChoice(1, false, false, true, true, true, true);
andrew@50 311 chordChoicesArray[18].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 312 chordChoicesArray[18].optionArray[6] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 313 chordChoicesArray[18].optionArray[7] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 314 chordChoicesArray[18].optionArray[8] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 315 chordChoicesArray[18].optionArray[9] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 316 chordChoicesArray[18].optionArray[10] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 317 chordChoicesArray[18].optionArray[11] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 318 chordChoicesArray[18].optionArray[12] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 319 chordChoicesArray[18].optionArray[13] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 320 chordChoicesArray[18].optionArray[14] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 321 chordChoicesArray[18].optionArray[15] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 322 chordChoicesArray[18].optionArray[16] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 323
andrew@50 324 chordChoicesArray[19] = new chordChoices(8, true, 10);
andrew@50 325 chordChoicesArray[19].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 326 chordChoicesArray[19].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 327 chordChoicesArray[19].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 328 chordChoicesArray[19].optionArray[3] = new ChordChoice(1, false, false, true, true, true, true);
andrew@50 329 chordChoicesArray[19].optionArray[4] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 330 chordChoicesArray[19].optionArray[5] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 331 chordChoicesArray[19].optionArray[6] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 332 chordChoicesArray[19].optionArray[7] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 333 chordChoicesArray[19].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 334 chordChoicesArray[19].optionArray[9] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 335
andrew@50 336 chordChoicesArray[20] = new chordChoices(3, true, 19);
andrew@50 337 chordChoicesArray[20].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 338 chordChoicesArray[20].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 339 chordChoicesArray[20].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 340 chordChoicesArray[20].optionArray[3] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 341 chordChoicesArray[20].optionArray[4] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 342 chordChoicesArray[20].optionArray[5] = new ChordChoice(4, true, false, true, true, true, true);
andrew@50 343 chordChoicesArray[20].optionArray[6] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 344 chordChoicesArray[20].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 345 chordChoicesArray[20].optionArray[8] = new ChordChoice(6, true, false, true, true, true, true);
andrew@50 346 chordChoicesArray[20].optionArray[9] = new ChordChoice(6, false, false, true, true, true, true);
andrew@50 347 chordChoicesArray[20].optionArray[10] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 348 chordChoicesArray[20].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 349 chordChoicesArray[20].optionArray[12] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 350 chordChoicesArray[20].optionArray[13] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 351 chordChoicesArray[20].optionArray[14] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 352 chordChoicesArray[20].optionArray[15] = new ChordChoice(10, false, false, true, true, true, true);
andrew@50 353 chordChoicesArray[20].optionArray[16] = new ChordChoice(10, true, false, true, true, true, true);
andrew@50 354 chordChoicesArray[20].optionArray[17] = new ChordChoice(11, false, false, true, true, true, true);
andrew@50 355 chordChoicesArray[20].optionArray[18] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 356
andrew@50 357 chordChoicesArray[21] = new chordChoices(6, true, 9);
andrew@50 358 chordChoicesArray[21].optionArray[0] = new ChordChoice(1, false, false, true, true, true, true);
andrew@50 359 chordChoicesArray[21].optionArray[1] = new ChordChoice(1, true, false, true, true, true, true);
andrew@50 360 chordChoicesArray[21].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true);
andrew@50 361 chordChoicesArray[21].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 362 chordChoicesArray[21].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 363 chordChoicesArray[21].optionArray[5] = new ChordChoice(4, false, false, true, true, true, true);
andrew@50 364 chordChoicesArray[21].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 365 chordChoicesArray[21].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 366 chordChoicesArray[21].optionArray[8] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 367
andrew@50 368 chordChoicesArray[22] = new chordChoices(10, false, 13);
andrew@50 369 chordChoicesArray[22].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 370 chordChoicesArray[22].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true);
andrew@50 371 chordChoicesArray[22].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 372 chordChoicesArray[22].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 373 chordChoicesArray[22].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 374 chordChoicesArray[22].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true);
andrew@50 375 chordChoicesArray[22].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 376 chordChoicesArray[22].optionArray[7] = new ChordChoice(6, false, false, true, true, true, true);
andrew@50 377 chordChoicesArray[22].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 378 chordChoicesArray[22].optionArray[9] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 379 chordChoicesArray[22].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true);
andrew@50 380 chordChoicesArray[22].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true);
andrew@50 381 chordChoicesArray[22].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 382
andrew@50 383 chordChoicesArray[23] = new chordChoices(10, true, 12);
andrew@50 384 chordChoicesArray[23].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true);
andrew@50 385 chordChoicesArray[23].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true);
andrew@50 386 chordChoicesArray[23].optionArray[2] = new ChordChoice(3, false, false, true, true, true, true);
andrew@50 387 chordChoicesArray[23].optionArray[3] = new ChordChoice(3, true, false, true, true, true, true);
andrew@50 388 chordChoicesArray[23].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true);
andrew@50 389 chordChoicesArray[23].optionArray[5] = new ChordChoice(6, true, false, true, true, true, true);
andrew@50 390 chordChoicesArray[23].optionArray[6] = new ChordChoice(6, false, false, true, true, true, true);
andrew@50 391 chordChoicesArray[23].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true);
andrew@50 392 chordChoicesArray[23].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true);
andrew@50 393 chordChoicesArray[23].optionArray[9] = new ChordChoice(9, false, false, true, true, true, true);
andrew@50 394 chordChoicesArray[23].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true);
andrew@50 395 chordChoicesArray[23].optionArray[11] = new ChordChoice(11, true, false, true, true, true, true);
andrew@50 396
andrew@50 397
andrew@50 398 }