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
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:
----------begin_max5_patcher---------- 570.3ocyV9saaBCEF+Z3ovxWyP3+AlcWeNpllbBdItCLHiSWVq569vlPJKIM E1HR4BRj+NNwmue43yIuFF.WUuW1BAeE7HHH30vf.ujSH3v5.XkX+5RQqeaP s7W0qdBF0GxJ2a8xuTBVuUn2HGh7iZssU8hzEEgiSNHWuyVJs1e2H6OTHLp6 A7sCgaD10aU5Me2HWa62AgPiyy3HZdDHKKMlQIozHPp66DfShSN9gUE9ToK8 9BhONOzhJ+wAevnDkCQz6pT5tjw6K76h8oXupS7svP2KQ+e.x.LyFMWEKz7X 5.V5vvArfuJVvoyDKIWDKnkCKMheBP.LiAv.Efz8PApkETiqenYCfBgHwrOl To3YRJ9slTFPgpZQICEewRHR10JgRQ2akPFvpkEKI3KdyhcUrjb+gkMK68nL 17wBK+dCKEU620tpwT+OMn5SGVgxiw3dHw4jAHkkb0txrYBIzEgDYDj7GCrT oOc3tOmc5+M4Zq2YVO3zgAnf2y1BYqUoEVUsdzlbI9nMsUUTH0i+UrRUzTqz 11gYVzikP7D+jJBA4d6jUbOuHXdb1QXNFdEpVwpRoGgIWr1Xp9z0m+S84Iv3 betf4CZB4iOoylN2oD9nQfdRelzsfsIS0KrY3ED5LubpzMvKtFYSyKjYbefS O0KmIcC7h6eANMuflgWXmUiQXYyzK8ssDMMOKMsGxGuM5Zs+TswsLMxuTo6W 5aEBMxmUC6m3UDltVy1t9x6L8cS2ySggty4sv+fkkwN. -----------end_max5_patcher-----------
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)