Forums > MaxMSP

Why all the clicks?

January 27, 2008 | 12:44 am

I am trying to make a reversing delay by recording in a loop of two buffers with two record~ and play objects. You will hear when you run this patch that you get clicks every time a bang is sent to start record~ or play~. Could you help me get rid of them?


January 28, 2008 | 3:25 am

I tried it a different way but I still get clicks.


January 28, 2008 | 7:19 am

The attachement wont open. Including as text in de body of an email is a valid option.

_
johan


January 28, 2008 | 8:16 am

This one has the least amount of clicks yet. Is there any other way I can clean it up?

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 279 100 29 196617 sig~;
#P newex 279 148 70 196617 snapshot~ 10;
#P flonum 279 68 109 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 378 143 72 196617 receive~ cunt;
#P newex 152 356 58 196617 send~ cunt;
#P newex 361 173 27 196617 -~;
#P newex 559 251 46 196617 / 1000.;
#P user uslider 559 100 18 128 1000 1 0 0;
#P newex 432 298 27 196617 *~;
#P newex 361 298 27 196617 *~;
#P newex 358 480 73 196617 receive~ dacr;
#P newex 281 481 71 196617 receive~ dacl;
#P newex 284 319 59 196617 send~ dacr;
#P newex 245 267 57 196617 send~ dacl;
#P newex 444 246 59 196617 send~ dacr;
#P newex 372 245 57 196617 send~ dacl;
#P user ezdac~ 310 514 354 547 0;
#P newex 279 122 66 196617 mstosamps~;
#P button 238 296 15 0;
#P newex 274 298 69 196617 index~ two 2;
#P newex 229 246 69 196617 index~ two 1;
#P newex 432 225 67 196617 index~ one 2;
#P newex 361 225 67 196617 index~ one 1;
#P user ezadc~ 214 93 258 126 0;
#P newex 238 320 36 196617 count~;
#P newex 432 384 61 196617 poke~ two 2;
#P newex 361 384 60 196617 poke~ two 1;
#P newex 274 383 60 196617 poke~ one 2;
#P newex 214 383 58 196617 poke~ one 1;
#P newex 360 414 133 196617 buffer~ two 20000 2;
#P newex 215 413 120 196617 buffer~ one 20000 2;
#P connect 23 0 24 0;
#P fasten 6 0 26 0 243 342 157 342;
#P fasten 6 0 10 0 243 342 219 342 219 235 234 235;
#P connect 6 0 2 1;
#P fasten 6 0 11 0 243 342 219 342 219 289 267 289 267 289 279 289;
#P fasten 6 0 3 1 243 353 304 353;
#P fasten 6 0 4 1 243 342 391 342;
#P fasten 6 0 5 1 243 342 462 342;
#P fasten 24 0 21 1 564 286 383 286;
#P fasten 24 0 22 1 564 286 454 286;
#P connect 9 0 22 0;
#P connect 9 0 16 0;
#P connect 22 0 5 0;
#P connect 25 0 8 0;
#P fasten 25 0 9 0 366 214 437 214;
#P connect 27 0 25 1;
#P connect 8 0 21 0;
#P connect 8 0 15 0;
#P connect 21 0 4 0;
#P connect 13 0 29 0;
#P fasten 13 0 25 0 284 142 366 142;
#P connect 20 0 14 1;
#P connect 19 0 14 0;
#P connect 11 0 3 0;
#P connect 11 0 18 0;
#P connect 30 0 13 0;
#P connect 28 0 30 0;
#P connect 7 0 2 0;
#P fasten 7 0 3 0 219 353 279 353;
#P fasten 29 0 6 1 284 215 341 215 341 286 269 286;
#P fasten 10 0 2 0 234 289 219 289;
#P connect 10 0 17 0;
#P connect 12 0 6 0;
#P window clipboard copycount 31;


January 28, 2008 | 10:17 am

The issue is missing envelopes and hence discontinuities in the signal. Adding a trapezoid is going to help. Another issue, which is that every other fed-back version of a tap changes direction (reversing the reversed version) is solved in the patch below.

_
johan

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 389 200 49 196617 !/ 2000.;
#P newex 367 419 27 196617 *~;
#P newex 388 395 94 196617 trapezoid~ 0.1 0.9;
#P number 364 159 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 354 463 31 196617 dac~;
#P newex 329 307 31 196617 +~ 2;
#P newex 344 283 27 196617 *~;
#P newex 389 220 46 196617 phasor~;
#P user hslider 95 248 18 128 128 1 0 0;
#P newex 101 272 40 196617 / 127.;
#P newex 178 334 27 196617 *~;
#P message 198 178 30 196617 open;
#N sfplay~ 1 120960 0 ;
#P newobj 198 208 44 196617 sfplay~;
#P message 264 179 37 196617 loop 1;
#P toggle 237 178 15 0;
#P newex 268 327 62 196617 tapout~ 0 0;
#P newex 264 275 65 196617 tapin~ 5000;
#P connect 13 0 1 0;
#P connect 13 0 10 1;
#P connect 13 0 16 0;
#P connect 9 0 10 0;
#P connect 9 0 14 0;
#P connect 11 0 1 1;
#P connect 1 1 15 0;
#P connect 1 0 6 0;
#P connect 15 0 12 0;
#P connect 15 0 12 1;
#P connect 16 0 9 0;
#P connect 10 0 11 0;
#P connect 14 0 15 1;
#P connect 0 0 1 0;
#P connect 8 0 7 0;
#P connect 7 0 6 1;
#P connect 6 0 0 0;
#P connect 4 0 0 0;
#P connect 2 0 4 0;
#P connect 3 0 4 0;
#P connect 5 0 4 0;
#P window clipboard copycount 17;


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