ACCESS IC LAB
Graduate Institute of Electronics Engineering, NTU
Audio Equalizer Audio Equalizer Instructor: Prof. Andy Wu ACCESS - - PowerPoint PPT Presentation
Graduate Institute of Electronics Engineering, NTU Audio Equalizer Audio Equalizer Instructor: Prof. Andy Wu ACCESS IC LAB ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Basic Network Structure for FIR System Basic Network
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
M k
=
Graduate Institute of Electronics Engineering, NTU
1 2 1 2 1
Ms M n k k k n k
− − − = =
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
#include <filter.h> const fract16 x[]; /* Input sample vector x */ fract16 y[]; /* Output sample vector y */ int inum; /* Number of input samples */ fir_state_fr16 *state; /* Pointer to filter state structure */ int main() { … fir_init(state,coeffs_array,delayline,num_coeffs interpolation_idx); fir_fr16(x,y,inum,state) ; }
typedef struct { fract16 *h, /* filter coefficients */ fract16 *d, /* start of delay line */ fract16 *p, /* read/write pointer */ int k; /* number of coefficients */ int l; /* interpolation/decimation index */ } fir_state_fr16;
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
=
N x
=
N k
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU
Graduate Institute of Electronics Engineering, NTU