RNBO Objects & Operators swing~
Open Help

swing~

Subdivide a phasor into two unequal phasors

Description

The swing~ object outputs two phasor signals in the space of one input phasor, with the ability to adjust the "swing" or proportion of the time of the input phasor given to the first of the two output phasors. If the swing is set to 0.5, both the first and second output phasors are equal. But if the swing is set to 0.75, the first phasor lasts for three fourths of the input and the second phasor lasts for one fourth of the time.

Arguments

swing [number]

Optional

Sets the swing proportion between 0.15 and 0.85.

Inlets

input [signal]

input

Outlets

output [signal]

output

stepout [signal]

step number

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [signal]

input

swing [number] (default: 0.5)

Sets the swing proportion between 0.15 and 0.85.

syncupdate [bool] (default: false)

If enabled, changes to the swing proportion will only tke effect when either the input or output resets.

See Also

Name Description
swing~
kink~ Distort a sawtooth waveform or event rate linear ramp values.
edge~ detect logical signal transitions