rms
Files: rms.h, rms.c
RMS-averaged signal amplitude
Perform "root-mean-square" on a signal to get overall amplitude of a signal. The output signal looks similar to that of a classic VU meter.
sp_rms_create(sp_rms **rms)
sp_rms_init(sp_data *sp, sp_rms *rms)
sp_rms_compute(sp_data *sp, sp_rms *rms, SPFLOAT *in, SPFLOAT *out)
sp_rms_destroy(sp_rms **rms)
Optional Parameters
ihp: Half-power point (in Hz) of internal lowpass filter. This parameter is fixed at 10Hz and is not yet mutable.
(Default value: 10)
Inputs
in: Input signal.
Outputs
out: Output signal.