[PD] Gem Rutt-Etra / pix_data speed?

Derek Holzer macumbista at googlemail.com
Mon Jul 17 12:38:59 CEST 2017


Very interesting!

However, what comes out is still limited by the block size to every 64 
samples as far as I can tell. I've tried every trick I can to send 
sample precise messages in, but all I ever get is 64 sample rate 
messages out.

Or am I missing something? See attached.

D.

On 17/07/2017 11.59, IOhannes m zmoelnig wrote:
> On 2017-07-17 11:52, Derek Holzer via Pd-list wrote:
>> Can anyone see how I could get audio rate data out of [pix_data], or if
>> there might be another way to get luma values with an audio signal?
> 
> i've never had a problem with [pix_data] at audio rate, using something
> like the following:
> 
> [inlet~]
> |
> [tabsend~ $0-x]
> 
> [bang~]
> |
> [64(
> [until]
> |
> [i]
> [+ 1]
> [% 64]
> |
> [tabread $0-x]
> |
> [pix_data]
> 
> there's two "tricks":
> - converting the signals to message domain, using [table]
> - accessing multiple pixels in zero logical time (using [until])
> 
> fgm,asdr
> IOhannes
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 
-------------- next part --------------
#N canvas 0 22 962 610 10;
#X msg 105 150 64;
#X obj 105 170 until;
#X obj 105 193 i;
#X obj 105 213 + 1;
#X obj 105 236 % 64;
#X obj 75 300 pix_data;
#X obj 205 31 inlet~ X;
#X obj 325 31 inlet~ Y;
#X msg 215 150 64;
#X obj 215 170 until;
#X obj 215 193 i;
#X obj 215 213 + 1;
#X obj 215 236 % 64;
#X obj 120 359 outlet~ Z;
#X obj 120 328 vline~;
#X obj 75 89 bang~;
#X obj 75 109 t b b b;
#X obj 90 31 inlet gemlist;
#X text 218 398 with thx to IOhannes Zmoelnig;
#N canvas 0 22 450 278 (subpatch) 0;
#X array \$1-pix-x 64 float 3;
#A 0 0.848341 0.868749 0.889157 0.909565 0.929973 0.950382 0.97079
0.991198 0.0116057 0.0320141 0.0524223 0.0728304 0.0932386 0.113647
0.134055 0.154463 0.174871 0.195279 0.215688 0.236096 0.256504 0.276912
0.29732 0.317728 0.338137 0.358545 0.378953 0.399361 0.419769 0.440177
0.460585 0.480994 0.501402 0.52181 0.542218 0.562626 0.583034 0.603443
0.623851 0.644259 0.664667 0.685075 0.705483 0.725892 0.7463 0.766708
0.787116 0.807524 0.827932 0.848341 0.868749 0.889157 0.909565 0.929973
0.950381 0.970789 0.991198 0.0116057 0.0320139 0.052422 0.0728302 0.0932384
0.113647 0.134055;
#X coords 0 1 64 -1 200 140 1 0 0;
#X restore 333 145 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array \$1-pix-y 64 float 3;
#A 0 0.0616114 0.0622916 0.0629719 0.0636522 0.0643324 0.0650127 0.065693
0.0663733 0.0670535 0.0677338 0.0684141 0.0690943 0.0697746 0.0704549
0.0711352 0.0718154 0.0724957 0.073176 0.0738562 0.0745365 0.0752168
0.0758971 0.0765773 0.0772576 0.0779379 0.0786182 0.0792984 0.0799787
0.080659 0.0813392 0.0820195 0.0826998 0.0833801 0.0840603 0.0847406
0.0854209 0.0861011 0.0867814 0.0874617 0.088142 0.0888222 0.0895025
0.0901828 0.090863 0.0915433 0.0922236 0.0929039 0.0935841 0.0942644
0.0949447 0.095625 0.0963052 0.0969855 0.0976658 0.098346 0.0990263
0.0997066 0.100387 0.101067 0.101747 0.102428 0.103108 0.103788 0.104468
;
#X coords 0 1 64 -1 200 140 1;
#X restore 543 147 graph;
#X obj 205 366 outlet data;
#X obj 205 64 tabsend~ \$1-pix-x;
#X obj 325 64 tabsend~ \$1-pix-y;
#X obj 105 260 tabread \$1-pix-x;
#X obj 215 260 tabread \$1-pix-y;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 24 0;
#X connect 5 2 14 0;
#X connect 5 2 21 0;
#X connect 6 0 22 0;
#X connect 7 0 23 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 25 0;
#X connect 14 0 13 0;
#X connect 15 0 16 0;
#X connect 16 0 5 0;
#X connect 16 1 0 0;
#X connect 16 2 8 0;
#X connect 17 0 5 1;
#X connect 24 0 5 2;
#X connect 25 0 5 3;


More information about the Pd-list mailing list