Classes (extension) | UGens > Filters

CrossoverDistortion : UGen : AbstractFunction : Object
ExtensionExtension

class B/AB power amp distortion simulation

Description

This is a simulation of the distortion that happens in class B and AB power amps when the signal crosses 0.For class B simulations the smooth value should be set to about 0.3 +/- 0.2 and for AB it should be set to near 1.0.

NOTE: Port of a similarly-named ladspa plugin http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html#tth_sEc2.22. Plugin ID 1404.

Class Methods

CrossoverDistortion.ar(in, amp: 0.5, smooth: 0.5, mul: 1, add: 0)

Arguments:

in

The input signal.

amp

Controls the point at which the output signal becomes linear.

smooth

Controls degree of smoothing of the crossover point.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{CrossoverDistortion.ar(SinOsc.ar([400, 404], 0, 0.2), MouseX.kr(0, 1), MouseY.kr(0, 1))}.play

{CrossoverDistortion.ar(SoundIn.ar, MouseX.kr(0, 1), MouseY.kr(0, 1))}.play