kink~
Examples
Arguments
slope [auto]
The multiplier that affects the slope of the output between an output (Y) value of 0 and 0.5.
After the output reaches 0.5, the waveform will increase to 1 so that the entire output moves from 0 to 1 in the same period of time as the input. A slope multiplier of 1 produces no distortion. Slope multipliers below 1 have a slower rise to 0.5 than the input, and slope multipliers above 1 have a faster rise to 0.5 than the input.
Inlets
x [auto]
The input to kink~ should be a sawtooth waveform output from a phasor~ object that repeatedly goes from 0 to 1.
slope [auto]
The multiplier that affects the slope of the output between an output (Y) value of 0 and 0.5.
After the output reaches 0.5, the waveform will increase to 1 so that the entire output moves from 0 to 1 in the same period of time as the input. A slope multiplier of 1 produces no distortion. Slope multipliers below 1 have a slower rise to 0.5 than the input, and slope multipliers above 1 have a faster rise to 0.5 than the input.
Outlets
out1 [signal]
The output of kink~ should be fed to the right inlet of rnbo_cycle~ (at zero frequency) to produce a distorted sine wave (a technique known as phase distortion synthesis). As the slope multiplier in the right inlet of kink~ deviates from 1, additional harmonics are introduced into the waveform output of rnbo_cycle~. If the slope multiplier is rapidly increased and then decreased using a rnbo_line~, the output of rnbo_cycle~ may resemble an attack portion of an instrumental sound.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
reset [bang] (default: 0)
Banging this attribute will reset the object to its default state.
slope [auto]
The multiplier that affects the slope of the output between an output (Y) value of 0 and 0.5.
After the output reaches 0.5, the waveform will increase to 1 so that the entire output moves from 0 to 1 in the same period of time as the input. A slope multiplier of 1 produces no distortion. Slope multipliers below 1 have a slower rise to 0.5 than the input, and slope multipliers above 1 have a faster rise to 0.5 than the input.
x [auto]
The input to kink~ should be a sawtooth waveform output from a phasor~ object that repeatedly goes from 0 to 1.
See Also
Name | Description |
---|---|
kink~ | Distort a sawtooth waveform |
phasor~ | Generate sawtooth signals |
line~ | Linear ramp generator |
cycle~ | A periodic waveform oscillator. |