On 12/23/10 8:51 AM, Roman Haefeli wrote:
On Thu, 2010-12-23 at 08:10 -0500, Mike Moser-Booth wrote:
[bang~], [edge~], and [threshold~] I've noticed for sure are like this.
I don't know about [vline~] since I use it to avoid having to change the
block size. :-)
I happily repeat myself:
There is no need to adjust the block size when using [vline~].
Yeah, that's what I was trying to say.
As Dietrich already pointed out, for some reason it stops working as
expected when using a blocksize<  64. I don't why this is and I suspect
it to be a bug.
I don't know, either. I initially just suspected it was because [vline~] still starts outputting its vector at 64 sample boundaries. The attached patch seems to indicate it's a little weirder than that.

I don't understand Pd's code enough to say if it's just reiterating or illustrating Mathieu's point.

.mmb
Roman
#N canvas 0 22 1091 542 10;
#X obj 130 354 vline~;
#X obj 269 355 line~;
#N canvas 0 22 450 300 (subpatch) 0;
#X array vline-graph 256 float 0;
#X coords 0 1 255 -1 200 140 1;
#X restore 508 90 graph;
#N canvas 0 22 450 300 (subpatch) 0;
#X array line-graph 256 float 0;
#X coords 0 1 255 -1 200 140 1;
#X restore 508 290 graph;
#X obj 129 455 tabwrite~ vline-graph;
#X obj 269 455 tabwrite~ line-graph;
#X obj 228 205 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom 192 94 5 0 0 0 - - -;
#X floatatom 196 36 5 0 0 0 - - -;
#X obj 194 65 expr pow(2 \, $f1);
#X msg 187 117 set \$1;
#X obj 184 151 block~ 64;
#X obj 130 277 delay 2;
#X text 571 55 2ms at blocksize=64 \, samplerate=44.1k;
#X text 571 68 |;
#X obj 752 338 s vline-graph;
#X obj 758 367 s line-graph;
#X obj 750 279 loadbang;
#X msg 750 305 xticks 0 64 1 \, xlabel -1.1 0 64 128 192 256;
#X msg 130 307 0 \, 1 1;
#X text 182 308 changing the ramp time is weird \, too;
#X text 241 94 set block size;
#X text 249 205 graph;
#X connect 0 0 4 0;
#X connect 1 0 5 0;
#X connect 6 0 4 0;
#X connect 6 0 5 0;
#X connect 6 0 12 0;
#X connect 7 0 10 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 10 0 11 0;
#X connect 12 0 19 0;
#X connect 17 0 18 0;
#X connect 18 0 15 0;
#X connect 18 0 16 0;
#X connect 19 0 0 0;
#X connect 19 0 1 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to