max v2; #N vpatcher 214 79 812 563; #P newex 103 380 52 196617 print rest; #P newex 62 380 30 196617 print; #P comment 56 93 316 196617 left inlet: a vasp to define the buffername and the maximum lenght; #P comment 56 140 344 196617 right outlet: a vasp with remaining length (if there is one) of the input vasp; #P message 62 176 81 196617 vasp buffpart11; #P comment 159 382 271 196617 so there are just 4 vasps and no rest.... watch maxwindow; #P message 221 314 131 196617 100 200 300 500 100 200; #P newex 62 344 51 196617 vasp.part; #P message 62 289 148 196617 vasp 1100 buffpart1 buffpart2; #P newex 166 239 52 196617 print rest; #P newex 62 238 30 196617 print; #P comment 56 125 214 196617 left outlet: the new vasps one after the other; #P newex 437 444 115 196617 buffer~ buffpart2 2000; #P newex 437 423 115 196617 buffer~ buffpart1 2000; #P newex 62 208 114 196617 vasp.part 100 100 100; #P comment 56 77 260 196617 generates vasps with certain lenghts; #P comment 56 53 89 196622 vasp.part; #P comment 56 109 197 196617 argument/ right inlet: vasps lenghts (list); #P comment 144 177 225 196617 vasp.part generates 3 new vasps and a rest vasp; #P comment 211 290 323 196617 the input vasp defines the maximum lengths of the vasps at the output; #P connect 15 0 5 0; #P connect 5 0 9 0; #P connect 11 0 12 0; #P connect 12 0 18 0; #P fasten 13 0 12 1 226 336 108 336; #P connect 12 1 19 0; #P connect 5 1 10 0; #P pop;