From afd2d1aa41c8b694c1e396ddeb80f7b98accca2e Mon Sep 17 00:00:00 2001 From: Recrown Date: Fri, 14 Jul 2017 00:26:02 -0500 Subject: [PATCH] minor tuning --- core/src/zero1hd/polyjet/audio/AudioAnalyzer.java | 4 ++-- core/src/zero1hd/polyjet/ui/stages/GamePlayArea.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/zero1hd/polyjet/audio/AudioAnalyzer.java b/core/src/zero1hd/polyjet/audio/AudioAnalyzer.java index 6b0ed81..4e5ea68 100755 --- a/core/src/zero1hd/polyjet/audio/AudioAnalyzer.java +++ b/core/src/zero1hd/polyjet/audio/AudioAnalyzer.java @@ -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())); diff --git a/core/src/zero1hd/polyjet/ui/stages/GamePlayArea.java b/core/src/zero1hd/polyjet/ui/stages/GamePlayArea.java index 194ac85..8f96786 100755 --- a/core/src/zero1hd/polyjet/ui/stages/GamePlayArea.java +++ b/core/src/zero1hd/polyjet/ui/stages/GamePlayArea.java @@ -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());