feeding current output to current tick

Hiroko Shiraiwa-Terasawa hiroko@ccrma.Stanford.EDU
Wed, 7 May 2003 17:47:29 -0700 (PDT)


The other EE guy Tony and I were having discussion about 
the way to feed the current output to current tick, when using delay.
It can be solved using nextOut method. just FYI.

the probelm is, when designing the feedback comb filters,

for(i=0; i< max ; i++){
current_out = delay->tick( last_out + current_in);
last_out = current_out;
}

the code above adds an extra delay on lastoutput until it is
fed to the delay tick method. (so it's like having one delay
on the feedback path.)

for(i=0l i<max; i++){
current_out = delay->tick(next_but_current_out + current_in);
next_but_current_out = delay->nextOut();
}

it will solve the problem. 

-- 
Hiroko Terasawa 
<hiroko@ccrma.stanford.edu>