lifeRow

This module reads an entire row as a 32-bit value, which can be scaled with the min/max knobs between a minimum and maximum value.
Author: Remco van der Most
License: BSD
Github: sss/seq/lifeRow.axo

Inlets

frac32 max

frac32 min

int32 row

Outlets

frac32 out

Parameters

int32 row

frac32.s.map max

frac32.s.map min

Attributes

objref ref

Control Rate
int32_t out =
    (uint32_t)(attr_ref.param[(param_row + inlet_row) & 15] >> 5) + (1 << 26);
int32_t max = __SSAT(param_max + inlet_max, 27);
int32_t min = __SSAT(param_min + inlet_min, 27);

int32_t width = max - min;
outlet_out = ___SMMUL(out, width) + min;

Privacy

© 2024 Zrna Research