pub struct WaveShaperOptions {
    pub curve: Option<Vec<f32>>,
    pub oversample: Option<OverSampleType>,
    pub channel_config: Option<ChannelConfigOptions>,
}
Expand description

WaveShaperNode options

Fields

curve: Option<Vec<f32>>

The distortion curve

oversample: Option<OverSampleType>

Oversampling rate - default to None

channel_config: Option<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.