blsaw

Files: blsaw.h, blsaw.c

Bandlimited sawtooth oscillator This is a bandlimited sawtooth oscillator ported from the "sawtooth" function from the Faust programming language.

Functions

sp_blsaw_create(sp_blsaw **blsaw)
sp_blsaw_init(sp_data *sp, sp_blsaw *blsaw)
sp_blsaw_compute(sp_data *sp, sp_blsaw *blsaw, SPFLOAT *dummy, SPFLOAT *out)
sp_blsaw_destroy(sp_blsaw **blsaw)

Optional Parameters

freq: Frequency, (range 0-20000)
(Default value: 440)
amp: Amplitude (range 0-1).
(Default value: 1)

Outputs

out: Signal output.