1
/*******************************************/
2
/* AllPass Interpolating Delay Line */
3
/* Object by Perry R. Cook 1995-96. */
4
/* Revised by Gary P. Scavone, 1999. */
6
/* This one uses a delay line of maximum */
7
/* length specified on creation, and */
8
/* interpolates fractional length using */
9
/* an all-pass filter. This version is */
10
/* more efficient for computing static */
11
/* length delay lines (alpha and coeff */
12
/* are computed only when the length */
13
/* is set, there probably is a more */
14
/* efficient computational form if alpha */
15
/* is changed often (each sample)). */
17
/*******************************************/
20
#if !defined(__DLineA_h)
25
class DLineA : public Filter
36
DLineA(long max_length);
39
void setDelay(MY_FLOAT length);
40
MY_FLOAT tick(MY_FLOAT sample);