Versions in this module Expand all Collapse all v0 v0.1.0 Jan 18, 2025 Changes in this version + const Tau + type BandPassIIR struct + func NewBandPassIIR(sampleRate uint) *BandPassIIR + func (irr *BandPassIIR) Filter(value float64) float64 + func (irr *BandPassIIR) Reset() + func (irr *BandPassIIR) SetCutoff(freq float64) + type CompositFilter struct + func NewCompositFilter() *CompositFilter + func (cf *CompositFilter) AddFilterChain(chain FilterChain, gain float64) + func (cf *CompositFilter) ClearFilterChains() + func (cf *CompositFilter) Filter(value float64) float64 + func (cf *CompositFilter) Reset() + type Filter interface + Filter func(float64) float64 + Reset func() + type FilterChain struct + func NewFilterChain() *FilterChain + func (fch *FilterChain) AddFilter(filter Filter) + func (fch *FilterChain) ClearFilters() + func (fch *FilterChain) Filter(value float64) float64 + func (fch *FilterChain) Reset() + type HighPassIIR struct + func NewHighPassIIR(sampleRate uint) *HighPassIIR + func (iir *HighPassIIR) Filter(value float64) float64 + func (iir *HighPassIIR) Reset() + func (iir *HighPassIIR) SetCutoff(freq float64) + type LowPassIIR struct + func NewLowPassIIR(sampleRate uint) *LowPassIIR + func (iir *LowPassIIR) Filter(value float64) float64 + func (iir *LowPassIIR) Reset() + func (iir *LowPassIIR) SetCutoff(freq float64) + type NotchIIR struct + func NewNotchIIR(sampleRate uint) *NotchIIR + func (iir *NotchIIR) Filter(value float64) float64 + func (iir *NotchIIR) Reset() + func (iir *NotchIIR) SetCenter(freq float64) + func (iir *NotchIIR) SetNotchwidth(freq float64) + func (iir *NotchIIR) SetQualityFactor(q float64) + type PeakingIIR struct + func NewPeakingIIR(sampleRate uint) *PeakingIIR + func (iir *PeakingIIR) Filter(value float64) float64 + func (iir *PeakingIIR) Reset() + func (iir *PeakingIIR) SetBandwidth(freq float64) + func (iir *PeakingIIR) SetCenter(freq float64) + func (iir *PeakingIIR) SetGainLinear(gain float64) + func (iir *PeakingIIR) SetGaindB(gaindB float64) + func (iir *PeakingIIR) SetQualityFactor(q float64)