db coefficients added up to 38
db coefficients accuracy improved refactoring of wavefilt
This commit is contained in:
3032
src/wavefilt.c
3032
src/wavefilt.c
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2014, Rafat Hussain
|
||||
*/
|
||||
#ifndef WAVELIB_H_
|
||||
#define WAVELIB_H_
|
||||
|
||||
|
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2014, Rafat Hussain
|
||||
*/
|
||||
#include "wtmath.h"
|
||||
|
||||
int upsamp(double *x, int lenx, int M, double *y) {
|
||||
|
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2014, Rafat Hussain
|
||||
*/
|
||||
#ifndef WTMATH_H_
|
||||
#define WTMATH_H_
|
||||
|
||||
|
Reference in New Issue
Block a user