Hi everyone, I started to work with maxmsp and there we had the [pfft~] object that creates the overlaping like [block~] and [switch~] do in a subpatch on PD. I am working very well with PD and spectral processing, but then I had a more theretical doubt: What should be really an overlap? There are two possibilities that I figure:
1: Read continuosly a signal and overlaps on while readin. example: Imagine two 8-sample signal vectors on loop with these values: (0 0.125 0.25 0.375 0.5 0.625 0.75 0.875) (1 0.66 0.33 0 1 0.66 0.33 0)
These signal should be read on a subpatch with [block~ 8 2 1]. If it were read continuosly I would have for which element of the overlap: (0 0.125 0.25 0.375 0.5 0.625 0.75 0.875) and (0.5 0.625 0.75 0.875 1 0.66 0.33 0)
2: Read a signal vector and delay it: (0 0.125 0.25 0.375 0.5 0.625 0.75 0.875) and (0 0.125 0.25 0.375 0.5 0.625 0.75 0.875)
It seens that PD's [block~] and [switch~] work on second manner (see patch transcribed below).. But my question is this: To work with windowed signals for use with [fft~] and [rfft~] it wouldn't be better to overlap while reading? So I would have more spectral details because the windowing of the two overlaps would "cut" different informations of the signal...
If Puckette read this message, I have a question: On Max/MSP the overlapig of pfft~ object works like that too? It seens to work on the first way... I am asking to you because I imagine that you had implemented it on Max.
Thanks for the answers... J.H.
PS: on the patch I had used a strange way to do the tests but it was useful to me...
PD patch:
#N canvas 12 0 1268 728 12; #X obj 104 82 bang~; #N canvas 0 0 450 300 graph1 0; #X array sin-triangle 256 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 256 -1 200 140 1; #X restore 423 106 graph; #N canvas 0 0 847 463 sub-block 0; #X obj 111 57 inlet~; #X obj 112 328 outlet~; #X obj 112 294 /~ 2; #X obj 452 138 block~ 64 1 1; #X obj 452 90 r block-size; #X msg 452 114 set $1 2 1; #X obj 212 197 tabsend~ sub-patch; #X text 164 296 normalizing; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X restore 112 457 pd sub-block; #N canvas 0 0 450 300 graph1 0; #X array sub-patch 256 float 1; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 255 -1 200 140 1; #X restore 424 432 graph; #N canvas 0 0 450 300 graph1 0; #X array out 256 float 1; #A 0 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 ; #X coords 0 1 255 -1 200 140 1; #X restore 634 432 graph; #N canvas 0 0 450 300 graph1 0; #X array triangle-sin 256 float 3; #A 0 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 256 -1 200 140 1; #X restore 623 106 graph; #X obj 104 132 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 104 111 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 11 225 tabreceive~ sin-triangle; #X obj 220 225 tabreceive~ triangle-sin; #X obj 10 256 *~; #X obj 256 268 *~; #X obj 48 164 sig~; #X obj 256 170 sig~; #X obj 162 138 - 1; #X obj 163 166 abs; #X obj 705 -22 block~ 64 1 1; #X msg 705 -45 set $1 1 1; #X obj 705 -69 r block-size; #X obj 109 -63 hradio 32 1 0 8 empty empty empty 0 -6 0 7 -262144 -1 -90881 0; #N canvas 0 0 930 322 blocks 0; #X msg 51 66 16; #X msg 11 66 8; #X msg 91 66 32; #X msg 131 66 64; #X msg 171 66 128; #X msg 211 66 256; #X obj 11 112 s block-size; #X msg 251 66 512; #X obj 11 33 sel 0 1 2 3 4 5 6 7; #X msg 291 66 1024; #X obj 11 8 inlet; #X connect 0 0 6 0; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 3 0 6 0; #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 7 0 6 0; #X connect 8 0 1 0; #X connect 8 1 0 0; #X connect 8 2 2 0; #X connect 8 3 3 0; #X connect 8 4 4 0; #X connect 8 5 5 0; #X connect 8 6 7 0; #X connect 8 7 9 0; #X connect 9 0 6 0; #X connect 10 0 8 0; #X restore 109 -23 pd blocks; #N canvas 0 76 1268 728 sin-and-triangle 0; #X obj 317 212 phasor~; #X obj 204 343 cos~; #X obj 33 576 tabwrite~ hanning; #X msg 180 215 0; #N canvas 0 22 450 300 graph1 0; #X array hanning 256 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; #X coords 0 1 255 -1 400 300 1; #X restore 778 50 graph; #X obj 236 166 / 1024; #X obj 236 188 sig~; #X msg 31 234 bang; #X obj 210 131 samplerate~; #X obj 168 88 t b f; #X text 293 183 comment; #X obj 168 30 r block-size; #X msg 231 75 1; #X msg 432 68 ; sin-triangle resize $1 ; triangle-sin resize $1 ; hanning resize $1; #X obj 204 300 +~ 0.5; #X obj 471 295 -~ 1; #X obj 204 400 *~; #X obj 257 401 *~; #X obj 204 438 +~; #X obj 320 265 abs~; #X obj 318 241 -~ 0.5; #X obj 319 290 *~ -1; #X obj 318 315 *~ 4; #X obj 319 339 +~ 1; #X obj 472 265 <~ 0.5; #X obj 320 404 *~; #X obj 354 405 *~; #X obj 321 440 +~; #X obj 43 536 tabwrite~ sin-triangle; #X obj 233 536 tabwrite~ triangle-sin; #X obj 470 322 abs~; #X connect 0 0 14 0; #X connect 0 0 20 0; #X connect 0 0 24 0; #X connect 1 0 16 0; #X connect 1 0 25 0; #X connect 3 0 0 1; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 2 0; #X connect 7 0 3 0; #X connect 7 0 29 0; #X connect 7 0 28 0; #X connect 8 0 5 0; #X connect 9 0 8 0; #X connect 9 0 7 0; #X connect 9 0 12 0; #X connect 9 1 5 1; #X connect 11 0 9 0; #X connect 11 0 13 0; #X connect 14 0 1 0; #X connect 15 0 30 0; #X connect 16 0 18 0; #X connect 17 0 18 1; #X connect 18 0 28 0; #X connect 19 0 21 0; #X connect 20 0 19 0; #X connect 21 0 22 0; #X connect 22 0 23 0; #X connect 23 0 17 0; #X connect 23 0 26 0; #X connect 24 0 15 0; #X connect 24 0 16 1; #X connect 24 0 26 1; #X connect 25 0 27 0; #X connect 26 0 27 1; #X connect 27 0 29 0; #X connect 30 0 17 1; #X connect 30 0 25 1; #X restore 190 -23 pd sin-and-triangle; #N canvas 0 0 450 300 graph1 0; #X array sin-tri-tri-sin 512 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 512 -1 400 140 1; #X restore 524 271 graph; #X obj 422 -26 * 2; #X obj 112 497 tabsend~ out; #X obj 114 181 sel 1; #X msg 422 -2 ; sin-tri-tri-sin resize $1; #X obj 217 401 tabwrite~ sin-tri-tri-sin; #X msg 651 14 ; sub-patch resize $1 ; out resize $1 ;; #X text 22 -57 block size; #X text 118 -80 8; #X text 150 -80 16; #X text 180 -80 32; #X text 212 -80 64; #X text 241 -80 128; #X text 274 -80 256; #X text 305 -80 512; #X text 335 -80 1024; #X text 966 285 same period delayed gives the sum of "out"...; #X text 963 347 if it had a overlaping on input it should give a zeroed signal...; #X text 832 162 interchange waves on block; #X text 419 245 |; #X text 419 255 |; #X text 419 265 |; #X text 419 275 |; #X text 419 285 |; #X text 419 295 |; #X text 419 305 |; #X text 419 315 |; #X text 419 325 |; #X text 419 335 |; #X text 419 345 |; #X text 419 355 |; #X text 419 365 |; #X text 419 375 |; #X text 419 385 |; #X text 419 395 |; #X text 427 328 delay_______; #X connect 0 0 7 0; #X connect 2 0 24 0; #X connect 6 0 12 0; #X connect 6 0 14 0; #X connect 6 0 25 0; #X connect 7 0 6 0; #X connect 8 0 10 0; #X connect 9 0 11 0; #X connect 10 0 2 0; #X connect 10 0 27 0; #X connect 11 0 2 0; #X connect 11 0 27 0; #X connect 12 0 10 1; #X connect 13 0 11 1; #X connect 14 0 15 0; #X connect 15 0 13 0; #X connect 17 0 16 0; #X connect 18 0 17 0; #X connect 18 0 28 0; #X connect 18 0 23 0; #X connect 19 0 20 0; #X connect 23 0 26 0; #X connect 25 0 27 0; #X coords 0 0 1 1 85 60 0;
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://mail.yahoo.com.br/
On Sun, 28 May 2006, José Henrique Padovani wrote:
<clip> > It seens that PD's [block~] and [switch~] work on second manner (see > patch transcribed below)..
block only works in this manner with signals inside the canvas (like the arrays you use). The reading with overlapped signals is done in the inlets/outlets of a patch, so in order to do fft, you have to put the block~ in a subpatch and let the signal enter via an inlet. (The outlet recombines them). You also have to do that because you can not put a dac~ into a patch that has a different blocksize.
Guenter
But my question is this: To work with windowed signals for use with [fft~] and [rfft~] it wouldn't be better to overlap while reading? So I would have more spectral details because the windowing of the two overlaps would "cut" different informations of the signal...
If Puckette read this message, I have a question: On Max/MSP the overlapig of pfft~ object works like that too? It seens to work on the first way... I am asking to you because I imagine that you had implemented it on Max.
Thanks for the answers... J.H.
PS: on the patch I had used a strange way to do the tests but it was useful to me...
PD patch:
#N canvas 12 0 1268 728 12; #X obj 104 82 bang~; #N canvas 0 0 450 300 graph1 0; #X array sin-triangle 256 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 256 -1 200 140 1; #X restore 423 106 graph; #N canvas 0 0 847 463 sub-block 0; #X obj 111 57 inlet~; #X obj 112 328 outlet~; #X obj 112 294 /~ 2; #X obj 452 138 block~ 64 1 1; #X obj 452 90 r block-size; #X msg 452 114 set $1 2 1; #X obj 212 197 tabsend~ sub-patch; #X text 164 296 normalizing; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X restore 112 457 pd sub-block; #N canvas 0 0 450 300 graph1 0; #X array sub-patch 256 float 1; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 255 -1 200 140 1; #X restore 424 432 graph; #N canvas 0 0 450 300 graph1 0; #X array out 256 float 1; #A 0 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 ; #X coords 0 1 255 -1 200 140 1; #X restore 634 432 graph; #N canvas 0 0 450 300 graph1 0; #X array triangle-sin 256 float 3; #A 0 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 256 -1 200 140 1; #X restore 623 106 graph; #X obj 104 132 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 104 111 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 11 225 tabreceive~ sin-triangle; #X obj 220 225 tabreceive~ triangle-sin; #X obj 10 256 *~; #X obj 256 268 *~; #X obj 48 164 sig~; #X obj 256 170 sig~; #X obj 162 138 - 1; #X obj 163 166 abs; #X obj 705 -22 block~ 64 1 1; #X msg 705 -45 set $1 1 1; #X obj 705 -69 r block-size; #X obj 109 -63 hradio 32 1 0 8 empty empty empty 0 -6 0 7 -262144 -1 -90881 0; #N canvas 0 0 930 322 blocks 0; #X msg 51 66 16; #X msg 11 66 8; #X msg 91 66 32; #X msg 131 66 64; #X msg 171 66 128; #X msg 211 66 256; #X obj 11 112 s block-size; #X msg 251 66 512; #X obj 11 33 sel 0 1 2 3 4 5 6 7; #X msg 291 66 1024; #X obj 11 8 inlet; #X connect 0 0 6 0; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 3 0 6 0; #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 7 0 6 0; #X connect 8 0 1 0; #X connect 8 1 0 0; #X connect 8 2 2 0; #X connect 8 3 3 0; #X connect 8 4 4 0; #X connect 8 5 5 0; #X connect 8 6 7 0; #X connect 8 7 9 0; #X connect 9 0 6 0; #X connect 10 0 8 0; #X restore 109 -23 pd blocks; #N canvas 0 76 1268 728 sin-and-triangle 0; #X obj 317 212 phasor~; #X obj 204 343 cos~; #X obj 33 576 tabwrite~ hanning; #X msg 180 215 0; #N canvas 0 22 450 300 graph1 0; #X array hanning 256 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; #X coords 0 1 255 -1 400 300 1; #X restore 778 50 graph; #X obj 236 166 / 1024; #X obj 236 188 sig~; #X msg 31 234 bang; #X obj 210 131 samplerate~; #X obj 168 88 t b f; #X text 293 183 comment; #X obj 168 30 r block-size; #X msg 231 75 1; #X msg 432 68 ; sin-triangle resize $1 ; triangle-sin resize $1 ; hanning resize $1; #X obj 204 300 +~ 0.5; #X obj 471 295 -~ 1; #X obj 204 400 *~; #X obj 257 401 *~; #X obj 204 438 +~; #X obj 320 265 abs~; #X obj 318 241 -~ 0.5; #X obj 319 290 *~ -1; #X obj 318 315 *~ 4; #X obj 319 339 +~ 1; #X obj 472 265 <~ 0.5; #X obj 320 404 *~; #X obj 354 405 *~; #X obj 321 440 +~; #X obj 43 536 tabwrite~ sin-triangle; #X obj 233 536 tabwrite~ triangle-sin; #X obj 470 322 abs~; #X connect 0 0 14 0; #X connect 0 0 20 0; #X connect 0 0 24 0; #X connect 1 0 16 0; #X connect 1 0 25 0; #X connect 3 0 0 1; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 2 0; #X connect 7 0 3 0; #X connect 7 0 29 0; #X connect 7 0 28 0; #X connect 8 0 5 0; #X connect 9 0 8 0; #X connect 9 0 7 0; #X connect 9 0 12 0; #X connect 9 1 5 1; #X connect 11 0 9 0; #X connect 11 0 13 0; #X connect 14 0 1 0; #X connect 15 0 30 0; #X connect 16 0 18 0; #X connect 17 0 18 1; #X connect 18 0 28 0; #X connect 19 0 21 0; #X connect 20 0 19 0; #X connect 21 0 22 0; #X connect 22 0 23 0; #X connect 23 0 17 0; #X connect 23 0 26 0; #X connect 24 0 15 0; #X connect 24 0 16 1; #X connect 24 0 26 1; #X connect 25 0 27 0; #X connect 26 0 27 1; #X connect 27 0 29 0; #X connect 30 0 17 1; #X connect 30 0 25 1; #X restore 190 -23 pd sin-and-triangle; #N canvas 0 0 450 300 graph1 0; #X array sin-tri-tri-sin 512 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 512 -1 400 140 1; #X restore 524 271 graph; #X obj 422 -26 * 2; #X obj 112 497 tabsend~ out; #X obj 114 181 sel 1; #X msg 422 -2 ; sin-tri-tri-sin resize $1; #X obj 217 401 tabwrite~ sin-tri-tri-sin; #X msg 651 14 ; sub-patch resize $1 ; out resize $1 ;; #X text 22 -57 block size; #X text 118 -80 8; #X text 150 -80 16; #X text 180 -80 32; #X text 212 -80 64; #X text 241 -80 128; #X text 274 -80 256; #X text 305 -80 512; #X text 335 -80 1024; #X text 966 285 same period delayed gives the sum of "out"...; #X text 963 347 if it had a overlaping on input it should give a zeroed signal...; #X text 832 162 interchange waves on block; #X text 419 245 |; #X text 419 255 |; #X text 419 265 |; #X text 419 275 |; #X text 419 285 |; #X text 419 295 |; #X text 419 305 |; #X text 419 315 |; #X text 419 325 |; #X text 419 335 |; #X text 419 345 |; #X text 419 355 |; #X text 419 365 |; #X text 419 375 |; #X text 419 385 |; #X text 419 395 |; #X text 427 328 delay_______; #X connect 0 0 7 0; #X connect 2 0 24 0; #X connect 6 0 12 0; #X connect 6 0 14 0; #X connect 6 0 25 0; #X connect 7 0 6 0; #X connect 8 0 10 0; #X connect 9 0 11 0; #X connect 10 0 2 0; #X connect 10 0 27 0; #X connect 11 0 2 0; #X connect 11 0 27 0; #X connect 12 0 10 1; #X connect 13 0 11 1; #X connect 14 0 15 0; #X connect 15 0 13 0; #X connect 17 0 16 0; #X connect 18 0 17 0; #X connect 18 0 28 0; #X connect 18 0 23 0; #X connect 19 0 20 0; #X connect 23 0 26 0; #X connect 25 0 27 0; #X coords 0 0 1 1 85 60 0;
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://mail.yahoo.com.br/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
First, let me thank Miller and Geiger for the answers...
So, on my patch I have set the main patch to the same block that the sub-patch with overlaping.... that one is the [pd sub-block]. There is the overlap... So, if the PD worked on the first way, I would have a doubled signal where the samples of the second half of the block would be multiplied by 2 (i.e. second half of the first overlap would be equal to the first half of the second overlap). But what hapens is that the second half of the first overlap is not equal to the first half of the first overlap... If it was a simple sine-wave with frequency equal to (sample rate)/(block-size) I would have a sine wave with doubled amplitude in in the first way (time-continuos overlaping) or a zeroed signal in first case (what happens in PD). On my patch (which need to be initialized with a block choose for all patches - I forgot the loadbang for default 256...) I would have exact a doubled signal if PD worked on-the-flow (of main patch) for overlapping in sub-patch. It ([block~]'s inlet~) seens to buffer the input of the last N samples of the main patch and making a simple delay of N/2, starting there from the beggining of the block. On this way it is the same result of use a [delwrite~] / [delread~] pair with N/2 samples of delay... Isn't it? Sorry if I am redundant or didn't understand your explanations, I am really trying to understand (I have read the chapter nine of Puckette's book yesterday but didn't got it yet. Probably I'll read it with more care on July holidays).. Well, thanks again, Zé
geiger escreveu:
On Sun, 28 May 2006, José Henrique Padovani wrote:
<clip>
It seens that PD's [block~] and [switch~] work on second manner (see patch transcribed below)..
block only works in this manner with signals inside the canvas (like the arrays you use). The reading with overlapped signals is done in the inlets/outlets of a patch, so in order to do fft, you have to put the block~ in a subpatch and let the signal enter via an inlet. (The outlet recombines them). You also have to do that because you can not put a dac~ into a patch that has a different blocksize.
Guenter
But my question is this: To work with windowed signals for use with [fft~] and [rfft~] it wouldn't be better to overlap while reading? So I would have more spectral details because the windowing of the two overlaps would "cut" different informations of the signal...
If Puckette read this message, I have a question: On Max/MSP the overlapig of pfft~ object works like that too? It seens to work on the first way... I am asking to you because I imagine that you had implemented it on Max.
Thanks for the answers... J.H.
PS: on the patch I had used a strange way to do the tests but it was useful to me...
PD patch:
#N canvas 12 0 1268 728 12; #X obj 104 82 bang~; #N canvas 0 0 450 300 graph1 0; #X array sin-triangle 256 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 256 -1 200 140 1; #X restore 423 106 graph; #N canvas 0 0 847 463 sub-block 0; #X obj 111 57 inlet~; #X obj 112 328 outlet~; #X obj 112 294 /~ 2; #X obj 452 138 block~ 64 1 1; #X obj 452 90 r block-size; #X msg 452 114 set $1 2 1; #X obj 212 197 tabsend~ sub-patch; #X text 164 296 normalizing; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X restore 112 457 pd sub-block; #N canvas 0 0 450 300 graph1 0; #X array sub-patch 256 float 1; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375; #X coords 0 1 255 -1 200 140 1; #X restore 424 432 graph; #N canvas 0 0 450 300 graph1 0; #X array out 256 float 1; #A 0 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 0 -0.00766185 -0.0150226 -0.0220826 -0.0288422 -0.035302 -0.0414629 -0.0473259 -0.0528921 -0.058163 -0.06314 -0.0678248 -0.0722194 -0.0763258 -0.0801461 -0.0836829 -0.0869387 -0.0899163 -0.0926185 -0.0950484 -0.0972093 -0.0991046 -0.100738 -0.102113 -0.103233 -0.104103 -0.104727 -0.105109 -0.105253 -0.105165 -0.104848 -0.104309 -0.103551 -0.10258 -0.101402 -0.100021 -0.0984441 -0.0966757 -0.0947219 -0.0925888 -0.0902823 -0.0878084 -0.0851734 -0.0823835 -0.0794452 -0.0763649 -0.0731492 -0.0698048 -0.0663383 -0.0627565 -0.0590664 -0.0552747 -0.0513887 -0.0474151 -0.0433613 -0.0392343 -0.0350412 -0.0307895 -0.0264862 -0.0221388 -0.0177545 -0.0133406 -0.00890464 -0.00445388 4.27515e-006 0.00446242 0.00891318 0.0133491 0.017763 0.0221473 0.0264947 0.0307979 0.0350496 0.0392426 0.0433696 0.0474234 0.0513968 0.0552829 0.0590744 0.0627645 0.0663462 0.0698126 0.073157 0.0763726 0.0794528 0.0823909 0.0851807 0.0878156 0.0902894 0.0925958 0.0947288 0.0966824 0.0984507 0.100028 0.101408 0.102587 0.103557 0.104315 0.104854 0.105171 0.105259 0.105114 0.104732 0.104108 0.103238 0.102117 0.100742 0.0991088 0.0972134 0.0950523 0.0926222 0.0899198 0.086942 0.0836861 0.0801491 0.0763285 0.0722219 0.0678272 0.0631421 0.0581649 0.0528938 0.0473274 0.0414642 0.0353031 0.028843 0.0220832 0.0150231 0.00766206 ; #X coords 0 1 255 -1 200 140 1; #X restore 634 432 graph; #N canvas 0 0 450 300 graph1 0; #X array triangle-sin 256 float 3; #A 0 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 256 -1 200 140 1; #X restore 623 106 graph; #X obj 104 132 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 104 111 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 11 225 tabreceive~ sin-triangle; #X obj 220 225 tabreceive~ triangle-sin; #X obj 10 256 *~; #X obj 256 268 *~; #X obj 48 164 sig~; #X obj 256 170 sig~; #X obj 162 138 - 1; #X obj 163 166 abs; #X obj 705 -22 block~ 64 1 1; #X msg 705 -45 set $1 1 1; #X obj 705 -69 r block-size; #X obj 109 -63 hradio 32 1 0 8 empty empty empty 0 -6 0 7 -262144 -1 -90881 0; #N canvas 0 0 930 322 blocks 0; #X msg 51 66 16; #X msg 11 66 8; #X msg 91 66 32; #X msg 131 66 64; #X msg 171 66 128; #X msg 211 66 256; #X obj 11 112 s block-size; #X msg 251 66 512; #X obj 11 33 sel 0 1 2 3 4 5 6 7; #X msg 291 66 1024; #X obj 11 8 inlet; #X connect 0 0 6 0; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 3 0 6 0; #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 7 0 6 0; #X connect 8 0 1 0; #X connect 8 1 0 0; #X connect 8 2 2 0; #X connect 8 3 3 0; #X connect 8 4 4 0; #X connect 8 5 5 0; #X connect 8 6 7 0; #X connect 8 7 9 0; #X connect 9 0 6 0; #X connect 10 0 8 0; #X restore 109 -23 pd blocks; #N canvas 0 76 1268 728 sin-and-triangle 0; #X obj 317 212 phasor~; #X obj 204 343 cos~; #X obj 33 576 tabwrite~ hanning; #X msg 180 215 0; #N canvas 0 22 450 300 graph1 0; #X array hanning 256 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; #X coords 0 1 255 -1 400 300 1; #X restore 778 50 graph; #X obj 236 166 / 1024; #X obj 236 188 sig~; #X msg 31 234 bang; #X obj 210 131 samplerate~; #X obj 168 88 t b f; #X text 293 183 comment; #X obj 168 30 r block-size; #X msg 231 75 1; #X msg 432 68 ; sin-triangle resize $1 ; triangle-sin resize $1 ; hanning resize $1; #X obj 204 300 +~ 0.5; #X obj 471 295 -~ 1; #X obj 204 400 *~; #X obj 257 401 *~; #X obj 204 438 +~; #X obj 320 265 abs~; #X obj 318 241 -~ 0.5; #X obj 319 290 *~ -1; #X obj 318 315 *~ 4; #X obj 319 339 +~ 1; #X obj 472 265 <~ 0.5; #X obj 320 404 *~; #X obj 354 405 *~; #X obj 321 440 +~; #X obj 43 536 tabwrite~ sin-triangle; #X obj 233 536 tabwrite~ triangle-sin; #X obj 470 322 abs~; #X connect 0 0 14 0; #X connect 0 0 20 0; #X connect 0 0 24 0; #X connect 1 0 16 0; #X connect 1 0 25 0; #X connect 3 0 0 1; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 2 0; #X connect 7 0 3 0; #X connect 7 0 29 0; #X connect 7 0 28 0; #X connect 8 0 5 0; #X connect 9 0 8 0; #X connect 9 0 7 0; #X connect 9 0 12 0; #X connect 9 1 5 1; #X connect 11 0 9 0; #X connect 11 0 13 0; #X connect 14 0 1 0; #X connect 15 0 30 0; #X connect 16 0 18 0; #X connect 17 0 18 1; #X connect 18 0 28 0; #X connect 19 0 21 0; #X connect 20 0 19 0; #X connect 21 0 22 0; #X connect 22 0 23 0; #X connect 23 0 17 0; #X connect 23 0 26 0; #X connect 24 0 15 0; #X connect 24 0 16 1; #X connect 24 0 26 1; #X connect 25 0 27 0; #X connect 26 0 27 1; #X connect 27 0 29 0; #X connect 30 0 17 1; #X connect 30 0 25 1; #X restore 190 -23 pd sin-and-triangle; #N canvas 0 0 450 300 graph1 0; #X array sin-tri-tri-sin 512 float 3; #A 0 -1 -0.999699 -0.998795 -0.99729 -0.995184 -0.992479 -0.989176 -0.985277 -0.980784 -0.975701 -0.97003 -0.963775 -0.956939 -0.949527 -0.941542 -0.932991 -0.923877 -0.914208 -0.903987 -0.893222 -0.881919 -0.870084 -0.857726 -0.84485 -0.831466 -0.817581 -0.803204 -0.788343 -0.773006 -0.757205 -0.740947 -0.724243 -0.707102 -0.689536 -0.671554 -0.653168 -0.634388 -0.615226 -0.595694 -0.575803 -0.555565 -0.534992 -0.514097 -0.492892 -0.47139 -0.449605 -0.427548 -0.405235 -0.382677 -0.359888 -0.336883 -0.313674 -0.290277 -0.266705 -0.242973 -0.219094 -0.195082 -0.170954 -0.146722 -0.122403 -0.0980089 -0.0735562 -0.0490593 -0.0245328 8.55029e-006 0.0245498 0.0490764 0.0735733 0.0980259 0.12242 0.146739 0.170971 0.195099 0.21911 0.242989 0.266722 0.290294 0.313691 0.336899 0.359904 0.382692 0.40525 0.427564 0.44962 0.471406 0.492907 0.514111 0.535006 0.555579 0.575817 0.595708 0.61524 0.634401 0.653181 0.671567 0.689548 0.707114 0.724255 0.740958 0.757216 0.773017 0.788353 0.803214 0.817591 0.831476 0.84486 0.857735 0.870093 0.881927 0.89323 0.903994 0.914215 0.923884 0.932997 0.941548 0.949532 0.956944 0.963779 0.970034 0.975705 0.980788 0.98528 0.989178 0.992481 0.995186 0.997291 0.998796 0.999699 1 0.984375 0.96875 0.953125 0.9375 0.921875 0.90625 0.890625 0.875 0.859375 0.84375 0.828125 0.8125 0.796875 0.78125 0.765625 0.75 0.734375 0.71875 0.703125 0.6875 0.671875 0.65625 0.640625 0.625 0.609375 0.59375 0.578125 0.5625 0.546875 0.53125 0.515625 0.5 0.484375 0.46875 0.453125 0.4375 0.421875 0.40625 0.390625 0.375 0.359375 0.34375 0.328125 0.3125 0.296875 0.28125 0.265625 0.25 0.234375 0.21875 0.203125 0.1875 0.171875 0.15625 0.140625 0.125 0.109375 0.09375 0.078125 0.0625 0.046875 0.03125 0.015625 0 -0.015625 -0.03125 -0.046875 -0.0625 -0.078125 -0.09375 -0.109375 -0.125 -0.140625 -0.15625 -0.171875 -0.1875 -0.203125 -0.21875 -0.234375 -0.25 -0.265625 -0.28125 -0.296875 -0.3125 -0.328125 -0.34375 -0.359375 -0.375 -0.390625 -0.40625 -0.421875 -0.4375 -0.453125 -0.46875 -0.484375 -0.5 -0.515625 -0.53125 -0.546875 -0.5625 -0.578125 -0.59375 -0.609375 -0.625 -0.640625 -0.65625 -0.671875 -0.6875 -0.703125 -0.71875 -0.734375 -0.75 -0.765625 -0.78125 -0.796875 -0.8125 -0.828125 -0.84375 -0.859375 -0.875 -0.890625 -0.90625 -0.921875 -0.9375 -0.953125 -0.96875 -0.984375 -1 -0.984375 -0.96875 -0.953125 -0.9375 -0.921875 -0.90625 -0.890625 -0.875 -0.859375 -0.84375 -0.828125 -0.8125 -0.796875 -0.78125 -0.765625 -0.75 -0.734375 -0.71875 -0.703125 -0.6875 -0.671875 -0.65625 -0.640625 -0.625 -0.609375 -0.59375 -0.578125 -0.5625 -0.546875 -0.53125 -0.515625 -0.5 -0.484375 -0.46875 -0.453125 -0.4375 -0.421875 -0.40625 -0.390625 -0.375 -0.359375 -0.34375 -0.328125 -0.3125 -0.296875 -0.28125 -0.265625 -0.25 -0.234375 -0.21875 -0.203125 -0.1875 -0.171875 -0.15625 -0.140625 -0.125 -0.109375 -0.09375 -0.078125 -0.0625 -0.046875 -0.03125 -0.015625 0 0.015625 0.03125 0.046875 0.0625 0.078125 0.09375 0.109375 0.125 0.140625 0.15625 0.171875 0.1875 0.203125 0.21875 0.234375 0.25 0.265625 0.28125 0.296875 0.3125 0.328125 0.34375 0.359375 0.375 0.390625 0.40625 0.421875 0.4375 0.453125 0.46875 0.484375 0.5 0.515625 0.53125 0.546875 0.5625 0.578125 0.59375 0.609375 0.625 0.640625 0.65625 0.671875 0.6875 0.703125 0.71875 0.734375 0.75 0.765625 0.78125 0.796875 0.8125 0.828125 0.84375 0.859375 0.875 0.890625 0.90625 0.921875 0.9375 0.953125 0.96875 0.984375 1 0.999699 0.998795 0.99729 0.995185 0.99248 0.989177 0.985278 0.980785 0.975702 0.970031 0.963776 0.95694 0.949528 0.941544 0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870087 0.857729 0.844854 0.83147 0.817585 0.803208 0.788347 0.773011 0.75721 0.740952 0.724248 0.707108 0.689542 0.67156 0.653174 0.634394 0.615233 0.595701 0.57581 0.555572 0.534999 0.514104 0.4929 0.471398 0.449613 0.427556 0.405243 0.382685 0.359896 0.336891 0.313683 0.290286 0.266714 0.242981 0.219102 0.195091 0.170962 0.146731 0.122411 0.0980175 0.0735649 0.0490679 0.0245414 1.20201e-007 -0.0245412 -0.0490677 -0.0735646 -0.0980173 -0.122411 -0.146731 -0.170962 -0.195091 -0.219102 -0.242981 -0.266713 -0.290285 -0.313682 -0.336891 -0.359896 -0.382684 -0.405242 -0.427556 -0.449612 -0.471398 -0.492899 -0.514104 -0.534999 -0.555571 -0.57581 -0.595701 -0.615233 -0.634395 -0.653174 -0.67156 -0.689542 -0.707108 -0.724249 -0.740953 -0.75721 -0.773012 -0.788348 -0.803209 -0.817586 -0.831471 -0.844855 -0.85773 -0.870088 -0.881923 -0.893226 -0.903991 -0.914211 -0.923881 -0.932994 -0.941545 -0.949529 -0.956941 -0.963777 -0.970032 -0.975703 -0.980786 -0.985278 -0.989177 -0.99248 -0.995185 -0.997291 -0.998796 -0.999699; #X coords 0 1 512 -1 400 140 1; #X restore 524 271 graph; #X obj 422 -26 * 2; #X obj 112 497 tabsend~ out; #X obj 114 181 sel 1; #X msg 422 -2 ; sin-tri-tri-sin resize $1; #X obj 217 401 tabwrite~ sin-tri-tri-sin; #X msg 651 14 ; sub-patch resize $1 ; out resize $1 ;; #X text 22 -57 block size; #X text 118 -80 8; #X text 150 -80 16; #X text 180 -80 32; #X text 212 -80 64; #X text 241 -80 128; #X text 274 -80 256; #X text 305 -80 512; #X text 335 -80 1024; #X text 966 285 same period delayed gives the sum of "out"...; #X text 963 347 if it had a overlaping on input it should give a zeroed signal...; #X text 832 162 interchange waves on block; #X text 419 245 |; #X text 419 255 |; #X text 419 265 |; #X text 419 275 |; #X text 419 285 |; #X text 419 295 |; #X text 419 305 |; #X text 419 315 |; #X text 419 325 |; #X text 419 335 |; #X text 419 345 |; #X text 419 355 |; #X text 419 365 |; #X text 419 375 |; #X text 419 385 |; #X text 419 395 |; #X text 427 328 delay_______; #X connect 0 0 7 0; #X connect 2 0 24 0; #X connect 6 0 12 0; #X connect 6 0 14 0; #X connect 6 0 25 0; #X connect 7 0 6 0; #X connect 8 0 10 0; #X connect 9 0 11 0; #X connect 10 0 2 0; #X connect 10 0 27 0; #X connect 11 0 2 0; #X connect 11 0 27 0; #X connect 12 0 10 1; #X connect 13 0 11 1; #X connect 14 0 15 0; #X connect 15 0 13 0; #X connect 17 0 16 0; #X connect 18 0 17 0; #X connect 18 0 28 0; #X connect 18 0 23 0; #X connect 19 0 20 0; #X connect 23 0 26 0; #X connect 25 0 27 0; #X coords 0 0 1 1 85 60 0;
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://mail.yahoo.com.br/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://mail.yahoo.com.br/