mirror of https://github.com/wb2osz/direwolf.git
14 lines
413 B
C
14 lines
413 B
C
|
|
/* dsp.h */
|
|
|
|
// TODO: put prefixes on these names.
|
|
|
|
float window (bp_window_t type, int size, int j);
|
|
|
|
int gen_lowpass (float fc, float *lp_filter, int filter_size, bp_window_t wtype, float lp_delay_fract);
|
|
|
|
void gen_bandpass (float f1, float f2, float *bp_filter, int filter_size, bp_window_t wtype);
|
|
|
|
void gen_ms (int fc, int samples_per_sec, float *sin_table, float *cos_table, int filter_size, int wtype);
|
|
|