tblrec

Files: tblrec.h, tblrec.c

Record a signal to an ftable. This module will write audio-rate signals to a preallocated soundpipe ftable. Every time record is enabled, it will got back to index 0 overwrite any previous information that was on it.

Functions

sp_tblrec_create(sp_tblrec **tblrec)
sp_tblrec_init(sp_data *sp, sp_tblrec *tblrec, sp_ftbl *bar)
sp_tblrec_compute(sp_data *sp, sp_tblrec *tblrec, SPFLOAT *in, SPFLOAT *trig, SPFLOAT *out)
sp_tblrec_destroy(sp_tblrec **tblrec)

Mandatory Parameters

bar:
(Recommended value: N/A)

Inputs

in: Input signal.
trig: When non-zero, will toggle recording on/off. Recording will set the playhead back to zero

Outputs

out: Copy of the input signal.