// Comb filter implementation // // Written by Jezar at Dreampoint, June 2000 // http://www.dreampoint.co.uk // This code is public domain #include "comb.hpp" comb::comb() { feedback = 0.0f; filterstore = 0.0f; damp1 = 0.0f; damp2 = 0.0f; buffer = 0; bufsize = 0; bufidx = 0; } void comb::setbuffer(float *buf, int size) { buffer = buf; bufsize = size; } void comb::mute() { for (int i=0; i