1
/*******************************************/
3
Linearly Interpolating Delay Line
4
Object by Perry R. Cook 1995-96.
5
Added methods by Julius Smith, 2000.
7
This one uses a delay line of maximum
8
length specified on creation, and
9
linearly interpolates fractional
10
length. It is designed to be more
11
efficient if the delay length is not
14
/*******************************************/
16
#if !defined(__DLineL_h)
21
class DLineL : public Filter
29
MY_FLOAT currentDelay;
32
DLineL(long max_length);
35
void setDelay(MY_FLOAT length);
37
MY_FLOAT energy(void);
38
long currentInPoint(void);
39
long currentOutPoint(void);
40
MY_FLOAT contentsAt(int n);
41
MY_FLOAT contentsAtNowMinus(int n);
42
MY_FLOAT tick(MY_FLOAT sample);