code: public Note getReferenceNote() {
  		if (m_referenceNote == null) {
  			if (getName() != null) {
  				byte octav = 0;
  				if (isG())
  					m_referenceNote = new Note(Note.G);
  				else if (isF()) {
  					m_referenceNote = new Note(Note.F);
  					octav = -1;
  				}
  				else //C and Perc
  					m_referenceNote = new Note(Note.C);
  				m_referenceNote.setOctaveTransposition((byte)
  						(octav + getOctaveTransposition()));
  			}
  		}
  		return m_referenceNote;
  	}
docs: Returns the reference note, <TT>G</TT> for G clef,
  <TT>G'</TT> for G + 1 octave, <TT>F,</TT> for bass clef.