SpectrumLine(int volMax, int w, int h, boolean smoothness, boolean neg) {
		System.out.println("New Spectrum Line");
		display = new Canvas();
		compressor = new FrequencyCompressor(volMax);
		isbottomColorShifting = false;
		maxVolume = volMax;
		width = w;
		height = h;
		ypos = new double[97];
		xpos = new double[97];
		display.setWidth(width);
		display.setHeight(height);
		topColor = Color.GOLD;
		bottomColor = Color.BLUE;
		backgroundColor = Color.BLACK;
		maxheight = ((height/2) - 10);
		xpadding = width/95;
		edgepadding = 10 + (width%95)/2;
		smooth = smoothness;
		allowneg = neg;
		colorShiftVals = Gradient.buildRandomGradient(topColor, 210, COLOR_SHIFT_SPEED);
	}