audio analyzer tuned

This commit is contained in:
2017-07-13 16:32:06 -05:00
parent c3e72ef86b
commit 4646032e60
3 changed files with 19 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ public class RhythmMapAlgorithm implements Runnable {
int warningTime = (int) ((3/speedMod)*windowPerSecond);
if ((index+warningTime <= bassPeaks.size) && bassPeaks.get(index + warningTime) >= avgBass) {
//TODO basic void circle spawning
float endRadius = overlappedPeaks.get(index + warningTime)*Polyjet.GAME_AREA_WIDTH;
float endRadius = overlappedPeaks.get(index + warningTime)*Polyjet.GAME_AREA_HEIGHT;
map.addToMap(Entities.VOID_CIRCLE,
endRadius,