public void update(byte[] spectrum) {
		current_spectrum = spectrum; // Keep a local copy
		current_peaks = analyse(spectrum); // Find all the peaks

		/*
		 * This first bit is some code to check things out. It prints all peaks
		 * that register above treshhold. We used this to check for the
		 * characteristics of particular vowels.
		 */

		for (int i = 0; i < current_peaks.length; i++) {
			if (current_peaks[i][1] > treshhold) {
				System.out.print(current_peaks[i][0]);
				System.out.print(", ");
				System.out.print(current_peaks[i][1]);
				System.out.print(" <=> ");
			}
		}

		System.out.println(" \n");

		/*
		 * This bit of code is there to test the system. For the given spectrum,
		 * it tries to see if the results match any of the vowels. Yes, it can
		 * indeed return multiple possible vowels for any given spectrum; this
		 * is code just to see how accuratly things are recognised.
		 */

		if (vowel_a())
			System.out.println("A");
		if (vowel_o())
			System.out.println("O");
		if (vowel_e())
			System.out.println("E");
		if (vowel_u())
			System.out.println("U");
		if (vowel_i())
			System.out.println("I");
		if (whistle())
			System.out.println("FLUIT!");

		System.out.println(" ");

		/*
		 * This is the actual program code as we intended it to be, but couldn't
		 * make it work. It first checks to see if there is either a plosive (p,
		 * t) or a fricative (s). If so, there is a good chance that someone
		 * tries to say 'start' or 'stop'.
		 * 
		 * The counter is started, so that for the next T cycles, it tries to
		 * recognise a vowel. If an 'a' closely follows, it is likely to be
		 * 'start'. If an 'o' closely follows, it is likely to be 'stop'.
		 * 
		 * Currently, this code is commented out, because the system we use
		 * isn't fast enough to detect a plosive or fricative, and then the
		 * vowel in the same word. You need plenty of updates per second in
		 * order to catch these; at our current 2 times per second, it is not
		 * possible. Still, if someone can speed things up, here is the code
		 * that should automaticly detect start and stop!
		 */

		/*
		 * if (plosive() || fricative()) // If there is an 's', 't' or 'p' {
		 * counter = time; // Start countdown }
		 * 
		 * if (counter > 0) // Still close enough to a plos/fric? { counter--;
		 * // Decrease counter.
		 * 
		 * boolean a = vowel_a(); // Decide if there is an 'a' or 'o' boolean o
		 * = vowel_o();
		 * 
		 * if (a && !o) // If and only if there is an 'a' { // TO-DO: React to
		 * 'Start' } else if (!a && o) // If and only if there is an 'o' { //
		 * TO-DO: React to 'Stop' } }
		 */
	}