private void setMidiDefault(Attributes attrs) {
		// find the value to be set, then set it
		if (attrs.getValue(0).equals("starttime"))
			midiDef.setStartTime(Integer.valueOf(attrs.getValue(1)));
		else if (attrs.getValue(0).equals("endtime"))
			midiDef.setEndTime(Integer.valueOf(attrs.getValue(1)));
		else if (attrs.getValue(0).equals("loop"))
			midiDef.setLoop(Boolean.valueOf(attrs.getValue(1)));
		else if (attrs.getValue(0).equals("controls")) {
			// midi dosent have controls in our implementation
		}
	}