#include <delaysum.h>
Public Member Functions | |
DelayLine () | |
virtual | ~DelayLine () |
const DelayLine & | operator= (const DelayLine< T > &src) |
class DelayLine | |
void | initBuffer (const typename DEVector< T >::Type &initbuf) |
T | tic (T sample) |
Data Fields | |
DEVector< T >::Type | buffer_ |
long | readpt_ |
long | delay_ |
aureservoir::DelayLine< T >::DelayLine | ( | ) | [inline] |
virtual aureservoir::DelayLine< T >::~DelayLine | ( | ) | [inline, virtual] |
void aureservoir::DelayLine< T >::initBuffer | ( | const typename DEVector< T >::Type & | initbuf | ) | [inline] |
allocates the delay line
initbuf | are the initial values of the delayline the delay is the size of this vector if this vector is uninitialized the delay is 0 |
T aureservoir::DelayLine< T >::tic | ( | T | sample | ) | [inline] |
perform one step of the delay line
sample | will be stored in ringbuffer and |
const DelayLine& aureservoir::DelayLine< T >::operator= | ( | const DelayLine< T > & | src | ) | [inline] |
assignment operator
DEVector<T>::Type aureservoir::DelayLine< T >::buffer_ |
ringbuffer for the delay line
long aureservoir::DelayLine< T >::readpt_ |
current readpointer in ringbuffer
long aureservoir::DelayLine< T >::delay_ |
the delay of this delay line