diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-19 21:11:59 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-19 21:11:59 +0000 |
commit | cada39a002fbbe9bc848f963c3eb7faa65122228 (patch) | |
tree | a6b4c611989fa15cf0f59c656c81a2e388041324 /externals/grill/fftease/src/burrow~.cpp | |
parent | 9ff5ccdea43ff2a954c1a400516dc6858e188e9c (diff) |
""
svn path=/trunk/; revision=345
Diffstat (limited to 'externals/grill/fftease/src/burrow~.cpp')
-rw-r--r-- | externals/grill/fftease/src/burrow~.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/externals/grill/fftease/src/burrow~.cpp b/externals/grill/fftease/src/burrow~.cpp index 8398bbbb..fcfaf22e 100644 --- a/externals/grill/fftease/src/burrow~.cpp +++ b/externals/grill/fftease/src/burrow~.cpp @@ -55,7 +55,7 @@ V burrow::setup(t_classid c) burrow::burrow(I argc,const t_atom *argv): - fftease(4,F_STEREO|F_BALANCED|F_BITSHUFFLE|F_CONVERT), + fftease(4,F_STEREO|F_BALANCED|F_BITSHUFFLE|F_NOPH2), _thresh_dB(-30),_mult_dB(-18), _invert(false) { @@ -88,13 +88,12 @@ burrow::burrow(I argc,const t_atom *argv): } -V burrow::Transform(I _N2,S *const *in) +V burrow::Transform(I _N,S *const *in) { - const I _N = _N2*2; register const F thr = _threshold,mul = _multiplier; // use simple threshold from second signal to trigger filtering - // transform does not need phase of signal 2 (-> optimize it!) + // transform does not need phase of signal 2 if(_invert) for (I i = 0; i <= _N; i += 2) |