SmoothClipS:
Filter:
Classes (extension) | Libraries > miSCellaneous > WaveFolding

SmoothClipS : UGen : AbstractFunction : Object
ExtensionExtension

wave shaping / clipping pseudo ugen using sine segments

Description

Wave shaping with sine segments at borders. The amount of smoothness can be controlled: 0 means a linear transfer function, 1 a full sine segment, values inbetween a transfer function which consists of a line and a sine segment. For amount > 0 the slope of the transfer function equals 0 at the borders.

Class Methods

SmoothClipS.ar(in, lo: -1, hi: 1, amount: 0.5, delta: 1e-05)

Arguments:

in

input signal.

lo

lower limit, defaults to -1.

hi

upper limit, defaults to 1.

amount

amount of smoothness, must be >= 0 and <= 1, defaults to 0.5.

delta

Threshold for avoiding zero divisions (which would happen if lo = hi and the border case of amount = 1). Normally not to be set by the user, except for very small clipping ranges, defaults to 0.00001.

SmoothClipS.kr(in, lo: -1, hi: 1, amount: 0.5, delta: 1e-05)

Arguments:

in

input signal.

lo

lower limit, defaults to -1.

hi

upper limit, defaults to 1.

amount

amount of smoothness, must be >= 0 and <= 1, defaults to 0.5.

delta

Threshold for avoiding zero divisions (which would happen if lo = hi and the border case of amount = 1). Normally not to be set by the user, except for very small clipping ranges, defaults to 0.00001.

Inherited class methods

Instance Methods

Inherited instance methods

Examples