private int[] processHeights(float[] magnitudes, double timestamp) {
		int[] heights = new int[numBars];
		float[] buckets = compressor.compressHeights(magnitudes, numBars, timestamp);
		for(int i = 0; i < numBars; ++i) {
			heights[i] = (int) ( (float) (buckets[i]* (float) barHeight));
		}
		return heights;
	}