public void InsertNotes(String note){
		Player player=new Player();		
		if(Composer instanceof AtonalMMC&&num <11){
			Composer.InsertNotes(note);
			String pl=Composer.getInstruments()+" "+note;
			player.play(pl);
			num++;
		}else if(num==11){
			Composer.InsertNotes(note);
		}else{
			Composer.InsertNotes(note);
			String pl=Composer.getInstruments()+" "+note;
			player.play(pl);
		}
	}