added mixer.*;clean olds; added lpf3, etc

This commit is contained in:
2022-09-10 22:38:13 +02:00
parent f3e30f3aa7
commit 13f9b3f8de
6 changed files with 70 additions and 77 deletions
+14 -3
View File
@@ -10,9 +10,20 @@ typedef struct {
double x0;
double x1;
double rc;
} lpf_t;
} lpf2_t;
void lpf_init(lpf_t *lpf, double freq);
double lpf_apply(lpf_t *lpf, double x2, double dt);
void lpf2_init(lpf2_t *lpf, double freq);
double lpf2_apply(lpf2_t *lpf, double x, double dt);
typedef struct {
double x1;
double x2;
double x3;
double rc;
} lpf3_t;
void lpf3_init(lpf3_t *lpf, double freq);
double lpf3_apply(lpf3_t *lpf, double x, double dt);
#endif