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