class SynthTemplatePrimeOrAltSelector implements ISynthTemplatePrimeOrAltSelector {

	public void setMidSynths(ProgressionUnitBar progressionUnitBar){

		for(int i=0; i<progressionUnitBar.getSynthTemplateMidOptions().size(); i++) {
			SynthTemplateOption midSynth = progressionUnitBar.getSynthTemplateMidOptions().get(i).get(0);
			SynthTemplateOption midAltSynth = progressionUnitBar.getSynthTemplateMidOptions().get(i).get(1);

			//SELECT HIGHEST FROM WEIGHTED OPTIONS ..
			if (midSynth.getWeightClass().getValue() > midAltSynth.getWeightClass().getValue()) {
				progressionUnitBar.addMidSynthId(midSynth.getId());
			} else if (midAltSynth.getWeightClass().getValue() > midSynth.getWeightClass().getValue()) {
				progressionUnitBar.addMidSynthId(midAltSynth.getId());
			} else {
				//TODO: THIS IS WHERE HI & ALT CAN BE TOGGLED!!!
				//TODO: THIS IS WHERE HI & ALT CAN BE TOGGLED!!!
				//if (new Random().nextBoolean()) {
					progressionUnitBar.addMidSynthId(midSynth.getId());
				//} else {
				//	progressionUnitBar.addMidSynthId(midAltSynth.getId());
				//}
			}
		}
	}

}