code: public byte getDegree(int degree) throws IllegalArgumentException {
  		if (degree < 1 || degree > 7)
  			throw new IllegalArgumentException(
  					"Degree must be between 1 and 7 (included)");
  		if (degree == 1)
  			return getNote();
  		else {
  			byte[] notes = new byte[] { Note.C, Note.D, Note.E, Note.F, Note.G,
  					Note.A, Note.B };
  			int index = 0;
  			for (int i = 0; i < notes.length; i++) {
  				if (notes[i] == m_keyNote) {
  					index = i;
  					break;
  				}
  			}
  			return notes[(index + degree - 1) % notes.length];
  		}
  	}
docs: Returns the note of the degree of the mode.
  
  @param degree
  between 1 and 7, included. getDegree(1) is equivalent to
  {@link #getNote()}.
  @return Possible values are <TT>Note.A</TT>, <TT>Note.B</TT>, <TT>Note.C</TT>,
  <TT>Note.D</TT>, <TT>Note.E</TT>, <TT>Note.F</TT> or <TT>Note.G</TT>.
  @throws IllegalArgumentException
  if degree is <1 or >7