Thursday, 3 April 2008

This is the RECEIVE patch.

Copy the text in the Comment below  (I cant just paste it in here for some reason). Open max and then choose File: New from Clipboard
Then save the patch with a good name (like Receive LCC)
This is a really simple patch - but shows how everything will work.


 

1 comment:

Thomas said...

max v2;
#N vpatcher 78 106 661 728;
#P origin -14 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 129 158 78 196617 route midinote;
#P window linecount 5;
#P comment 232 360 100 196617 how much more or less than the incoming midi pitch you want your note to be;
#P window linecount 1;
#P comment 472 409 100 196617 duration;
#P window setfont "Sans Serif" 24.;
#P number 457 426 87 24 0 0 0 3 0 0 0 255 92 174 222 222 222 0 0 0;
#P number 346 427 87 24 0 0 0 3 0 0 0 255 227 23 222 222 222 0 0 0;
#P number 229 423 87 24 0 0 0 3 0 0 0 40 204 140 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P newex 130 459 27 196617 + 4;
#P newex 129 131 59 196617 route input;
#P newex 219 128 95 196617 print receivedmess;
#P newex 129 94 85 196617 udpreceive 7400;
#P comment 221 100 100 196617 argument is port;
#P newex 130 484 40 196617 change;
#P window setfont "Sans Serif" 18.;
#P number 130 428 46 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P newex 136 556 43 196617 noteout;
#P newex 130 516 94 196617 makenote 100 100;
#P comment 362 405 100 196617 velocity;
#P connect 6 0 8 0;
#P connect 8 0 15 0;
#P connect 15 0 3 0;
#P connect 3 0 9 0;
#P connect 9 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 2 0;
#P connect 10 0 9 1;
#P connect 1 1 2 1;
#P connect 11 0 1 1;
#P connect 12 0 1 2;
#P connect 6 0 7 0;
#P pop;