From 84231a000a4f06e34efa0d3700377dd3cc447e0b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 4 Oct 2012 22:24:37 +0000 Subject: took FFTease2.5_Pd_OSX.zip and unpacked it into a Library Template layout original source: http://www.somasa.qub.ac.uk/~elyon/LyonSoftware/MaxMSP/FFTease/FFTease2.5_Pd_OSX.zip svn path=/trunk/externals/fftease/; revision=16331 --- pvoc~.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pvoc~.c') diff --git a/pvoc~.c b/pvoc~.c index 2b806d9..a8f658c 100644 --- a/pvoc~.c +++ b/pvoc~.c @@ -137,7 +137,7 @@ void pvoc_mute(t_pvoc *x, t_floatarg tog) void pvoc_overlap(t_pvoc *x, t_floatarg f) { int i = (int) f; - if(!power_of_two(i)){ + if(!fftease_power_of_two(i)){ error("%f is not a power of two",f); return; } @@ -149,7 +149,7 @@ void pvoc_winfac(t_pvoc *x, t_floatarg f) { int i = (int)f; - if(!power_of_two(i)){ + if(!fftease_power_of_two(i)){ error("%f is not a power of two",f); return; } @@ -255,9 +255,9 @@ void pvoc_init(t_pvoc *x, short initialized) x->D = 256; if(x->P <= 0) x->P = 1.0; - if(!power_of_two(x->overlap)) + if(!fftease_power_of_two(x->overlap)) x->overlap = 4; - if(!power_of_two(x->winfac)) + if(!fftease_power_of_two(x->winfac)) x->winfac = 2; x->N = x->D * x->overlap; x->Nw = x->N * x->winfac; @@ -357,10 +357,10 @@ void *pvoc_new(t_symbol *s, int argc, t_atom *argv) x->hifreq = 4000; - if(!power_of_two(x->overlap)){ + if(!fftease_power_of_two(x->overlap)){ x->overlap = 4; } - if(!power_of_two(x->winfac)){ + if(!fftease_power_of_two(x->winfac)){ x->winfac = 2; } x->R = sys_getsr(); -- cgit v1.2.1