Forums > MaxMSP

question about "freeze" with PFFT~

July 1, 2006 | 7:55 am

I was wondering if anybody knows how this subpatch works.
It is a subpatch in pfft used to freeze a frame.

I would like to know why the spectral frame size and bin index are added together rather than multiplied by each other. Could anybody explain a little bit ?

Thank you very much.

Chien-Wen

max v2;
#N vpatcher 42 56 1045 608;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 489 263 100 196617 oscillate current spectral frame.;
#P window linecount 1;
#N in 1;
#P newobj 119 86 25 196617 in 1;
#P newex 476 425 49 196617 fftout~ 1;
#P newex 476 383 51 196617 poltocar~;
#P newex 517 350 69 196617 frameaccum~;
#P newex 517 323 79 196617 index~ freeze 2;
#P newex 422 323 79 196617 index~ freeze 1;
#P newex 423 288 27 196617 +~;
#P newex 440 256 42 196617 *~ 512;
#P newex 488 219 43 196617 fftinfo~;
#P newex 440 219 39 196617 sig~ 1.;
#P newex 218 212 85 196617 record~ freeze 2;
#P newex 126 267 110 196617 buffer~ freeze 1000 2;
#P newex 259 176 62 196617 phasewrap~;
#P newex 259 150 63 196617 framedelta~;
#P newex 218 121 51 196617 cartopol~;
#P newex 218 87 93 196617 fftin~ 1;
#P window linecount 3;
#P comment 311 214 100 196617 record spectral frame when a ’1′ is sent into the inlet.;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 602 323 145 9109513 read the recorded frame;
#P connect 2 0 3 0;
#P connect 3 0 7 0;
#P fasten 17 0 7 0 124 189 223 189;
#P fasten 5 0 7 1 264 202 248 202;
#P connect 2 1 3 1;
#P connect 3 1 4 0;
#P connect 4 0 5 0;
#P connect 11 0 12 0;
#P fasten 2 2 11 0 305 139 428 139;
#P connect 8 0 10 0;
#P connect 10 0 11 1;
#P fasten 9 1 10 1 509 244 477 244;
#P fasten 12 0 15 0 427 361 481 361;
#P connect 15 0 16 0;
#P fasten 15 1 16 1 522 412 520 412;
#P fasten 11 0 13 0 428 314 522 314;
#P connect 13 0 14 0;
#P connect 14 0 15 1;
#P pop;


Viewing 1 post (of 1 total)