binaryarp()

binaryarp(pattern, line)

Category

Envelope / Control

Description

Arpeggiator-synchronized binary-pattern generator. It uses the same pattern logic as binary(), but runs from the arpeggiator sample position, the same time base as posarp().

Arguments

Typical Values

Use it as an extra envelope or gate inside presets that rely on the Arpeggiator. BPM is taken from Syntropy, so the formula remains portable between host tempos.

Example

attack(30)*release(2000)*(0.25 + 0.75*binaryarp(43690, 1))*saw(X)

Notes

If the Arpeggiator is off, binaryarp() follows the same position as the current voice, so it remains usable in normal played presets.