public void play_song(String filename) {
		try {
			Scanner scan = new Scanner(new FileReader(filename));
			while(scan.hasNext()) {
				String s = scan.nextLine();
				while (!s.contains("delay")) {
					int note = Integer.parseInt(s.substring(0, s.indexOf(' ')));
					int code = Integer.parseInt(s.substring(s.indexOf(' ') + 1, s.length()));
					if (code == 1) play_note(note, stdVelocity);
					else stop_note(note, stdVelocity);
					s = scan.nextLine();
				}
				int delay = Integer.parseInt(s.substring(6, s.length()));
				Thread.sleep(delay);
			}
			scan.close();
		} catch (IOException e) {
			System.err.println("404 Error: File Not Found");
		} catch (InterruptedException e) {
			System.err.println("You interrupted my sleep, you jerk.");
		}
	}