This is a (mostly) working proof-of-concept to provide older devices with some LED feedback for the varibright /led/level/** OSC messages.
Right now, it's only implemented for series, but it could be pretty easily added to 40h.
I'm not 100% sure how accurate it is in the bitmapping stage: /grid/led/level/row and /grid/led/level/col seem to do the right thing, but /grid/led/level/map is drawing upside down.
There's also a somewhat arbitrary decision here to use the 50% point as the threshold (i.e. anything "low intensity" stays off, and anything "medium" or "high" intensity turns on). It might make more sense to make this configurable, so it could be set by serialosc, and therefore by a serialosc config on a per-device basis.
This is a (mostly) working proof-of-concept to provide older devices with some LED feedback for the varibright
/led/level/**
OSC messages.Right now, it's only implemented for
series
, but it could be pretty easily added to 40h.I'm not 100% sure how accurate it is in the bitmapping stage:
/grid/led/level/row
and/grid/led/level/col
seem to do the right thing, but/grid/led/level/map
is drawing upside down.There's also a somewhat arbitrary decision here to use the 50% point as the threshold (i.e. anything "low intensity" stays off, and anything "medium" or "high" intensity turns on). It might make more sense to make this configurable, so it could be set by serialosc, and therefore by a serialosc config on a per-device basis.