Forums > MaxMSP

delay problem

June 12, 2007 | 11:57 am

hey there im new to max and am trying to experiment with delaying midi information or essentially making my own delay box..
im sending the midi info from notein into pack and then this into the delay but after this the information doesnt unpack. i cant work out why a bang goes through yet the information doesnt appear to..
sorry this probably sounds very basic its just doing my head in..
thanks in advance

max v2;
#N vpatcher 62 77 1157 690;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#N vpatcher 288 87 888 487;
#P window setfont "Sans Serif" 9.;
#P number 228 158 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 149 146 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 28 180 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P inlet 132 64 15 0;
#P newex 133 112 67 196617 unpack 0 0 0;
#P newex 171 244 43 196617 noteout;
#P newex 139 172 52 196617 makenote;
#P connect 2 0 4 0;
#P connect 3 0 2 0;
#P connect 2 0 0 0;
#P connect 2 1 5 0;
#P connect 2 1 0 1;
#P connect 0 0 1 0;
#P connect 0 1 1 1;
#P connect 2 2 1 2;
#P connect 2 2 6 0;
#P pop 1;
#P newobj 728 564 59 196617 p notes out;
#N vpatcher 16 44 616 444;
#P button 139 64 15 0;
#P outlet 224 317 15 0;
#P inlet 218 64 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 224 249 57 196617 pack 0 0 0;
#P newex 226 198 40 196617 notein;
#P newex 226 129 37 196617 midiin;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P connect 3 0 0 0;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 1 1 2 1;
#P connect 1 2 2 2;
#P pop 1;
#P newobj 746 56 53 196617 p notes in;
#P button 744 122 15 0;
#P button 863 509 15 0;
#P button 780 509 15 0;
#P button 695 509 15 0;
#P newex 919 386 32 196617 * 40;
#P newex 825 387 32 196617 * 30;
#P newex 740 388 32 196617 * 20;
#P newex 654 389 32 196617 * 10;
#P user uslider 654 226 18 128 128 1 0 0;
#P button 606 539 15 0;
#P number 919 417 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 919 229 18 128 128 1 0 0;
#P newex 874 465 55 196617 delay 500;
#P number 825 419 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 825 229 18 128 128 1 0 0;
#P newex 780 465 55 196617 delay 500;
#P number 740 419 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 740 230 18 128 128 1 0 0;
#P newex 695 465 55 196617 delay 500;
#P number 654 420 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 609 465 55 196617 delay 500;
#P connect 0 0 11 0;
#P connect 20 0 0 0;
#P connect 12 0 13 0;
#P connect 13 0 1 0;
#P connect 1 0 0 1;
#P connect 20 0 2 0;
#P connect 2 0 17 0;
#P connect 11 0 22 0;
#P connect 17 0 22 0;
#P connect 18 0 22 0;
#P connect 19 0 22 0;
#P connect 3 0 14 0;
#P connect 14 0 4 0;
#P connect 4 0 2 1;
#P connect 21 0 20 0;
#P connect 20 0 5 0;
#P connect 5 0 18 0;
#P connect 6 0 15 0;
#P connect 15 0 7 0;
#P connect 7 0 5 1;
#P connect 8 0 19 0;
#P connect 20 0 8 0;
#P connect 9 0 16 0;
#P connect 16 0 10 0;
#P connect 10 0 8 1;
#P pop;


June 12, 2007 | 12:13 pm


June 12, 2007 | 12:15 pm

When you open the help for ‘delay’ it says it right there, on the yellow background.

You want to use some other way of delaying, like ‘pipe’, or this:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 169 118 27 196617 t b l;
#P newex 169 182 32 196617 print;
#P newex 169 139 61 196617 delay 2000;
#P newex 169 160 36 196617 zl reg;
#P message 169 100 79 196617 i’m new to max;
#P connect 0 0 4 0;
#P connect 4 0 2 0;
#P connect 4 1 1 1;
#P connect 1 0 3 0;
#P connect 2 0 1 0;
#P window clipboard copycount 5;

But you should really check tutorials and help first…


Viewing 3 posts - 1 through 3 (of 3 total)