Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] MAX --UDP--> Lanbox
FromMJ
DateFri, 21 Jan 2005 03:22:57 +0100


here is a patch i use to send dmxdata out with udp

the data is placed in a one-dimensional matrix of 512 places called 'universe' wit setcell message you can set one adress to a certain value or with jit.op you can apply filters to the dmxoutput....

the settings in "global settings" in lcedit are a bit undocumented

it worked fine with me for a long time but today the udpdmx-in doesn't work anymore the udpdmx-out is fine

thing i do is reset the lanbox (choose 'erase landbox') and in global settings only mark in UDP tab "broadcast dmx out" and "DMX-in" everything else is untouched


this seems to work for dmx out but dmx-in doesn't work why ? i dunno . well i did upload the new firmware yesterday......


-mj


max v2; #N vpatcher 11 79 1276 800; #P window setfont "Sans Serif" 9.; #P newex 985 74 68 196617 r bangdmxuit; #P newex 981 110 149 196617 jit.matrix universe 1 char 512; #N comlet speedlim (std 75); #P inlet 949 55 15 0; #P user gswitch2 928 432 39 32 0 0; #P user gswitch2 711 404 39 32 0 0; #P message 171 283 14 196617 1; #P message 486 279 26 196617 257; #N comlet insert een 1D matrix van 512 breed bv jit.matrix 1 hop char 512 1; #P inlet 897 55 15 0; #P user multiSlider 578 509 258 129 0. 255. 256 2921 47 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P comment 541 245 70 196617 layer ID 1-63 \, or 254; #P number 542 280 35 9 1 254 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 420 216 63 196617 speedlim 75; #P comment 489 245 41 196617 start channel; #P newex 420 249 54 196617 t b l b; #P comment 510 45 97 196617 256 DMX values; #P user multiSlider 422 74 258 129 0. 255. 256 2921 47 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 442 306 78 196617 lcudp-pack 254; #P newex 805 266 85 196617 jit.spill @plane 0; #P newex 999 222 194 196617 jit.submatrix @dim 256 1 @offset 256 0; #P newex 801 222 182 196617 jit.submatrix @dim 256 1 @offset 0 0; #P user multiSlider 894 519 258 129 0. 255. 256 2921 47 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 1013 266 85 196617 jit.spill @plane 0; #P newex 251 332 27 196617 + 1; #P newex 95 364 45 196617 gate 2 1; #P comment 229 248 70 196617 layer ID 1-63 \, or 254; #P number 230 283 35 9 1 254 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 108 219 63 196617 speedlim 75; #P comment 283 308 62 196617 broadcast announce; #P comment 177 248 41 196617 start channel; #P newex 108 252 54 196617 t b l b; #P comment 198 48 97 196617 256 DMX values; #P user multiSlider 110 77 258 129 0. 255. 256 2921 47 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 130 389 172 196617 otudp write 255.255.255.255 4777; #P toggle 251 308 15 0; #P newex 95 413 154 196617 otudp write 192.168.1.77 4777; #P newex 130 309 78 196617 lcudp-pack 254; #P comment 785 50 100 196617 input a matrix length 512; #P comment 966 42 100 196617 play with speedlim; #P comment 1135 113 100 196617 here is a matrix i use in most patches; #P comment 1057 75 100 196617 bang it to send it; #P comment 833 493 100 196617 check it; #P comment 364 57 100 196617 do it by hand; #P fasten 19 0 18 0 256 357 100 357; #P lcolor 15; #P connect 18 0 7 0; #P connect 24 0 15 0; #P connect 10 0 15 0; #P connect 15 0 12 0; #P fasten 12 0 6 0 113 291; #P connect 12 1 6 0; #P fasten 6 0 18 1 135 326; #P fasten 25 0 18 1 447 350 135 350; #P connect 18 1 9 0; #P connect 36 0 6 1; #P connect 39 0 15 1; #P connect 12 2 36 0; #P connect 16 0 6 2; #P connect 8 0 19 0; #P lcolor 15; #P connect 20 0 30 0; #P connect 26 0 30 0; #P connect 30 0 28 0; #P connect 28 1 25 0; #P fasten 28 0 25 0 425 288; #P connect 35 0 25 1; #P connect 39 0 30 1; #P connect 28 2 35 0; #P connect 31 0 25 2; #P connect 37 1 33 0; #P connect 24 0 37 1; #P connect 40 0 22 0; #P connect 34 0 22 0; #P connect 22 0 24 0; #P connect 38 1 21 0; #P connect 20 0 38 1; #P connect 41 0 40 0; #P connect 34 0 23 0; #P connect 40 0 23 0; #P connect 23 0 20 0; #P pop;


By date: Prev | Next | Index By thread: Prev | Next | Index