andrew@50: andrew@50: void chordCalc(){ andrew@50: barCounter++; andrew@50: if (barCounter % 4 == 0 || ((currentChord == 1 || currentChord == 5 || currentChord == 7) && barCounter % 4 == 3)){ andrew@50: tonicNeeded = true; andrew@50: print(" tonic needed " + (barCounter % 4)); andrew@50: } andrew@50: else tonicNeeded = false; andrew@50: chooseChord(); andrew@50: } andrew@50: andrew@50: void chooseChord(){ andrew@50: andrew@50: int i = 0; andrew@50: for (; i < crneeded; i++){ andrew@50: if (chordChoicesArray[i].chordNote == currentChord && chordChoicesArray[i].minor == heresyMinor) andrew@50: break; andrew@50: } andrew@50: if (currentChord == 1 && heresyDom) andrew@50: i = 16; andrew@50: if (tonicNeeded && i != 24){ andrew@50: int gotOne = -1; andrew@50: int gotTwo = -1; andrew@50: if (chordChoicesArray[i].optionArray[0].chordOption == 0 && chordChoicesArray[i].optionArray[1].chordOption == 0 && int(random(2)) == 0) andrew@50: chosenChord (i, chordChoicesArray[i].optionArray[1].chordOption); andrew@50: else if andrew@50: (chordChoicesArray[i].optionArray[0].chordOption == 0 && chordChoicesArray[i].optionArray[1].chordOption != 0) andrew@50: chosenChord (i, chordChoicesArray[i].optionArray[0].chordOption); andrew@50: else andrew@50: chosenChord (i, int(random(chordChoicesArray[i].slots))); andrew@50: } andrew@50: else if (i != 24){ andrew@50: chosenChord(i, int(random(chordChoicesArray[i].slots))); andrew@50: }else{ andrew@50: currentChord = lastChordChange; andrew@50: heresyMinor = lastMinor; andrew@50: } andrew@50: println(" chord selected : " + currentChord + " minor:" + heresyMinor); andrew@50: } andrew@50: andrew@50: void chosenChord(int p, int p2){ andrew@50: lastChordChange = currentChord; andrew@50: lastMinor = heresyMinor; andrew@50: // println("p: " + p + " p2 : " + p2); andrew@50: currentChord = chordChoicesArray[p].optionArray[p2].chordOption; andrew@50: heresyMinor = chordChoicesArray[p].optionArray[p2].minor; andrew@50: if (int(random(4)) == 0) andrew@50: heresy7th = true; andrew@50: else andrew@50: heresy7th = false; andrew@50: if (int(random(4)) == 0) andrew@50: heresy9th = true; andrew@50: else andrew@50: heresy9th = false; andrew@50: if (int(random(4)) == 0) andrew@50: heresy11th = true; andrew@50: else andrew@50: heresy11th = false; andrew@50: andrew@50: andrew@50: } andrew@50: andrew@50: andrew@50: andrew@50: class chordChoices{ andrew@50: int chordNote; andrew@50: boolean minor; andrew@50: ChordChoice[] optionArray; andrew@50: int slots; andrew@50: andrew@50: public chordChoices(int chordNote, boolean minor, int slotsNeeded){ andrew@50: this.chordNote = chordNote; andrew@50: this.minor = minor; andrew@50: optionArray = new ChordChoice[slotsNeeded]; andrew@50: slots = slotsNeeded; andrew@50: } andrew@50: } andrew@50: andrew@50: class ChordChoice{ andrew@50: int chordOption; andrew@50: boolean minor, h7th, h9th, h11th, h13th, dom; andrew@50: andrew@50: public ChordChoice(int chordOption, boolean minor, boolean dom, boolean h7th, boolean h9th, boolean h11th, boolean h13th){ andrew@50: this.chordOption = chordOption; andrew@50: this.minor = minor; andrew@50: this.dom = dom; andrew@50: this.h7th = h7th; andrew@50: this.h9th = h9th; andrew@50: this.h11th = h11th; andrew@50: this.h13th = h13th; andrew@50: } andrew@50: } andrew@50: andrew@50: //void stuff(){ andrew@50: chordChoices[] chordChoicesArray = new chordChoices[crneeded]; andrew@50: andrew@50: void markovStuff(){ andrew@50: chordChoicesArray[0] = new chordChoices(0, false, 13); andrew@50: chordChoicesArray[0].optionArray[0] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[1] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[2] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[6] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[7] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[8] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[9] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[10] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[11] = new ChordChoice(10, false, true, true, true, true, true); andrew@50: chordChoicesArray[0].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[1] = new chordChoices(0, true, 14); andrew@50: chordChoicesArray[1].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[1] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[2] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[3] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[6] = new ChordChoice(6, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[11] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: chordChoicesArray[1].optionArray[13] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[2] = new chordChoices(2, false, 9); andrew@50: chordChoicesArray[2].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[1] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[2] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[5] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[6] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[7] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[2].optionArray[8] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[3] = new chordChoices(2, true, 13); andrew@50: chordChoicesArray[3].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[2] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[4] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[11] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[3].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[4] = new chordChoices(4, false, 4); andrew@50: chordChoicesArray[4].optionArray[0] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[4].optionArray[1] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[4].optionArray[2] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[4].optionArray[3] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[5] = new chordChoices(4, true, 13); andrew@50: chordChoicesArray[5].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[4] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[5] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[7] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[11] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: chordChoicesArray[5].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[6] = new chordChoices(5, false, 14); andrew@50: chordChoicesArray[6].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[2] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[3] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[4] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[6] = new ChordChoice(6, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[9] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[11] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[12] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: chordChoicesArray[6].optionArray[13] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[7] = new chordChoices(5, true, 15); andrew@50: chordChoicesArray[7].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[4] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[6] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[7] = new ChordChoice(6, true, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[9] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[13] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: chordChoicesArray[7].optionArray[14] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[8] = new chordChoices(7, true, 14); andrew@50: chordChoicesArray[8].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[3] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[4] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[6] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[9] = new ChordChoice(6, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[8].optionArray[13] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[9] = new chordChoices(7, false, 10); andrew@50: chordChoicesArray[9].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[4] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[5] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[6] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[8] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[9].optionArray[9] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[10] = new chordChoices(9, true, 13); andrew@50: chordChoicesArray[10].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[3] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[4] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[6] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[9] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[10] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[10].optionArray[12] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[11] = new chordChoices(11, false, 6); andrew@50: chordChoicesArray[11].optionArray[0] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[11].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[11].optionArray[2] = new ChordChoice(1, true, false, true, true, true, true); andrew@50: chordChoicesArray[11].optionArray[3] = new ChordChoice(1, false, false, true, true, true, true); andrew@50: chordChoicesArray[11].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[11].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[12] = new chordChoices(11, true, 5); andrew@50: chordChoicesArray[12].optionArray[0] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[12].optionArray[1] = new ChordChoice(2, true, false, true, true, true, true); andrew@50: chordChoicesArray[12].optionArray[2] = new ChordChoice(5, false, true, true, true, true, true); andrew@50: chordChoicesArray[12].optionArray[3] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[12].optionArray[4] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[13] = new chordChoices(1, false, 2); andrew@50: chordChoicesArray[13].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[13].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[14] = new chordChoices(1, true, 2); andrew@50: chordChoicesArray[14].optionArray[0] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[14].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[15] = new chordChoices(3, false, 12); andrew@50: chordChoicesArray[15].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[3] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[4] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[5] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[6] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[8] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[9] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[10] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: chordChoicesArray[15].optionArray[11] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[16] = new chordChoices(111, false, 2); andrew@50: chordChoicesArray[16].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[16].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[17] = new chordChoices(6, false, 10); andrew@50: chordChoicesArray[17].optionArray[0] = new ChordChoice(1, false, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[1] = new ChordChoice(1, true, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[5] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[6] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[7] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[8] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: chordChoicesArray[17].optionArray[9] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[18] = new chordChoices(8, false, 17); andrew@50: chordChoicesArray[18].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[3] = new ChordChoice(1, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[4] = new ChordChoice(1, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[5] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[6] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[7] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[8] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[9] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[10] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[11] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[12] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[13] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[14] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[15] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: chordChoicesArray[18].optionArray[16] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[19] = new chordChoices(8, true, 10); andrew@50: chordChoicesArray[19].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[3] = new ChordChoice(1, false, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[4] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[5] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[6] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[7] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[8] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[19].optionArray[9] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[20] = new chordChoices(3, true, 19); andrew@50: chordChoicesArray[20].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[3] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[4] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[5] = new ChordChoice(4, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[6] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[7] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[8] = new ChordChoice(6, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[9] = new ChordChoice(6, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[10] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[12] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[13] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[14] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[15] = new ChordChoice(10, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[16] = new ChordChoice(10, true, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[17] = new ChordChoice(11, false, false, true, true, true, true); andrew@50: chordChoicesArray[20].optionArray[18] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[21] = new chordChoices(6, true, 9); andrew@50: chordChoicesArray[21].optionArray[0] = new ChordChoice(1, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[1] = new ChordChoice(1, true, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[2] = new ChordChoice(2, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[5] = new ChordChoice(4, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[7] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[21].optionArray[8] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[22] = new chordChoices(10, false, 13); andrew@50: chordChoicesArray[22].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[1] = new ChordChoice(0, true, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[2] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[3] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[4] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[5] = new ChordChoice(5, true, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[6] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[7] = new ChordChoice(6, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[9] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[10] = new ChordChoice(8, true, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[11] = new ChordChoice(8, false, false, true, true, true, true); andrew@50: chordChoicesArray[22].optionArray[12] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: chordChoicesArray[23] = new chordChoices(10, true, 12); andrew@50: chordChoicesArray[23].optionArray[0] = new ChordChoice(0, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[1] = new ChordChoice(1, false, true, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[2] = new ChordChoice(3, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[3] = new ChordChoice(3, true, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[4] = new ChordChoice(5, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[5] = new ChordChoice(6, true, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[6] = new ChordChoice(6, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[7] = new ChordChoice(7, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[8] = new ChordChoice(7, true, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[9] = new ChordChoice(9, false, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[10] = new ChordChoice(9, true, false, true, true, true, true); andrew@50: chordChoicesArray[23].optionArray[11] = new ChordChoice(11, true, false, true, true, true, true); andrew@50: andrew@50: andrew@50: }