minor tuning
This commit is contained in:
parent
dbaaf3edb4
commit
afd2d1aa41
@ -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()));
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user