kink
Distort a sawtooth waveform or event rate linear ramp values.
kink(x, slope): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| x | number | The input to kink should be a linear ramp of values that repeatedly goes from 0 to 1. | |
| slope | number | The multiplier that affects the slope of the output between an output (Y) value of 0 and 0.5. |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | If the kink objects slope is less than 0.5, that value is output. Otherwise, a complementary slope is used which is equal to 0.5 at the same input value but equal to 1 when the input is 1. This creates a 'kink' in the linear ramp when the slope is not equal to 1. |