On Thu, 2010-12-23 at 08:10 -0500, Mike Moser-Booth wrote: > > On 12/22/10 7:28 PM, Dietrich Pank wrote: > > thank you guys for your answers! > > > > I think I understand the basic theory. > > Experience is something else... e.g. > > line~ and metro doesn't work sample correct even in block~ size 1 > > vline~ doesn't work in block~ sizes <64 > > > > And even thresholds fastest response is 64, less block size doesn't > > increase it's quality. I'm baffled because I understood this object as > > gateway from audio back to event (sample count/analysis to trigger)... > > > I have found this to be the case as well. It seems most (maybe all, not > sure) signal-to-message objects have a minimum hard limit of 64 samples.
Yeah, I don't know of any either. > [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~]. See the attached patch. It's a (aliased) square wave oscillator built with [metro] and [vline~]. See that it works for any blocksize >= 64 samples. 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. Roman
#N canvas 556 260 270 350 10; #X obj 53 244 dac~; #N canvas 908 188 450 300 square~ 0; #X obj 53 103 metro 12; #X obj 53 143 f; #X obj 82 144 ==; #X obj 53 168 - 0.5; #X obj 53 208 vline~; #X obj 53 230 outlet~; #X obj 48 57 loadbang; #X msg 154 56 1000 \$1; #X obj 154 77 /; #X obj 154 32 inlet; #X obj 216 86 inlet; #X obj 216 169 block~; #X msg 216 137 set \$1 1 1; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 1 0 3 0; #X connect 2 0 1 1; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 6 0 0 0; #X connect 7 0 8 0; #X connect 8 0 0 1; #X connect 9 0 7 0; #X connect 10 0 12 0; #X connect 12 0 11 0; #X restore 58 166 pd square~; #X obj 58 202 *~; #X obj 100 189 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 4 21 hsl 128 15 30 1000 1 0 empty empty empty -2 -8 0 10 -262144 -1 -1 8100 1; #X floatatom 22 46 5 0 0 0 - - -; #X msg 121 97 64; #X msg 178 97 1024; #X msg 60 98 16; #X msg 147 98 256; #X msg 91 96 32; #X text 123 189 <- turn on; #X text 75 65 set blocksize; #X text 2 3 change frequency; #X obj 149 233 loadbang; #X msg 149 258 \; pd dsp 1; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 2 0 0 1; #X connect 3 0 2 1; #X connect 4 0 1 0; #X connect 4 0 5 0; #X connect 6 0 1 1; #X connect 7 0 1 1; #X connect 8 0 1 1; #X connect 9 0 1 1; #X connect 10 0 1 1; #X connect 14 0 15 0;
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list