max v2;
#N vpatcher 384 316 830 588;
#P window setfont "Sans Serif" 9.;
#P window linecount 6;
#P comment 324 123 103 196617 If controller currently moved is the same one that listen let through earlier \, allow its values out the gate;
#P inlet 73 90 15 0;
#P outlet 256 163 15 0;
#P inlet 302 67 15 0;
#P outlet 73 139 15 0;
#P number 274 162 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 95 139 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 73 109 27 196617 gate;
#P number 105 91 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 75 60 40 196617 ctlin;
#P message 276 111 14 196617 0;
#P message 256 111 14 196617 1;
#P newex 256 134 27 196617 gate;
#P newex 256 90 32 196617 select;
#P newex 256 64 40 196617 ctlin;
#P window linecount 4;
#P comment 3 60 68 196617 Inlet receives input from listen mode on/off switch;
#P window linecount 2;
#P comment 117 60 92 196617 Current controller number used;
#P comment 102 109 147 196617 If listen mode is on \, let current controller number through;
#P window linecount 3;
#P comment 72 158 161 196617 Outlet is connected to number box \, so that user can save control presets from Main Patcher;
#P window linecount 4;
#P comment 324 58 101 196617 Inlet receives input from same number box that lower left outlet is connected to;
#P window setfont "Sans Serif" 20.;
#P window linecount 1;
#P comment 80 22 279 196628 MIDI CONTROLLER MODULE;
#P window setfont "Sans Serif" 9.;
#P window linecount 3;
#P comment 37 211 362 196617 INFO: Allows user to modify parameters with external MIDI controller. Also includes Listen functionality so that user can easily assign controllers to parameters.;
#P connect 20 0 14 0;
#P connect 14 0 17 0;
#P connect 12 1 14 1;
#P connect 14 0 15 0;
#P connect 12 1 13 0;
#P fasten 7 1 8 0 276 87 261 87;
#P connect 8 0 10 0;
#P connect 10 0 9 0;
#P fasten 11 0 9 0 281 130 261 130;
#P connect 9 0 19 0;
#P fasten 7 0 9 1 261 85 252 85 252 60 318 60 318 132 278 132;
#P connect 9 0 16 0;
#P connect 8 1 11 0;
#P fasten 18 0 8 1 307 87 283 87;
#P pop;
