Efficient digital delay line using a minimal amount of memory
Public Functions
wdelayf | wdelayf_create( |
wdelayf | wdelayf_copy( |
wdelayf | wdelayf_recreate( |
int | wdelayf_destroy( |
int | wdelayf_print( |
int | wdelayf_reset( |
int | wdelayf_read( |
int | wdelayf_push( |
Interfaces
wdelayf wdelayf_create(
Create delay buffer object with a particular number of samples of delay
- _delay : number of samples of delay in the wdelay object
wdelayf wdelayf_copy(
Copy object including all internal objects and state
wdelayf wdelayf_recreate(
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 wdelayf_destroy(
Destroy delay buffer object, freeing internal memory
int wdelayf_print(
Print delay buffer object's state to stdout
int wdelayf_reset(
Clear/reset state of object
int wdelayf_read(
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 wdelayf_push(
Push new sample into delay buffer object
- _q : delay buffer object
- _v : new value to be added to buffer