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.
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. |
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. |