wdelaycf

Efficient digital delay line using a minimal amount of memory

Variants: wdelaycf, wdelayf

Public Functions

wdelaycf wdelaycf_create(unsigned int _delay)
wdelaycf wdelaycf_copy(wdelaycf _q)
wdelaycf wdelaycf_recreate(wdelaycf _q, unsigned int _delay)
int wdelaycf_destroy(wdelaycf _q)
int wdelaycf_print(wdelaycf _q)
int wdelaycf_reset(wdelaycf _q)
int wdelaycf_read(wdelaycf _q, float complex * _v)
int wdelaycf_push(wdelaycf _q, float complex _v)

Interfaces

wdelaycf wdelaycf_create(unsigned int _delay)

Create delay buffer object with a particular number of samples of delay

  • _delay : number of samples of delay in the wdelay object

wdelaycf wdelaycf_copy(wdelaycf _q)

Copy object including all internal objects and state

wdelaycf wdelaycf_recreate(wdelaycf _q, unsigned int _delay)

Re-create delay buffer object, adjusting the delay size, preserving the internal state of the object

  • _q : old delay buffer object
  • _delay : delay for new object

int wdelaycf_destroy(wdelaycf _q)

Destroy delay buffer object, freeing internal memory

int wdelaycf_print(wdelaycf _q)

Print delay buffer object's state to stdout

int wdelaycf_reset(wdelaycf _q)

Clear/reset state of object

int wdelaycf_read(wdelaycf _q, float complex * _v)

Read delayed sample at the head of the buffer and store it to the output pointer

  • _q : delay buffer object
  • _v : value of delayed element

int wdelaycf_push(wdelaycf _q, float complex _v)

Push new sample into delay buffer object

  • _q : delay buffer object
  • _v : new value to be added to buffer