biscale
Files: biscale.h, biscale.c
Bipolar Scale
This module scales from bipolar [-1, 1] to another range defined by min and max.
sp_biscale_create(sp_biscale **biscale)
sp_biscale_init(sp_data *sp, sp_biscale *biscale)
sp_biscale_compute(sp_data *sp, sp_biscale *biscale, SPFLOAT *in, SPFLOAT *out)
sp_biscale_destroy(sp_biscale **biscale)
Optional Parameters
min: Minimum value to scale to.
(Default value: 0)
max: Maximum value to scale to.
(Default value: 1)
Inputs
in: Signal to be scaled.
Outputs
out: Scaled signal out