monome / libmonome

makes writing applications for Monomes easy.
ISC License
302 stars 158 forks source link

Legacy adapter for varibright `/level` messages #44

Closed rknLA closed 8 years ago

rknLA commented 8 years ago

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.

MylesBorins commented 8 years ago

Say whaaaaaaat