minor tuning

This commit is contained in:
Harrison Deng 2017-07-14 00:26:02 -05:00
parent dbaaf3edb4
commit afd2d1aa41
2 changed files with 2 additions and 4 deletions

View File

@ -64,7 +64,7 @@ public class AudioAnalyzer {
int tasksDone = 0;
int totalTasks = audioData.getSampleCount()/audioData.getReadWindowSize();
bassThresholdMultiplier = 2.6f;
bassThresholdMultiplier = 2f;
umThresholdMultiplier = 2f;
bassBinBegin = 1;
@ -73,7 +73,7 @@ public class AudioAnalyzer {
UMBinBegin = 300;
UMBinEnd = 450;
bassThresholdCalcRange = thresholdRangeCalc(0.4f);
bassThresholdCalcRange = thresholdRangeCalc(0.35f);
UMThresholdCalcRange = thresholdRangeCalc(0.7f);
Gdx.app.debug("Read freq", String.valueOf(audioData.getFormat().getSampleRate()));

View File

@ -98,8 +98,6 @@ public class GamePlayArea extends Stage {
//TODO batch draw background
getBatch().begin();
if (bgShader != null) {
getBatch().setShader(bgShader);
bgShader.setUniformf("resolution", background.getWidth(), background.getHeight());