n package:tidal

The note or sample number to choose for a synth or sampleset
For specifying a boolean pattern according to a list of offsets (aka inter-onset intervals). For example necklace 12 [4,2] is the same as "t f f f t f t f f f t f". That is, 12 steps per cycle, with true values alternating between every 4 and every 2 steps.
Never apply a transformation, returning the pattern unmodified.
The end point of the current cycle (and starting point of the next cycle)
  • Patterns as numbers
Generates values in [0,1] that follows a normal (bell-curve) distribution. One possible application is to "humanize" drums with a slight random delay: d1 $ s "bd sn bd sn" # nudge (segment 4 (0.01 * normal)) Implemented with the Box-Muller transform. * the max ensures we don't calculate log 0 * the rot in u2 ensures we don't just get the same value as u1 * clamp the Box-Muller generated values in a [-3,3] range
The note or pitch to play a sound or synth with
Nudges events into the future by the specified number of seconds. Negative numbers work up to a point as well (due to internal latency)
See nudgeAll.