Page 1 of 1

De-zipper| How does it work?

PostPosted: Thu Dec 15, 2016 8:57 pm
by Father
Hi. I was wondering how De-zipper prime works? Is it a filter like this thats being processed for each sample?
Code: Select all
Out = coeff * (Old_In - In) + In;

We use it a lot, but no significant CPU usage, how is that possible? I guess it only works when the input has been changed..

Re: De-zipper| How does it work?

PostPosted: Thu Dec 15, 2016 9:38 pm
by martinvicanek
As far as I can tell, it calculates a new target at hop(128) and then approaches that with linear segments. Something like this, but with configurable slope:
Code: Select all
streamin in; streamout out;

float step;

hop(128) { step = (in - out)/128; }

out = out + step;