top 1 colors

Author:
License: GPL
Github: rbrt/push/top 1 colors.axo

Inlets

bool32 onBright

bool32 offBright

bool32.risingfalling toggle

int32.positive colorOn

int32.positive onFlash

int32.positive colorOff

int32.positive offFlash

Outlets

int32 color

Declaration
uint8_t map[5] = {0, 1, 7, 13, 19};
Control Rate
if (inlet_toggle)
  outlet_color = map[inlet_colorOn] + (inlet_onBright * 3) + inlet_onFlash;
else
  outlet_color = map[inlet_colorOff] + (inlet_offBright * 3) + inlet_offFlash;

Privacy

© 2024 Zrna Research