X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=Audio.pde;h=4547a746cf9b3edb3617ee296f779ff188bd1524;hb=32986078325e1348b0429cd58811fa1aa0ceb7c4;hp=6e36a298e42a73aec03958fda464234bc8f2434a;hpb=922def98b6cc88f3aa8784b8968d8a5aa1bfc1a2;p=SugarCubes.git diff --git a/Audio.pde b/Audio.pde index 6e36a29..4547a74 100644 --- a/Audio.pde +++ b/Audio.pde @@ -57,7 +57,7 @@ public static class GraphicEQ { return avg; } - public void run(int deltaMs) { + public void run(double deltaMs) { fft.forward(lx.audioInput().mix); float zeroDBReference = pow(10, 100*(1-level.getValuef())/20.); float decibelRange = 12 + range.getValuef() * 60;