looping poly object

Apr 24, 2006 at 3:28pm

looping poly object

this object should in theory start a loop player, which allows the audio to pass through initailly, then loop then finished recording, then pass through while rerecording and so on.

but i get some quite wierd results

use this:

#P toggle 897 231 15 0;
#P window setfont “Sans Serif” 9.;
#P number 940 379 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ezdac~ 835 378 879 411 0;
#P window linecount 1;
#P message 649 208 39 196617 open 1;
#P newex 799 100 32 196617 t 1 1;
#P button 824 54 15 0;
#P toggle 775 139 15 0;
#P message 767 175 41 196617 loop $1;
#P newex 831 151 29 196617 sig~;
#P newex 834 189 68 196617 groove~ test;
#P message 951 144 43 196617 replace;
#P newex 951 186 65 196617 buffer~ test;
#P window linecount 5;
#P comment 864 78 59 196617 load a test sound here click bang to play and loop;
#P window linecount 1;
#P newex 855 309 119 196617 poly~ live_loop_poly3 4;
#P connect 3 0 2 0;
#P connect 13 0 0 1;
#P connect 0 2 12 0;
#P connect 0 1 11 1;
#P connect 4 0 0 0;
#P connect 10 0 0 0;
#P connect 0 0 11 0;
#P connect 5 0 4 0;
#P connect 6 0 4 0;
#P connect 9 0 5 0;
#P connect 8 0 10 0;
#P connect 8 0 9 0;
#P connect 9 1 7 0;
#P connect 7 0 6 0;
#P window clipboard copycount 14;

to run this

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 302 180 91 196617 receive ext_name;
#N out 1;
#P newobj 1164 111 33 196617 out 1;
#P newex 296 434 91 196617 receive ext_name;
#P newex 407 314 122 196617 receive waveform_name;
#P newex 956 148 108 196617 send waveform_name;
#P newex 945 119 134 196617 sprintf set set ext_loop%ld;
#P newex 1129 248 77 196617 send ext_name;
#P newex 961 93 97 196617 send internal_name;
#N in~ 1;
#X comment audio in;
#P newobj 135 113 33 196617 in~ 1;
#P newex 965 72 139 196617 sprintf set internal_send%ld;
#P newex 1124 146 117 196617 sprintf set ext_loop%ld;
#P newex 1121 27 48 196617 loadbang;
#N out~ 2;
#X comment right audio;
#P newobj 746 765 39 196617 out~ 2;
#N out~ 1;
#X comment left audio;
#P newobj 695 765 39 196617 out~ 1;
#P newex 1121 60 52 196617 thispoly~;
#N in 2;
#X comment toggle on off loop switch;
#P newobj 465 111 25 196617 in 2;
#P toggle 924 405 15 0;
#P newex 948 423 29 196617 gate;
#P newex 953 382 21 196617 t 1;
#B color 5;
#P message 957 619 54 196617 ramp 100;
#P newex 1015 354 41 196617 sel 0 1;
#B color 5;
#P message 1145 490 61 196617 2 0 0 3 1 0;
#P message 1076 491 61 196617 2 0 1 3 1 1;
#P message 1011 492 61 196617 0 0 0 1 1 0;
#P message 944 493 61 196617 0 0 1 1 1 1;
#P user matrixctrl 1013 526 73 38 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 73 38 16 16 4 2 16 16 1 1 48 2 5120 0;
#P newex 712 687 77 196617 matrix~ 4 2 1.;
#P user meter~ 97 199 110 268 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 161 378 29 196617 stop;
#P flonum 289 368 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 569 347 87 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 567 324 55 196617 clocker 1.;
#B color 5;
#P user waveform~ 432 379 326 71 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 365 314 30 196617 t b b;
#P message 385 345 101 196617 set ext_loop0;
#P flonum 543 465 52 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 490 465 52 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 290 391 41 196617 sig~ 1.;
#P message 240 367 35 196617 loop 1;
#P message 199 384 50 196617 startloop;
#P newex 280 468 74 196617 groove~ bob 2;
#P user number~ 262 267 301 282 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 388 279 41 196617 sel 1 0;
#P toggle 465 145 48 0;
#P newex 262 243 73 196617 record~ bob 2;
#P newex 1165 206 128 196617 buffer~ ext_loop 10000 2;
#P connect 35 0 39 0;
#P connect 35 0 0 0;
#P connect 31 0 40 0;
#P connect 31 0 36 0;
#P connect 31 0 35 0;
#P connect 31 0 44 0;
#P connect 28 0 21 0;
#P connect 28 0 24 0;
#P connect 34 0 21 0;
#P connect 34 0 26 0;
#P connect 34 0 31 0;
#P connect 25 0 27 0;
#P connect 25 0 22 0;
#P connect 25 0 23 0;
#P fasten 2 0 1 0 470 218 267 218;
#P fasten 2 0 3 0 470 236 393 236;
#P fasten 2 0 14 0 470 258 572 258;
#P connect 2 0 25 0;
#P connect 21 0 20 0;
#P connect 23 0 20 0;
#P connect 22 0 20 0;
#P connect 24 0 20 0;
#P connect 25 1 28 1;
#P connect 36 0 38 0;
#P connect 40 0 41 0;
#P connect 29 0 28 0;
#P connect 27 0 29 0;
#P connect 5 1 19 3;
#P connect 5 0 19 2;
#P connect 19 1 33 0;
#P connect 37 0 18 0;
#P connect 37 0 1 0;
#P connect 37 0 1 1;
#P fasten 37 0 19 0 140 638 717 638;
#P fasten 37 0 19 1 140 639 739 639;
#P connect 20 0 19 0;
#P connect 26 0 19 0;
#P connect 19 0 32 0;
#P connect 15 0 13 3;
#P connect 14 0 15 0;
#P connect 13 3 10 0;
#P connect 13 2 9 0;
#P connect 30 0 2 0;
#P connect 11 0 13 0;
#P connect 12 1 11 0;
#P connect 42 0 11 0;
#P fasten 3 1 12 0 408 311 370 311;
#P connect 10 0 5 2;
#P connect 9 0 5 1;
#P connect 16 0 8 0;
#P fasten 7 0 5 0 245 403 285 403;
#P fasten 6 0 5 0 204 401 285 401;
#P connect 8 0 5 0;
#P fasten 17 0 5 0 166 406 285 406;
#P connect 43 0 5 0;
#P connect 1 0 4 0;
#P connect 45 0 1 0;
#P fasten 12 0 7 0 370 354 245 354;
#P fasten 12 0 6 0 370 354 204 354;
#P fasten 3 0 17 0 393 306 166 306;
#P window clipboard copycount 46;

#25622
Apr 25, 2006 at 11:02pm

In what way are your results “weird.” I’m not seeing the problem.

mz

#75620
Apr 26, 2006 at 7:46am

John wrote:
> this object should in theory start a loop player, which allows the
> audio to pass through initailly, then loop then finished recording,
> then pass through while rerecording and so on.

Could you comment your patch and make it fit into a smaller window so
that people who could only afford a small screen could have a glance on
it? (encapsulation does help!)

> but i get some quite wierd results

I can imagine… (but not more, and I love weird results, maybe stick
with them ;-)

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#75621

You must be logged in to reply to this topic.