[PD] Re: metro vs. samm~

Frank Barknecht fbar at footils.org
Sun Feb 18 19:31:07 CET 2007


Hallo,
Eric Lyon hat gesagt: // Eric Lyon wrote:

> Cool patch, Frank. Note though that by converting the click signal
> from samm~ into a bang, you are rounding it to the nearest vector. 

Hm, I actually only used click2bang~ to be able to do measurements
with [timer]. In attached patch I removed that part, so the impulses
are directly recorded to samm.wav. It still is in sync with [metro].

> As I showed in my demo at LAC, I can make metro perform poorly in a
> subpatch with a very large blocksize (say 4096), but samm~ will
> perform the same irrespective of blocksize.

But weren't you showing this only for Max? Pd's [metro] doesn't care
about the blocksize at all.

> It is true that samm~ and friends were originally written for MaxMSP
> to deal with its problematic event-level timing. OTOH as my paper
> points out, Pd's audio thread is more susceptible to interruption
> from GUI events than MaxMSP. 

But aren't samm~ etc. also derived from the audio thread, because they
are signal externals? Then they should be just as shaky or solid as
the clock-derived objects metro, delay etc., shouldn't they?

> In addition to convenience, The benefits of samm~ come from its
> integration into a system of signal-level triggering, particularly
> with the soundfile player called player~ which I think has some nice
> features.

Yes, it's definitely a cool collection, and I'm glad to have it in the
CVS soon. ;)

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
#N canvas 203 1 993 701 10;
#X obj 89 86 samm~ 60 1;
#X obj 544 157 t b b;
#X floatatom 544 201 5 0 0 0 - - -;
#X obj 544 84 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 544 105 metro 1000;
#X obj 544 179 realtime;
#X obj 612 158 t b b;
#X floatatom 612 202 5 0 0 0 - - -;
#X obj 612 180 timer;
#X floatatom 609 28 5 0 0 0 BPM - -;
#X obj 609 49 expr 60000/$f1;
#X msg 89 64 tempo \$1;
#X floatatom 628 76 5 0 0 0 - - -;
#X obj 43 422 writesf~;
#X msg 186 365 open samm.wav;
#X msg 21 26 resume;
#X msg 76 28 pause;
#X obj 505 285 vline~;
#X obj 580 369 writesf~;
#X msg 679 336 open metro.wav;
#X msg 131 364 start;
#X msg 85 360 stop;
#X obj 769 493 soundfiler;
#X obj 85 332 del 2000;
#X msg 626 334 start;
#X msg 580 330 stop;
#X obj 580 302 del 2000;
#X msg 781 466 read samm.wav samm.tab;
#X obj 168 414 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 654 373 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 769 440 read metro.wav metro.tab;
#X obj 175 64 impulse~;
#X obj 85 307 t b b b b;
#X obj 580 277 t b b b b;
#N canvas 0 0 450 300 (subpatch) 0;
#X array samm.tab 88200 float 2;
#X array metro.tab 88200 float 2;
#X coords 0 1 88199 -1 882 140 1;
#X restore 65 528 graph;
#X msg 505 263 -1 \, 0 10;
#X obj 85 274 bng 24 250 50 0 empty empty record_samm 26 7 1 10 -24198
-1 -1;
#X obj 580 247 bng 24 250 50 0 empty empty record_metro 26 7 1 10 -24198
-1 -1;
#X text 770 404 open samm and metro recordings;
#X msg 663 476 \; pd dsp \$1;
#X obj 663 446 tgl 24 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 0 0 13 0;
#X connect 1 0 5 0;
#X connect 1 1 5 1;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 0 6 0;
#X connect 4 0 35 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 6 1 8 1;
#X connect 8 0 7 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 4 1;
#X connect 10 0 12 0;
#X connect 11 0 0 0;
#X connect 14 0 13 0;
#X connect 15 0 0 0;
#X connect 16 0 0 0;
#X connect 17 0 18 0;
#X connect 19 0 18 0;
#X connect 20 0 13 0;
#X connect 21 0 13 0;
#X connect 21 0 28 0;
#X connect 23 0 21 0;
#X connect 24 0 18 0;
#X connect 25 0 18 0;
#X connect 25 0 29 0;
#X connect 26 0 25 0;
#X connect 27 0 22 0;
#X connect 30 0 22 0;
#X connect 31 0 0 0;
#X connect 32 0 23 0;
#X connect 32 1 20 0;
#X connect 32 2 31 0;
#X connect 32 3 14 0;
#X connect 33 0 26 0;
#X connect 33 1 24 0;
#X connect 33 2 4 0;
#X connect 33 3 19 0;
#X connect 35 0 17 0;
#X connect 36 0 32 0;
#X connect 37 0 33 0;
#X connect 40 0 39 0;


More information about the Pd-list mailing list