Forums > MaxMSP

simple looper

March 30, 2008 | 2:29 am

hi again,

sorry for my noobie bombing but im not coming forth.

i want to buy a patch that loops 5 seconds of live audio input….

evrytime i make a sound it overwrites the existing sound at that place. it always keeps looping.

what i made, doesnt seem to work properly.. does someone has any idea ? that would be great


March 30, 2008 | 4:40 pm

stupid me….

i dont want to buy, i want to build…


March 30, 2008 | 5:30 pm

seems to work for me.
what exactly is not working like you want in this patch?


March 31, 2008 | 5:25 am

On Mar 30, 2008, at 11:40 AM, Dieter_Laser wrote:
>
> i dont want to buy, i want to build…

You’ll need to down load Eric Lyons el.buffet~ object to use the patch.
It’s included in his "LyonPotpourri 2.0" group of objects and can be
found here:

http://www.sarc.qub.ac.uk/~elyon/LyonSoftware/MaxMSP/

Right now this will only work on a Mac.
I don’t believe the windows port of el.buffet includes the overdub
feature yet, I may be wrong…

Cut it up and have fun with it.
Rick Williamson

max v2;
#N vpatcher 3 266 1016 759;
#P origin -17 -81;
#P window setfont "Sans Serif" 9.;
#P newex 738 261 61 196617 delay 1000;
#P button 325 271 15 0;
#N vpatcher -4 289 596 689;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P message 278 183 14 196617 0;
#P newex 278 158 46 196617 select 0;
#P inlet 230 137 15 0;
#P inlet 278 137 15 0;
#P window linecount 1;
#P newex 306 264 46 196617 % 1000;
#P newex 262 283 27 196617 + 1;
#P newex 263 264 43 196617 / 1000;
#P newex 278 235 43 196617 clocker;
#P outlet 262 305 15 0;
#P outlet 306 286 15 0;
#P connect 3 0 4 0;
#P connect 4 0 1 0;
#P connect 2 0 3 0;
#P connect 6 0 8 0;
#P connect 8 0 9 0;
#P connect 7 0 2 0;
#P connect 9 0 2 0;
#P connect 2 0 5 0;
#P connect 5 0 0 0;
#P pop;
#P newobj 619 134 41 196617 p clock;
#P message 738 293 14 196617 1;
#P newex 738 230 48 196617 loadbang;
#P newex 300 70 52 196617 select 32;
#P newex 300 48 40 196617 key;
#P window setfont "Sans Serif" 18.;
#P comment 644 220 84 196626 Record;
#P comment 504 238 84 196626 Overdub;
#P comment 328 239 64 196626 Erase;
#P number 663 157 124 18 0 0 164 3 246 2 42 221 221 221 222 222 222 0 0
0;
#P number 619 157 33 18 0 0 164 3 246 2 42 221 221 221 222 222 222 0 0
0;
#P window setfont "Sans Serif" 9.;
#P newex 110 257 48 196617 loadbang;
#P newex 110 291 27 196617 100;
#P toggle 695 323 15 0;
#P newex 695 360 53 196617 selector~;
#P toggle 193 218 15 0;
#P newex 325 326 120 196617 el.buffet~ myinput 8000;
#P toggle 519 106 15 0;
#P newex 519 158 64 196617 metro 8000;
#P message 325 292 71 196617 erase 0 8000;
#P newex 792 209 27 196617 1;
#P user meter~ 673 404 753 417 50 0 168 0 103 103 103 255 153 0 255 0 0
217 217 0 153 186 0 12 3 3 3 3;
#P message 144 292 37 196617 loop 1;
#P user meter~ 263 404 343 417 50 0 168 0 103 103 103 255 153 0 255 0 0
217 217 0 153 186 0 12 3 3 3 3;
#P message 206 283 51 196617 startloop;
#P newex 193 244 38 196617 sig~ 1;
#P user gain~ 206 346 18 23 158 6 1.071519 7.94321 75.;
#P newex 206 317 82 196617 groove~ myloop;
#P user ezdac~ 206 403 250 436 0;
#P window setfont "Sans Serif" 18.;
#P comment 179 177 64 196626 Loop;
#P window setfont "Sans Serif" 9.;
#P message 470 291 160 196617 overdub myinput 0 0 1. 8000 0 0;
#P newex 470 388 91 196617 s completion-bang;
#P newex 470 360 89 196617 el.buffet~ myloop;
#P newex 639 422 85 196617 record~ myinput;
#P user ezadc~ 738 317 782 350 0;
#P newex 639 380 27 196617 *~;
#P message 639 265 92 196617 0 , 1 7 1 7986 0 7;
#P newex 639 288 32 196617 line~;
#P newex 540 3 91 196617 r completion-bang;
#P newex 540 24 103 196617 loadmess set myloop;
#P user waveform~ 540 46 118 42 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 0;
#W labels 1;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 60 178 173;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P newex 414 24 107 196617 loadmess set myinput;
#P user waveform~ 414 46 118 42 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 0;
#W labels 1;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 60 178 173;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P newex 324 369 106 196617 buffer~ myloop 8000;
#P newex 324 349 110 196617 buffer~ myinput 8000;
#P comment 211 25 199 196617 Space bar starts/stops loop and overdub;
#P connect 34 0 33 0;
#P fasten 34 0 23 0 115 286 149 286;
#P fasten 41 0 30 0 305 210 198 210;
#P connect 30 0 20 0;
#P connect 27 0 21 0;
#P connect 21 0 18 0;
#P fasten 23 0 18 0 149 312 211 312;
#P fasten 20 0 18 0 198 308 211 308;
#P fasten 33 0 19 0 115 338 211 338;
#P connect 18 0 19 0;
#P fasten 19 0 17 0 211 393 211 393;
#P fasten 19 0 17 1 211 398 245 398;
#P fasten 19 0 22 0 211 398 268 398;
#P connect 40 0 41 0;
#P connect 45 0 26 0;
#P connect 26 0 29 0;
#P connect 4 0 3 0;
#P connect 27 0 15 0;
#P fasten 26 0 13 0 330 315 475 315;
#P connect 15 0 13 0;
#P connect 13 0 14 0;
#P fasten 41 0 28 0 305 98 524 98;
#P connect 28 0 27 0;
#P connect 7 0 6 0;
#P connect 6 0 5 0;
#P fasten 27 0 44 0 524 187 607 187 607 128 624 128;
#P connect 44 0 35 0;
#P connect 27 0 9 0;
#P connect 9 0 8 0;
#P connect 8 0 10 0;
#P connect 10 0 12 0;
#P fasten 25 0 12 0 797 418 644 418;
#P fasten 28 0 44 1 524 126 655 126;
#P fasten 31 0 10 1 700 378 661 378;
#P fasten 44 1 36 0 655 154 668 154;
#P fasten 10 0 24 0 644 398 678 398;
#P fasten 43 0 32 0 743 315 700 315;
#P connect 32 0 31 0;
#P connect 42 0 46 0;
#P connect 46 0 43 0;
#P connect 43 0 11 0;
#P connect 11 0 31 1;
#P connect 27 0 25 0;
#P pop;


April 2, 2008 | 10:57 am

hi,

the problem is that my patch doesnt work in this abstraction.

i want to build a patch that records picture and sound together evrytime i make some noise…this should loop all 5 seconds

i do this with jit.matrixset….this works perfect….

but my soundpart isnt working yet…

would be nice/easy to have some jit.matrixset for sound

max v2;
#N vpatcher 182 54 1311 767;
#P origin 68 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 593 416 18 9109513 50;
#P toggle 550 112 15 0;
#P newex 533 164 27 9109513 gate;
#P newex 550 134 44 9109513 metro 2;
#P newex 533 80 42 9109513 r control;
#P user jit.pwindow 545 268 117 102 0 1 0 0 1 0;
#P user jit.fpsgui 534 700 60 9109513 0;
#P message 632 443 77 9109513 getmatrixcount;
#P number 593 443 35 9 1 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 593 467 75 9109513 matrixcount $1;
#P comment 695 527 242 9109513 args:

;
#P newex 714 393 55 9109513 metro 100;
#N counter 50;
#X flags 0 0;
#P newobj 714 444 66 9109513 counter 50;
#P toggle 842 280 15 0;
#P newex 842 416 55 9109513 metro 100;
#N counter 50;
#X flags 0 0;
#P newobj 842 440 66 9109513 counter 50;
#P number 842 472 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 842 496 82 9109513 outputmatrix $1;
#P number 714 472 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 714 496 45 9109513 index $1;
#P toggle 546 443 15 0;
#P message 546 467 42 9109513 thru $1;
#P newex 678 548 30 9109513 print;
#P newex 533 525 155 9109513 jit.matrixset 16 4 char 320 240;
#B color 5;
#P user jit.pwindow 533 583 108 105 0 1 0 0 1 0;
#P newex 533 240 95 9109513 jit.qt.grab 320 240;
#B color 5;
#P message 559 210 28 9109513 open;
#N vpatcher 408 125 638 460;
#P window setfont "Sans Serif" 9.;
#P newex 78 271 44 9109513 s control;
#P toggle 24 25 15 0;
#P newex 78 88 62 9109513 receive~ adc;
#P newex 24 86 51 9109513 send~ adc;
#P newex 78 244 40 9109513 change;
#P newex 78 211 27 9109513 > 2;
#P number 78 187 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 78 162 43 9109513 * 127.99;
#P flonum 78 140 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 78 113 64 9109513 peakamp~ 50;
#P newex 24 59 36 9109513 adc~ 1;
#P connect 9 0 0 0;
#P connect 0 0 7 0;
#P connect 8 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 10 0;
#P pop;
#P newobj 55 117 44 9109513 p control;
#N vpatcher 321 113 963 681;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 533 387 62 9109513 receive~ adc;
#P window linecount 0;
#P message 308 137 14 9109513 1;
#P newex 308 109 45 9109513 loadbang;
#P newex 441 254 42 9109513 r banger;
#P newex 210 68 42 9109513 r control;
#P toggle 461 355 15 0;
#P newex 304 38 92 9109513 buffer~ bildton 5000;
#P newex 115 464 62 9109513 receive~ adc;
#P newex 22 464 76 9109513 receive~ groove;
#P newex 58 521 28 9109513 dac~;
#P newex 227 246 76 9109513 receive~ groove;
#P newex 288 465 65 9109513 send~ groove;
#P message 461 377 38 9109513 loop $1;
#P newex 288 375 25 9109513 sig~;
#P toggle 288 351 15 0;
#P newex 382 317 48 9109513 pipe 5000;
#P toggle 441 285 15 0;
#P newex 441 465 100 9109513 record~ bildton 0 5000;
#P newex 288 437 103 9109513 groove~ bildton 0 5000;
#P newex 63 202 62 9109513 receive~ adc;
#P toggle 146 147 15 0;
#P toggle 210 167 15 0;
#P newex 193 304 27 9109513 *~;
#P newex 210 121 27 9109513 !- 1;
#P number 210 93 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 129 304 27 9109513 *~;
#P fasten 17 0 16 0 27 497 63 497;
#P fasten 18 0 16 0 120 497 63 497;
#P fasten 17 0 16 1 27 497 81 497;
#P fasten 18 0 16 1 120 498 81 498;
#P fasten 6 0 0 0 68 233 134 233;
#P fasten 1 0 5 0 215 115 151 115;
#P connect 5 0 0 1;
#P fasten 15 0 3 0 232 279 198 279;
#P connect 21 0 1 0;
#P connect 1 0 2 0;
#P fasten 24 0 4 0 313 163 215 163;
#P connect 2 0 4 0;
#P connect 4 0 3 1;
#P fasten 10 0 11 0 387 342 293 342;
#P connect 11 0 12 0;
#P fasten 13 0 7 0 466 412 293 412;
#P connect 12 0 7 0;
#P connect 7 0 14 0;
#P connect 23 0 24 0;
#P fasten 9 0 10 0 446 310 387 310;
#P connect 22 0 9 0;
#P fasten 3 0 8 0 198 366 510 366 510 416 446 416;
#P fasten 0 0 8 0 134 404 260 404 260 513 424 513 424 417 446 417;
#P connect 9 0 8 0;
#P fasten 13 0 8 0 466 412 446 412;
#P fasten 25 0 8 0 538 426 446 426;
#P fasten 24 0 20 0 313 189 516 189 516 307 466 307;
#P connect 20 0 13 0;
#P pop;
#P newobj 55 208 41 9109513 p sound;
#P newex 871 344 44 9109513 s banger;
#P newex 593 392 45 9109513 loadbang;
#P connect 26 0 28 0;
#P fasten 4 0 5 0 564 234 538 234;
#P connect 28 0 5 0;
#P connect 5 0 7 0;
#P fasten 9 0 7 0 551 518 538 518;
#P fasten 13 0 7 0 847 518 538 518;
#P fasten 11 0 7 0 719 518 538 518;
#P fasten 21 0 7 0 598 518 538 518;
#P hidden fasten 23 0 7 0 637 504 538 504;
#P connect 7 0 6 0;
#P connect 6 0 24 0;
#P connect 5 0 25 0;
#P connect 10 0 9 0;
#P connect 29 0 27 0;
#P connect 27 0 28 1;
#P connect 0 0 30 0;
#P connect 30 0 22 0;
#P connect 22 0 21 0;
#P connect 7 1 8 0;
#P fasten 17 0 19 0 847 332 719 332;
#P connect 19 0 18 0;
#P connect 18 0 12 0;
#P connect 12 0 11 0;
#P connect 17 0 16 0;
#P connect 16 0 15 0;
#P connect 15 0 14 0;
#P fasten 14 0 13 0 847 491 847 491;
#P fasten 17 0 1 0 847 332 876 332;
#P pop;


April 8, 2008 | 6:23 am

Hi Monique,

The original e-mail that Eric mentions this in is message #109960 in the
forum archives.
This link should take you to the original e-mail:
http://www.cycling74.com/forums/index.php?t=msg&goto=109960&rid=0&S=a01299de29628cf2d4f8984abd9bcb32#msg_109960
I say that just in case just my attachment doesn’t make it thru, you can
down load the object there.

> I have download the buffet~object from Lyon Potpourri, but the object
> don’t understand the overload message.

Instead of "overload" you do mean "overdub" right?

Rick Williamson


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