public void run() {

		try {
			Synthesizer synthesizer = MidiSystem.getSynthesizer();
			synthesizer.open();
			channel = synthesizer.getChannels()[0];

			while (true) {

				// get 8 notes & check if in major scale
				// additionally play root note
				for (int iEight = 0; iEight < 8; iEight++) {
					pause = 0;
					rand = generator.nextInt(127 - 55) + 55; // only notes
																// between
																// 50-127
					if (GuianoLogoBtnOn == true) {
						notes = rand;
						if (isMajor(notes)) {
							channel.noteOn(notes, velocity);
							noteGeneratedHighlight(notes);

							if (iEight == 0) {
								notes = 60;
								channel.noteOn(notes, velocity);
								noteGeneratedHighlight(notes);
							}
						}
					}
					pause = 1000;
				}
				try {
					Thread.sleep(pause);
				} catch (InterruptedException e) {
					break;
				}
				if (GuianoLogoBtnOn == true) {
					noteGeneratedUnHighlight();
					channel.allNotesOff();

				}

			}

		} catch (MidiUnavailableException e) {
			e.printStackTrace();
		} finally {
			channel.allNotesOff();
		}
	}