bltriangle
Files: bltriangle.h, bltriangle.c
Bandlimited triangle oscillator
This is a bandlimited triangle oscillator ported from the "triangletooth" function from the Faust
programming language.
sp_bltriangle_create(sp_bltriangle **bltriangle)
sp_bltriangle_init(sp_data *sp, sp_bltriangle *bltriangle)
sp_bltriangle_compute(sp_data *sp, sp_bltriangle *bltriangle, SPFLOAT *dummy, SPFLOAT *out)
sp_bltriangle_destroy(sp_bltriangle **bltriangle)
Optional Parameters
freq: Frequency, (range 0-20000)
(Default value: 440)
amp: Amplitude (range 0-1).
(Default value: 1)
Outputs
out: Signal output.