| Subject: | [LCtalk] LanBox with TCP/IP |
| From: | Michel Morin |
| Date: | Mon, 08 Mar 2004 19:45:25 +0100 |
Hello Fokko,
I am trying to built a program with Max for Windows. For some reasons I need
to use my LanBox through the Ethernet port.
The examples you give us don't work on Windows. I try to use the
"OpenSoundControl" object ( or "netsend"), but I don't know what I must
change in your example to work correctly with a Lanbox.
I connect the Lanbox with the IP address : 192.168.1.77 port : 777. It seems
to work, but nothing appears in the DMX outlet.
Would you help me.
Can you send me some technical specifications about your product.
If you can use Max/MSP, my program is below.
Thanks
Michel Morin
max v2;
#N vpatcher 171 101 699 835;
#P window setfont "Sans Serif" 9.;
#P comment 298 345 108 9109513 YOUR SAMPLE PATCH;
#P comment 29 69 81 9109513 MICHEL MORIN;
#P button 159 253 15 0;
#P comment 159 184 37 9109513 201 = Set Ch data;
#P newex 240 276 60 9109513 prepend set;
#P comment 222 318 79 9109513 Channel & Value;
#P message 240 297 37 9109513 4 0;
#P newex 159 276 75 9109513 pack 201 1 1 0;
#P user uslider 246 183 16 44 256 1 0 0;
#P user uslider 231 183 16 44 256 1 0 0;
#P user uslider 216 183 16 44 256 1 0 0;
#P user uslider 201 183 16 44 256 1 0 0;
#P newex 201 249 53 9109513 funnel 4 1;
#N vpatcher 855 250 1234 572;
#P window setfont "Sans Serif" 9.;
#P newex 88 43 62 9109513 speedlim 75;
#N comlet Command List Message;
#P inlet 88 22 15 0;
#N comlet SysEx Data List;
#P outlet 74 283 15 0;
#P newex 148 183 27 9109513 42;
#P button 148 113 15 0;
#P newex 88 76 25 9109513 iter;
#P message 273 193 22 9109513 set;
#P button 4 183 15 0;
#P message 74 249 282 9109513 42 67 57 48 49 48 52 48 48 35;
#P comment 126 24 164 9109513 NOTE: Serial =<*cmd#>;
#P newex 74 136 25 9109513 iter;
#P newex 109 183 29 9109513 + 55;
#P newex 74 183 29 9109513 + 48;
#P newex 74 159 45 9109513 split 0 9;
#P newex 74 113 31 9109513 & 15;
#P newex 109 113 27 9109513 >> 4;
#P newex 74 216 75 9109513 prepend append;
#P message 26 183 20 9109513 35;
#P connect 17 0 10 0;
#P connect 17 0 0 0;
#P connect 12 0 3 0;
#P connect 2 0 7 0;
#P connect 3 0 7 0;
#P connect 7 0 4 0;
#P connect 4 0 5 0;
#P connect 6 0 1 0;
#P connect 5 0 1 0;
#P connect 0 0 1 0;
#P connect 14 0 1 0;
#P connect 1 0 9 0;
#P connect 11 0 9 0;
#P connect 10 0 9 0;
#P connect 9 0 15 0;
#P connect 16 0 17 0;
#P connect 17 0 12 0;
#P connect 12 0 2 0;
#P connect 4 1 6 0;
#P connect 17 0 13 0;
#P connect 13 0 14 0;
#P connect 17 0 11 0;
#P pop;
#P newobj 130 316 48 9109513 p lc+cmd;
#P message 45 458 61 9109513 sendport 777;
#P message 45 481 82 9109513 host 192.168.1.77;
#P button 142 455 15 0;
#P button 165 455 15 0;
#P newex 130 432 80 9109513 opensoundcontrol;
#B color 6;
#P newex 130 400 27 9109513 t b s;
#P newex 130 517 109 9109513 udp-write 127.0.0.1 1234;
#B color 14;
#P comment 252 612 113 9109513 OpenSound Control from E. FLETY - 01/2004;
#P user panel 25 148 392 222;
#X brgb 214 167 167;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P fasten 15 0 9 0 164 297 135 297;
#P connect 9 0 3 0;
#P connect 3 1 4 0;
#P connect 3 0 4 0;
#P connect 4 0 2 0;
#P connect 8 0 2 0;
#P connect 7 0 2 0;
#P connect 4 0 6 0;
#P fasten 10 0 20 0 206 271 193 271 193 243 164 243;
#P connect 20 0 15 0;
#P connect 4 1 5 0;
#P connect 11 0 10 0;
#P connect 10 0 15 2;
#P connect 12 0 10 1;
#P connect 13 0 10 2;
#P fasten 10 0 18 0 206 271 245 271;
#P connect 18 0 16 0;
#P connect 14 0 10 3;
#P pop;
- (- current message -), Michel Morin
|