db coefficients added up to 38

db coefficients accuracy improved
refactoring of wavefilt
This commit is contained in:
Holger Nahrstaedt
2016-02-25 14:41:45 +01:00
parent 487de13131
commit 4ce49a05e9
9 changed files with 2148 additions and 1117 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,7 @@
/*
Copyright (c) 2014, Rafat Hussain
Copyright (c) 2016, Holger Nahrstaedt
*/
#ifndef WAVEFILT_H_
#define WAVEFILT_H_
@@ -9,11 +13,14 @@ extern "C" {
#endif
int filtlength(char* name);
int filtcoef(char* name, double *lp1, double *hp1, double *lp2, double *hp2);
int filtlength(const char* name);
int filtcoef(const char* name, double *lp1, double *hp1, double *lp2, double *hp2);
void copy_reverse(const double *in, int N, double *out);
void qmf_even(const double *in, int N, double *out);
void qmf_wrev(const double *in, int N, double *out);
void copy(const double *in, int N, double *out);
#ifdef __cplusplus
}
#endif

View File

@@ -1,3 +1,6 @@
/*
Copyright (c) 2014, Rafat Hussain
*/
#ifndef WAVELIB_H_
#define WAVELIB_H_

View File

@@ -1,3 +1,6 @@
/*
Copyright (c) 2014, Rafat Hussain
*/
#include "wtmath.h"
int upsamp(double *x, int lenx, int M, double *y) {

View File

@@ -1,3 +1,6 @@
/*
Copyright (c) 2014, Rafat Hussain
*/
#ifndef WTMATH_H_
#define WTMATH_H_