ATK-Sharp  1.0
The ATK library for C#.
ATKSharp.Modifiers.Biquad Class Reference

The Biquad class. This behaves similarily to the biquad~ in MaxMSP More...

Inheritance diagram for ATKSharp.Modifiers.Biquad:
ATKSharp.Modifiers.BaseModifier ATKSharp.Modifiers.IModifier

Public Member Functions

 Biquad (ModifierType type=ModifierType.LowPass, float frequency=500f, float q=.707f, float peakGain=0f)
 Initializes a new instance of the Biquad class. More...
 
override float Modify (float input)
 Modifies the input. More...
 

Properties

override ModifierType ModifierType [get, set]
 Gets or sets the modifier type. More...
 
override float Frequency [get, set]
 Gets or sets the frequency. More...
 
float Q [get, set]
 Gets or sets the Q aka quality factor aka bandwidth. More...
 
float PeakGain [get, set]
 Gets or sets the peak gain. More...
 
- Properties inherited from ATKSharp.Modifiers.BaseModifier
virtual ModifierType ModifierType [get, set]
 Gets or sets the modifier type. More...
 
virtual float Frequency [get, set]
 Gets or sets the modifier frequency. More...
 
virtual float CurrentSample [get, protected set]
 Gets or sets the current sample. More...
 
- Properties inherited from ATKSharp.Modifiers.IModifier
float CurrentSample [get]
 Gets the current sample. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ATKSharp.Modifiers.BaseModifier
 BaseModifier ()
 Initializes a new instance of the BaseModifier class. More...
 

Detailed Description

The Biquad class. This behaves similarily to the biquad~ in MaxMSP

Constructor & Destructor Documentation

◆ Biquad()

ATKSharp.Modifiers.Biquad.Biquad ( ModifierType  type = ModifierType.LowPass,
float  frequency = 500f,
float  q = .707f,
float  peakGain = 0f 
)

Initializes a new instance of the Biquad class.

Parameters
typeThe modifier type.
frequencyThe frequency (Hz).
qThe quality.
peakGainThe peak gain.

Member Function Documentation

◆ Modify()

override float ATKSharp.Modifiers.Biquad.Modify ( float  input)
virtual

Modifies the input.

Parameters
inputThe input.
Returns
The modified input.

Reimplemented from ATKSharp.Modifiers.BaseModifier.

Property Documentation

◆ Frequency

override float ATKSharp.Modifiers.Biquad.Frequency
getset

Gets or sets the frequency.

◆ ModifierType

override ModifierType ATKSharp.Modifiers.Biquad.ModifierType
getset

Gets or sets the modifier type.

◆ PeakGain

float ATKSharp.Modifiers.Biquad.PeakGain
getset

Gets or sets the peak gain.

◆ Q

float ATKSharp.Modifiers.Biquad.Q
getset

Gets or sets the Q aka quality factor aka bandwidth.


The documentation for this class was generated from the following file: