This header contains the definitions for the digital signal processing routines for libbpm.
|
Data Structures |
struct | filterrep_t |
struct | filter_t |
Defines |
#define | BESSEL |
#define | BUTTERWORTH |
#define | CHEBYSHEV |
#define | RAISEDCOSINE |
#define | RESONATOR |
#define | GAUSSIAN |
#define | BILINEAR_Z_TRANSFORM |
#define | MATCHED_Z_TRANSFORM |
#define | NO_PREWARP |
#define | LOWPASS |
#define | HIGHPASS |
#define | BANDPASS |
#define | BANDSTOP |
#define | NOTCH |
#define | ALLPASS |
#define | MAXORDER |
#define | MAXPZ |
#define | FILT_EPS |
#define | MAX_RESONATOR_ITER |
Functions |
EXTERN filter_t * | create_filter (char name[], unsigned int options, int order, int ns, double fs, double f1, double f2, double par) |
EXTERN int | apply_filter (filter_t *f, double *wf) |
EXTERN void | print_filter (FILE *of, filter_t *f) |
EXTERN void | delete_filter (filter_t *f) |
EXTERN int | filter_step_response (filter_t *f, double *wf, int itrig) |
EXTERN int | filter_impulse_response (filter_t *f, double *wf, int itrig) |
EXTERN filterrep_t * | create_splane_representation (filter_t *f) |
EXTERN filterrep_t * | create_resonator_representation (filter_t *f) |
EXTERN filterrep_t * | zplane_transform (filter_t *f, filterrep_t *s) |
EXTERN void | print_filter_representation (FILE *of, filterrep_t *r) |
EXTERN int | normalise_filter (filter_t *f, filterrep_t *s) |
EXTERN int | calculate_filter_coefficients (filter_t *f) |
EXTERN int | _expand_complex_polynomial (complex_t *w, int n, complex_t *a) |
EXTERN complex_t | _eval_complex_polynomial (complex_t *a, int n, complex_t z) |