StereoWidener
class Effect ↳ extends MidSideEffect<StereoWidenerOptions>
Applies a width factor to the mid/side separation. 0 is all mid and 1 is all side. Algorithm found in kvraudio forums.
Mid *= 2*(1-width)<br>Side *= 2*widthConstructor
Section titled “Constructor”new StereoWidener(width?: number)Parameters
-
width
numberoptionalThe stereo width. A width of 0 is mono and 1 is stereo. 0.5 is no change.
new StereoWidener(options?: Partial<StereoWidenerOptions>)Parameters
- options
Partial<StereoWidenerOptions>optional
Properties
Section titled “Properties”↳ inherited from Effect
wet: Signal<"normalRange">The wet control is how much of the effected will pass through to the output. 1 = 100% effected signal, 0 = 100% dry signal.
read-only
width: Signal<"normalRange">The width control. 0 = 100% mid. 1 = 100% side. 0.5 = no change.
Methods
Section titled “Methods”getDefaults()
Section titled “getDefaults()”static
getDefaults(): StereoWidenerOptionsReturns all of the default options belonging to the class.
Returns StereoWidenerOptions
Inherited members
Section titled “Inherited members”- From
ToneWithContext: context, blockTime, sampleTime, get(), immediate(), now(), set(), toFrequency(), toSeconds(), toTicks() - From
Tone: debug, version, disposed, toString() - From
ToneAudioNode: channelCount, channelCountMode, channelInterpretation, numberOfInputs, numberOfOutputs, chain(), connect(), disconnect(), fan(), toDestination(), toMaster()