private int lexOctave() {
		if(currentLine.length() <= 0) {
		    throw new RuntimeException("Trying to find octave on empty line.");
		}
	    boolean notDone = true;
		int o = 0;
		while (notDone) {
			switch (currentLine.charAt(0)) {
			case '\'': {
				o++;
				currentLine = currentLine.substring(1);
				break;
			}
			case ',': {
				o--;
				currentLine = currentLine.substring(1);
				break;
			}
			default: {
				notDone = false;
			}
			}
		}
		return o;
	}