[PD-cvs] externals/tbext/source fftgrsort.cpp,1.1,1.2 fftgrshuf.cpp,1.1,1.2
Tim Blechmann
timblech at users.sourceforge.net
Tue Sep 7 11:13:54 CEST 2004
Update of /cvsroot/pure-data/externals/tbext/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10894
Modified Files:
fftgrsort.cpp fftgrshuf.cpp
Log Message:
Index: fftgrsort.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/tbext/source/fftgrsort.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fftgrsort.cpp 20 Sep 2003 00:02:58 -0000 1.1
--- fftgrsort.cpp 7 Sep 2004 09:13:52 -0000 1.2
***************
*** 1,3 ****
! /* Copyright (c) 2003 Tim Blechmann. */
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL */
/* WARRANTIES, see the file, "COPYING" in this distribution. */
--- 1,3 ----
! /* Copyright (c) 2003-2004 Tim Blechmann. */
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL */
/* WARRANTIES, see the file, "COPYING" in this distribution. */
***************
*** 71,75 ****
t_int bs; //blocksize
t_int bs1; //bs+1
- t_int counter;
t_sample * data; //array with data
--- 71,74 ----
***************
*** 77,82 ****
t_sample * dend; //1 element after the last element
- t_sample * ins;
- t_sample * outs;
bool reverse;
--- 76,79 ----
***************
*** 88,92 ****
fftgrsort::fftgrsort(int arg):
! grains(1),offset(0),counter(1),reverse(0)
{
bs=arg/2;
--- 85,89 ----
fftgrsort::fftgrsort(int arg):
! grains(1),offset(0),reverse(0)
{
bs=arg/2;
***************
*** 110,115 ****
void fftgrsort::m_signal(int n, t_float * const *in, t_float *const *out)
{
! ins = in[0];
! outs = out[0];
--- 107,112 ----
void fftgrsort::m_signal(int n, t_float * const *in, t_float *const *out)
{
! t_sample * ins = in[0];
! t_sample * outs = out[0];
***************
*** 130,134 ****
//grains
! counter=1;
while (counter!=grains)
--- 127,131 ----
//grains
! int counter=1;
while (counter!=grains)
***************
*** 153,157 ****
{
offset=-o;
! post("offset %i",o);
}
else
--- 150,154 ----
{
offset=-o;
! // post("offset %i",o);
}
else
Index: fftgrshuf.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/tbext/source/fftgrshuf.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fftgrshuf.cpp 20 Sep 2003 00:02:58 -0000 1.1
--- fftgrshuf.cpp 7 Sep 2004 09:13:52 -0000 1.2
***************
*** 68,81 ****
t_int bs; //blocksize
t_int bs1; //bs+1
- t_int counter;
t_sample * data; //array with data
t_sample * d1; //1. element in array with data
t_sample * dend; //1 element after the last element
-
- t_sample * ins;
- t_sample * outs;
-
-
};
--- 68,75 ----
***************
*** 84,88 ****
fftgrshuf::fftgrshuf(int arg):
! grains(1),offset(0),counter(1)
{
bs=arg/2;
--- 78,82 ----
fftgrshuf::fftgrshuf(int arg):
! grains(1),offset(0)
{
bs=arg/2;
***************
*** 105,111 ****
void fftgrshuf::m_signal(int n, t_float * const *in, t_float *const *out)
{
! ins = in[0];
! outs = out[0];
!
if (offset>0)
--- 99,104 ----
void fftgrshuf::m_signal(int n, t_float * const *in, t_float *const *out)
{
! t_sample * ins = in[0];
! t_sample * outs = out[0];
if (offset>0)
***************
*** 125,129 ****
//grains
! counter=1;
while (counter!=grains)
--- 118,122 ----
//grains
! int counter=1;
while (counter!=grains)
***************
*** 144,148 ****
{
offset=o;
- post("offset %i",-o);
}
else
--- 137,140 ----
More information about the Pd-cvs
mailing list