C# 클래스 SoundLibrary.Filter.FirCommon

FIR フィルタ関係の共通関数群
파일 보기 프로젝트 열기: ufcpp/UfcppSample 1 사용 예제들

공개 메소드들

메소드 설명
CalcEvenLinearBPFCoefficient ( FirFilterType type, double coef, double w, double w0, WindowFunction window ) : void

線形位相バンドパスフィルタ(奇数タップ)の係数を計算する。 右側半分のみを計算。

CalcLinearBPFCoefficient ( FirFilterType type, double w, double w0, int taps, WindowType window ) : IFirFilter
CalcOddLinearBPFCoefficient ( FirFilterType type, double coef, double w, double w0, WindowFunction window ) : void

線形位相バンドパスフィルタ(奇数タップ)の係数を計算する。 右側半分のみを計算。

Constant1 ( double i ) : double

窓関数用。常に1を返す関数。

GetBandPassFilter ( int taps, double wl, double wh, WindowType type ) : IFirFilter
GetHighPassFilter ( int taps, double w, WindowType type ) : IFirFilter
GetLowPassFilter ( int taps, double w, WindowType type ) : IFirFilter
GetWindow ( WindowType type, int order ) : WindowFunction

메소드 상세

CalcEvenLinearBPFCoefficient() 공개 정적인 메소드

線形位相バンドパスフィルタ(奇数タップ)の係数を計算する。 右側半分のみを計算。
public static CalcEvenLinearBPFCoefficient ( FirFilterType type, double coef, double w, double w0, WindowFunction window ) : void
type FirFilterType フィルタタイプ
coef double 係数の格納先
w double 遮断周波数(BPF の場合は遮断帯域幅、HPF の場合は π-遮断周波数)
w0 double (BPF のみ) 中心周波数
window WindowFunction 窓関数
리턴 void

CalcLinearBPFCoefficient() 공개 정적인 메소드

public static CalcLinearBPFCoefficient ( FirFilterType type, double w, double w0, int taps, WindowType window ) : IFirFilter
type FirFilterType
w double
w0 double
taps int
window WindowType
리턴 IFirFilter

CalcOddLinearBPFCoefficient() 공개 정적인 메소드

線形位相バンドパスフィルタ(奇数タップ)の係数を計算する。 右側半分のみを計算。
public static CalcOddLinearBPFCoefficient ( FirFilterType type, double coef, double w, double w0, WindowFunction window ) : void
type FirFilterType フィルタタイプ
coef double 係数の格納先
w double 遮断周波数(BPF の場合は遮断帯域幅、HPF の場合は π-遮断周波数)
w0 double (BPF のみ) 中心周波数
window WindowFunction 窓関数
리턴 void

Constant1() 공개 정적인 메소드

窓関数用。常に1を返す関数。
public static Constant1 ( double i ) : double
i double
리턴 double

GetBandPassFilter() 공개 정적인 메소드

public static GetBandPassFilter ( int taps, double wl, double wh, WindowType type ) : IFirFilter
taps int
wl double
wh double
type WindowType
리턴 IFirFilter

GetHighPassFilter() 공개 정적인 메소드

public static GetHighPassFilter ( int taps, double w, WindowType type ) : IFirFilter
taps int
w double
type WindowType
리턴 IFirFilter

GetLowPassFilter() 공개 정적인 메소드

public static GetLowPassFilter ( int taps, double w, WindowType type ) : IFirFilter
taps int
w double
type WindowType
리턴 IFirFilter

GetWindow() 공개 정적인 메소드

public static GetWindow ( WindowType type, int order ) : WindowFunction
type WindowType
order int
리턴 WindowFunction