pub enum fil_type {
Show 23 variants lpf_1p, hpf_1p, lpf_2p, hpf_2p, bpf_2p, brf_2p, bpf_1p, brf_1p, apf_1p, lpf_2p_sv, hpf_2p_sv, bpf_2p_sv, brf_2p_sv, pkf_2p, lpf_4p, hpf_4p, lpf_6p, hpf_6p, comb, pink, lsh, hsh, peq,
}
Expand description

Allows you to choose which type of filter you use if not specified

Variants

lpf_1p

One-pole low pass filter (6dB/octave)

  • version: v1

hpf_1p

One-pole high pass filter (6dB/octave)

  • version: v1

lpf_2p

Two-pole low pass filter (12dB/octave)

This is the default.

  • version: v1

hpf_2p

Two-pole high pass filter (12dB/octave)

  • version: v1

bpf_2p

Two-pole band pass filter (12dB/octave)

  • version: v1

brf_2p

Two-pole band rejection filter (12dB/octave)

  • version: v1

bpf_1p

One-pole band pass filter (6dB/octave)

  • version: v2

brf_1p

One-pole band rejection filter (6dB/octave)

  • version: v2

apf_1p

One-pole all pass filter (6dB/octave)

  • version: v2

lpf_2p_sv

Two-pole low pass state variable filter (12dB/octave)

  • version: v2

hpf_2p_sv

Two-pole high pass state variable filter (12dB/octave)

  • version: v2

bpf_2p_sv

Two-pole band pass state variable filter (12dB/octave)

  • version: v2

brf_2p_sv

Two-pole band rejection state variable filter (12dB/octave)

  • version: v2

pkf_2p

Two-pole peak filter (12dB/octave)

  • version: v2

lpf_4p

Four-pole low pass filter (24dB/octave)

  • version: v2

hpf_4p

Four-pole high pass filter (24dB/octave)

  • version: v2

lpf_6p

Six-pole low pass filter (36dB/octave)

  • version: v2

hpf_6p

Six-pole high pass filter (36dB/octave)

  • version: v2

comb

Comb filter

  • version: v2

pink

Pink noise filter

  • version: v2

lsh

Low shelf

  • version: ARIA

hsh

High shelf

  • version: ARIA

peq

Parametric EQ

  • version: ARIA

Implementations

Constructor from the variant name, as a string

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.