[PD] DMX

The Tripper tripper at sonofsound.com
Tue Nov 27 20:44:05 CET 2001



Hi

this object works just like a CTLOUT object but 4 DMX at 
full 8 bit resolution using the lanbox.
it is just a simplification of the sysex example by fokko van duin
remember to upload the LC+ firmware v1.05
into the lanbox or the object won't work.

this is not worth doing if you're using normal dmx fixtures
but if you want 2 control dmx lasers or want more presition with
you're pans and tilts, it will double you're pleasure

name this dmxout:

max v2;
#N vpatcher 9 45 447 504;
#P origin 37 -45;
#P inlet 127 37 15 0;
#P inlet 85 37 15 0;
#P button 85 74 15 0;
#P newex 85 97 75 196617 pack 201 1 1 0;
#P newex 85 364 25 196617 iter;
#P newex 85 389 41 196617 midiout;
#P newex 85 129 62 196617 speedlim 25;
#P newex 159 267 135 196617 pack 240 0 32 64 1 80 0 42;
#P button 159 197 15 0;
#P newex 85 163 25 196617 iter;
#P button 17 270 15 0;
#P message 85 333 282 196617 240 0 32 64 1 80 0 42 67 57 48 49 48 49 70 55 35 247;
#P newex 85 220 25 196617 iter;
#P newex 120 267 29 196617 + 55;
#P newex 85 267 29 196617 + 48;
#P newex 85 243 45 196617 split 0 9;
#P newex 85 197 31 196617 & 15;
#P newex 120 197 27 196617 >> 4;
#P newex 85 300 75 196617 prepend append;
#P message 40 268 41 196617 35 247;
#P message 307 271 22 196617 set;
#P connect 14 0 10 0;
#P connect 14 0 1 0;
#P connect 19 0 18 0;
#P connect 18 0 17 0;
#P connect 17 0 14 0;
#P connect 14 0 11 0;
#P connect 11 0 4 0;
#P connect 4 0 8 0;
#P connect 3 0 8 0;
#P connect 8 0 5 0;
#P connect 5 0 6 0;
#P connect 13 0 2 0;
#P connect 1 0 2 0;
#P connect 6 0 2 0;
#P connect 7 0 2 0;
#P connect 10 0 9 0;
#P connect 2 0 9 0;
#P connect 0 0 9 0;
#P connect 9 0 16 0;
#P connect 16 0 15 0;
#P connect 11 0 3 0;
#P connect 5 1 7 0;
#P connect 20 0 17 2;
#P connect 19 0 17 3;
#P connect 14 0 12 0;
#P connect 12 0 13 0;
#P connect 14 0 0 0;
#P pop;

and the tutorial is:

max v2;
#N vpatcher 40 55 446 251;
#P comment 233 96 128 196617 set generic dmx channel;
#P comment 31 96 107 196617 connect you're keys \, faders and/or LFOs here;
#P number 197 75 35 9 0 254 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 140 75 35 9 0 254 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 140 113 67 196617 dmxout;
#P comment 233 74 128 196622 <--dmx channel;
#P comment 32 74 107 196622 dmx value -->;
#P comment 36 30 257 196622 Full 8bit DMX controll;
#P connect 4 0 3 0;
#P connect 5 0 3 1;
#P pop;


Have Fun

The Tripper

http://www.sonofsound.com
http://www.thetripzone.com
http://www.magicwaves.com




More information about the Pd-list mailing list