# Class TFilter

Description | Hierarchy | Fields | Methods | Properties

## Unit

DDspFilter

## Declaration

`type TFilter = class(TObject)`

## Description

## Hierarchy

- TObject
- TFilter

## Overview

### Methods

| `constructor Create; virtual;`
| `function ProcessSample(const Input:Double):Double; overload; virtual; abstract;`
| `function ProcessSample(const Input:Int64):Int64; overload; virtual; abstract;`
| `function ProcessSampleASM:Double; virtual;`
| `function MagnitudeSquared(Frequency:Double):Double; virtual; abstract;`
| `function MagnitudeLog10(Frequency:Double):Double; virtual; abstract;`
| `function Phase(Frequency:Double):Double; virtual; abstract;`
| `function Real(Frequency:Double):Double; virtual; abstract;`
| `function Imaginary(Frequency:Double):Double; virtual; abstract;`
| `procedure Complex(Frequency:Double; out Real, Imaginary : Double); overload; virtual; abstract;`
| `procedure Complex(Frequency:Double; out Real, Imaginary : Single); overload; virtual; abstract;`
| `procedure ResetStates; virtual; abstract;`
| `procedure ResetStatesInt64; virtual; abstract;`
| `procedure Reset; virtual; abstract;`
| `procedure GetIR(ImpulseResonse : TAVDSingleDynArray); overload; virtual; abstract;`
| `procedure GetIR(ImpulseResonse : TAVDDoubleDynArray); overload; virtual; abstract;`
| `procedure PushStates; virtual; abstract;`
| `procedure PopStates; virtual; abstract;`

### Properties

| `property GainSpeed: Double read fGainSpeed;`
| `property SampleRateReciprocal : Double read fSRR;`
| `property SinW0: Double read fSinW0;`
| `property W0: Double read fW0;`
| `property Gain: Double read fGain write SetGain;`
| `property Frequency: Double read fFrequency write SetFrequency;`
| `property SampleRate: Double read fSampleRate write SetSampleRate;`
| `property Order: Integer read GetOrder write SetOrder;`

## Description

### Methods

| `constructor Create; virtual;`

| `function ProcessSample(const Input:Double):Double; overload; virtual; abstract;`

| `function ProcessSample(const Input:Int64):Int64; overload; virtual; abstract;`

| `function ProcessSampleASM:Double; virtual;`

| `function MagnitudeSquared(Frequency:Double):Double; virtual; abstract;`

| `function MagnitudeLog10(Frequency:Double):Double; virtual; abstract;`

| `function Phase(Frequency:Double):Double; virtual; abstract;`

| `function Real(Frequency:Double):Double; virtual; abstract;`

| `function Imaginary(Frequency:Double):Double; virtual; abstract;`

| `procedure Complex(Frequency:Double; out Real, Imaginary : Double); overload; virtual; abstract;`

| `procedure Complex(Frequency:Double; out Real, Imaginary : Single); overload; virtual; abstract;`

| `procedure ResetStates; virtual; abstract;`

| `procedure ResetStatesInt64; virtual; abstract;`

| `procedure Reset; virtual; abstract;`

| `procedure GetIR(ImpulseResonse : TAVDSingleDynArray); overload; virtual; abstract;`

| `procedure GetIR(ImpulseResonse : TAVDDoubleDynArray); overload; virtual; abstract;`

| `procedure PushStates; virtual; abstract;`

| `procedure PopStates; virtual; abstract;`

### Properties

| `property GainSpeed: Double read fGainSpeed;`

| `property SampleRateReciprocal : Double read fSRR;`

| `property SinW0: Double read fSinW0;`

| `property W0: Double read fW0;`

| `property Gain: Double read fGain write SetGain;`

| `property Frequency: Double read fFrequency write SetFrequency;`

| `property SampleRate: Double read fSampleRate write SetSampleRate;`

| `property Order: Integer read GetOrder write SetOrder;`

Generated by PasDoc 0.10.0 on 2007-11-13 13:04:17