[][src]Enum sofiza::sfz::types::fil_type

pub enum fil_type {
    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,
}

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

  • info: fil_type (https://sfzformat.com/opcodes/fil_type)

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)

  • 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

impl fil_type[src]

pub fn from_str(name: &str) -> Option<Self>[src]

Constructor from the variant name, as a string

Trait Implementations

impl Clone for fil_type[src]

impl Debug for fil_type[src]

impl PartialEq<fil_type> for fil_type[src]

impl StructuralPartialEq for fil_type[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.