Forums > Gear

Smooth interpolation for DMX

Sep 16 2013 | 12:45 pm

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?

Sep 16 2013 | 12:54 pm

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. :)

Sep 16 2013 | 3:45 pm

i’d say it’s either the update rate is too slow, or too fast (which might cause usb buffer problems)

Sep 16 2013 | 4:00 pm

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:

  1. lights.maxpat
Sep 16 2013 | 8:47 pm

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:

-- Pasted Max Patch, click to expand. --


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)

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Gear