Struct web_audio_api::node::BiquadFilterOptions[][src]

pub struct BiquadFilterOptions {
    pub q: Option<f32>,
    pub detune: Option<f32>,
    pub frequency: Option<f32>,
    pub gain: Option<f32>,
    pub type_: Option<BiquadFilterType>,
    pub channel_config: ChannelConfigOptions,
}
Expand description

BiquadFilterOptions is used to pass options during the construction of BiquadFilterNode using its constructor method new

Fields

q: Option<f32>

The desired initial value for Q, if None default to 1.

detune: Option<f32>

The desired initial value for detune, if None default to 0.

frequency: Option<f32>

The desired initial value for frequency, if None default to 350.

gain: Option<f32>

The desired initial value for gain, if None default to 0.

type_: Option<BiquadFilterType>

The desired initial value for type, if None default to Lowpass.

channel_config: ChannelConfigOptions

audio node options

Trait Implementations

Returns the “default value” for a type. 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

Performs the conversion.

Performs the conversion.

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.