Displaying 2 results from an estimated 2 matches for "lowidth".
Did you mean:
ldwidth
2001 Feb 01
1
minor psy.c modifications
...(new) style:
#define BIN(x) ((int)((x)*negFour))
#define BINdB(x) ((x)*negQuarter)
#define BINCOUNT (200*4)
#define LASTBIN (BINCOUNT-1)
tatic void bark_noise_median(long n,float *b,
float *f,float *noise,
float lowidth,float hiwidth,
int lomin,int himin,
float *thresh,float *off){
long i,lo=0,hi=0;
long median=LASTBIN;
float bi,threshi;
float negFour = -4.0f;
float negQuarter = -0.25f;
float radix[BINCOUNT];
float countab...
2001 Jan 27
1
optimization to bark_noise_median()
...ease commit it?
Thanks!
-tim
/* quarter-dB bins */
#define BIN(x) ((int)((x)*negFour))
#define BINdB(x) ((x)*negQuarter)
#define BINCOUNT (200*4)
#define LASTBIN (BINCOUNT-1)
tatic void bark_noise_median(long n,const float *b,const float *f,float *noise,
float lowidth,float hiwidth,
int lomin,int himin,
const float *thresh,const float *off){
long i=0,lo=0,hi=0;
float bi,threshi;
long median=LASTBIN;
float negFour = -4.0;
float negQuarter = -0.25;
/* these are really integral values, but w...