Smooth interpolation for DMX
Hi guys! I'm controlling lights with the enttec/dmx usb pro. When I change the color of the fixture directly on the values (R G B dimmer) it's ok. But when I try to interpolate it with the pattrstorage I get a horrible flickering result. Does anyone have a clue on how to smooth this values coming from pattrstorage?
Are you sending the values inbetween the presets? For instance, if you want to interp. between preset 3 and 4 you need to send
3.
3.0001
3.0002
3.0003
...
3.998
3.999
4
If this is what you're doing, then perhaps showing the relevant part of the patch would help a lot.
It could also be that you're transmitting other (noise) signals out of the enttec, which is causing the confusion. Pattern interpolation with dmx is entirely doable with the usb pro. :)
i'd say it's either the update rate is too slow, or too fast (which might cause usb buffer problems)
Thank you @wetterberg, that's good news then. Yes, I've going thru all the floats. @floating point, do you mean refresh or baudrate? And why when I move the values outside the pattr system everything is ok? Here's the patch:
i just had a quick look and i noticed a lot of redundancy (same list being sent many times) when using the swatch, so using zl change might help:
I just noticed the grain of the ej.line is 200 ms using the 2nd argument: [ej.line 0. 200]
should be much less (try the dmx standard of 23 ms)