Struct web_audio_api::node::WaveShaperOptions
source ·
[−]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
