I'm trying to make a game similar to Super Hexagon, and I want people to be able to use headphones. I'm using this method to play the music:
import minim.*;
AudioPlayer player1;
Minim minim1;
minim1=new Minim(this);
player1=minim1.loadFile("Focus.mp3");
player1.play();
How can I make it so that something pulses whenever there's a beat in the song?
(detect whenever there's a bass level over __ amplitude?)