This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ddf.minim.*; | |
| Minim minim; | |
| AudioInput audioInput; | |
| float beatDetectionThreshold = 0.005f; // works for my PO setup, but the value might possibly differ for yours | |
| float minBeatVisualSize = 200f; // set whatever min/max values you like for your visual | |
| float maxBeatVisualSize = 400f; | |
| float beatVisualSize = minBeatVisualSize; |