Skip to content

Instantly share code, notes, and snippets.

@pulinho
pulinho / po_sync.pde
Created January 22, 2021 17:42
Processing - sync visuals with Pocket Operator click track output (super basic)
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;