for (int thisNote = 0; thisNote < 8; thisNote++) {
Should this perhaps be....
for (int thisNote = 0; thisNote <= 8; thisNote++) {
....instead?
for (int thisNote = 0; thisNote < 8; thisNote++) {
Should this perhaps be....
for (int thisNote = 0; thisNote <= 8; thisNote++) {
....instead?