C# 클래스 DSPUtil.ERB

파일 보기 프로젝트 열기: hughpyle/inguz-DSPUtil 1 사용 예제들

공개 메소드들

메소드 설명
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[]

메소드 상세

ERBVal() 공개 정적인 메소드

ERB value for a given frequency
public static ERBVal ( double f ) : double
f double Frequency (Hz)
리턴 double

ERBWidth() 공개 정적인 메소드

Compute the equivalent rectangular bandwidth (ERB) at frequency f (Hz)
public static ERBWidth ( double f ) : double
f double Frequency (Hz)
리턴 double

bin2f() 공개 정적인 메소드

public static bin2f ( double bin, uint sr ) : double
bin double
sr uint
리턴 double

bin2f() 공개 정적인 메소드

public static bin2f ( double bin, uint sr, double bins ) : double
bin double
sr uint
bins double
리턴 double

f2bin() 공개 정적인 메소드

public static f2bin ( double f, uint sr ) : double
f double
sr uint
리턴 double

f2bin() 공개 정적인 메소드

public static f2bin ( double f, uint sr, double bins ) : double
f double
sr uint
bins double
리턴 double

inflections() 공개 정적인 메소드

Return a list of freq/gain, only including inflection points (where the curve is flat).
public static inflections ( double data, uint sr ) : FilterProfile
data double
sr uint
리턴 FilterProfile

integralofERB() 공개 정적인 메소드

Integral of ERB from 0 to f
public static integralofERB ( double f ) : double
f double
리턴 double

invERB() 공개 정적인 메소드

Inverse of ERB(f)
public static invERB ( double b ) : double
b double bandwidth
리턴 double

invERBVal() 공개 정적인 메소드

public static invERBVal ( double v ) : double
v double
리턴 double

invintegralofERB() 공개 정적인 메소드

public static invintegralofERB ( double i, uint sr ) : double
i double
sr uint
리턴 double

profile() 공개 정적인 메소드

public static profile ( double data, uint sr ) : FilterProfile
data double
sr uint
리턴 FilterProfile

profile() 공개 정적인 메소드

Return a list of freq/gain, at the ERB centers Assuming you smoothed the data...
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...
리턴 FilterProfile

smooth() 공개 정적인 메소드

public static smooth ( double data, int bands ) : double[]
data double
bands int
리턴 double[]