Method | Description | |
---|---|---|
ERBVal ( double f ) : double |
ERB value for a given frequency
|
|
ERBWidth ( double f ) : double |
Compute the equivalent rectangular bandwidth (ERB) at frequency f (Hz)
|
|
bin2f ( double bin, uint sr ) : double | ||
bin2f ( double bin, uint sr, double bins ) : double | ||
f2bin ( double f, uint sr ) : double | ||
f2bin ( double f, uint sr, double bins ) : double | ||
inflections ( double data, uint sr ) : FilterProfile |
Return a list of freq/gain, only including inflection points (where the curve is flat).
|
|
integralofERB ( double f ) : double |
Integral of ERB from 0 to f
|
|
invERB ( double b ) : double |
Inverse of ERB(f)
|
|
invERBVal ( double v ) : double | ||
invintegralofERB ( double i, uint sr ) : double | ||
profile ( double data, uint sr ) : FilterProfile | ||
profile ( double data, uint sr, double scaleFactor ) : FilterProfile |
Return a list of freq/gain, at the ERB centers Assuming you smoothed the data...
|
|
smooth ( double data, int bands ) : double[] |
public static ERBVal ( double f ) : double | ||
f | double | Frequency (Hz) |
return | double |
public static ERBWidth ( double f ) : double | ||
f | double | Frequency (Hz) |
return | double |
public static bin2f ( double bin, uint sr ) : double | ||
bin | double | |
sr | uint | |
return | double |
public static bin2f ( double bin, uint sr, double bins ) : double | ||
bin | double | |
sr | uint | |
bins | double | |
return | double |
public static f2bin ( double f, uint sr ) : double | ||
f | double | |
sr | uint | |
return | double |
public static f2bin ( double f, uint sr, double bins ) : double | ||
f | double | |
sr | uint | |
bins | double | |
return | double |
public static inflections ( double data, uint sr ) : FilterProfile | ||
data | double | |
sr | uint | |
return | FilterProfile |
public static integralofERB ( double f ) : double | ||
f | double | |
return | double |
public static invERB ( double b ) : double | ||
b | double | bandwidth |
return | double |
public static invERBVal ( double v ) : double | ||
v | double | |
return | double |
public static invintegralofERB ( double i, uint sr ) : double | ||
i | double | |
sr | uint | |
return | double |
public static profile ( double data, uint sr ) : FilterProfile | ||
data | double | |
sr | uint | |
return | FilterProfile |
public static profile ( double data, uint sr, double scaleFactor ) : FilterProfile | ||
data | double | data from ERB.smooth |
sr | uint | sample rate |
scaleFactor | double | 1.0 for ~38 bands. 0.5 for twice as many... |
return | FilterProfile |
public static smooth ( double data, int bands ) : double[] | ||
data | double | |
bands | int | |
return | double[] |