Struct web_audio_api::node::WaveShaperOptions [−][src]
pub struct WaveShaperOptions {
pub curve: Option<Vec<f32>>,
pub oversample: Option<OverSampleType>,
pub channel_config: Option<ChannelConfigOptions>,
}
Expand description
WaveShaperOptions
is used to pass options
during the construction of WaveShaperNode
using its
constructor method new
Fields
curve: Option<Vec<f32>>
The distortion curve
oversample: Option<OverSampleType>
Oversampling rate - default to None
channel_config: Option<ChannelConfigOptions>
audio node options