📄 myhead.h
字号:
///////my head.h///////
#define PI 3.1415926
#define pi 3.1415926
#define Fs 48000
#define fs 48000
//////////definition runtine//////////////////
void Sport1_Transmit_Dummy();
//void equ_compu(float fc,float g,float q);
void equ_compu(float fc,float g,float q,float *a_coeff,float *b_coeff);
void mysine(float fc_1000);
void lp_fil_buttwith_2or(float fc,float g,float *a_coeff,float *b_coeff);
void hp_fil_buttwith_2or(float fc,float g,float *a_coeff,float *b_coeff);
void lp_fil_bessel_2or(float fc,float *a_coeff,float *b_coeff);
void lp_fil_buttwith_4or(float fc,float *a_coeff,float *b_coeff);
void hp_fil_buttwith_4or(float fc,float *a_coeff,float *b_coeff);
void lp_fil_bessel_2or(float fc,float *a_coeff,float *b_coeff);
void hp_fil_bessel_2or(float fc,float *a_coeff,float *b_coeff);
float myc_iir(float _sample, const float __pm _a_coeffs[], const float __pm _b_coeffs[], float __dm _state[], int _taps);
//float myc_iir( float sample,float pm a_coeffs[], float pm b_coeffs[],float state[], int taps);
//////////////////////////////////////////////
extern float a_eq_1[3];
extern float b_eq_1[3];
extern float w_eq_1[3];
extern int RX_right_flag, RX_left_flag;
extern float sample;
extern float fil_out;
extern float y0;
extern float y1;
extern float aa;
extern float v_base;
extern float v_step;
extern int v_true;
////in c source////////
//.segment /dm dm_data;//a b coeff//
float extern wrR_eq_1[3];
float extern wrR_eq_2[3];
float extern wrR_eq_3[3];
float extern w_eq_1[3];
float extern w_eq_2[3];
float extern w_eq_3[3];
float extern w_ch1_1[3];
float extern w_ch1_2[3];
float extern w_ch1_3[3];
float extern w_ch2_1[3];
float extern w_ch2_2[3];
float extern w_ch2_3[3];
float extern w_ch3_1[3];
float extern w_ch3_2[3];
float extern w_ch3_3[3];
float extern w_ch4_1[3];
float extern w_ch4_2[3];
float extern w_ch4_3[3];
float extern w_filter1[5];
float extern w_filter2[5];
float extern w_filter3[5];
float extern w_filter4[5];
float extern w[5];
//.segment /pm pm_data;//a b coeff//
float extern aR_eq_1[3];
float extern aR_eq_2[3];
float extern aR_eq_3[3];
float extern bR_eq_1[3];
float extern bR_eq_2[3];
float extern bR_eq_3[3];
float extern a_eq_1[3];
float extern a_eq_2[3];
float extern a_eq_3[3];
float extern a_ch1_1[3];
float extern a_ch1_2[3];
float extern a_ch1_3[3];
float extern a_ch2_1[3];
float extern a_ch2_2[3];
float extern a_ch2_3[3];
float extern a_ch3_1[3];
float extern a_ch3_2[3];
float extern a_ch3_3[3];
float extern a_ch4_1[3];
float extern a_ch4_2[3];
float extern a_ch4_3[3];
float extern b_eq_1[3];
float extern b_eq_2[3];
float extern b_eq_3[3];
float extern b_ch1_1[3];
float extern b_ch1_2[3];
float extern b_ch1_3[3];
float extern b_ch2_1[3];
float extern b_ch2_2[3];
float extern b_ch2_3[3];
float extern b_ch3_1[3];
float extern b_ch3_2[3];
float extern b_ch3_3[3];
float extern b_ch4_1[3];
float extern b_ch4_2[3];
float extern b_ch4_3[3];
float extern a_filter1[5];
float extern a_filter2[5];
float extern a_filter3[5];
float extern a_filter4[5];
float extern b_filter1[5];
float extern b_filter2[5];
float extern b_filter3[5];
float extern b_filter4[5];
float extern a1[5];
float extern b[5];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -