package com.haxademic.sketch.test;

import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.draw.util.OpenGLUtil;

@SuppressWarnings("serial")
public class BeatDetectTest 
extends PAppletHax {
	
//	protected ControlP5 _cp5;

	protected void overridePropsFile() {
		_appConfig.setProperty( "fps", "60" );
	}


	public void setup() {
		super.setup();	
		p.smooth( OpenGLUtil.SMOOTH_HIGH );

//		_cp5 = new ControlP5(this);
//		_cp5.addSlider("fric").setPosition(20,60).setWidth(200).setRange(0,1);
//		_cp5.addSlider("accel").setPosition(20,100).setWidth(200).setRange(0,1);
	}

	public void drawApp() {
		background(0);
		
		P.println(_audioInput.beats);
		
		p._audioInput.detector.drawGraph();
	}

}

@@ -429,193 +429,8 @@
 H );
-%0A%0A//%09%09_cp5 = new ControlP5(this);%0A//%09%09_cp5.addSlider(%22fric%22).setPosition(20,60).setWidth(200).setRange(0,1);%0A//%09%09_cp5.addSlider(%22accel%22).setPosition(20,100).setWidth(200).setRange(0,1);
 %0A%09%7D%0A

Clean up old code