> you could easy have hard synced oscillators, but no...
yes, you can, with a little trick. See my abstraction (needs zexy).
Have fun.
Gesendet: Donnerstag, 25. Februar 2016 um 03:22 Uhr
Von: "Alexandre Torres Porres" <por...@gmail.com>
An: "Brian Fay" <ovaltinevor...@gmail.com>
Cc: Pd-List <pd-list@lists.iem.at>
Betreff: Re: [PD] How's Pd limited?
2016-02-24 18:54 GMT-03:00 Brian Fay <ovaltinevor...@gmail.com>:
The issue with blocking is that you don't have fine-grained control of an
audio, process, right?
there are plenty techniques for having patches running with sample accuracy -
problem is that most pd and max objects miss this point, supercollider seems to
be more at it. For example, you can reset the phase of osc~ or phasor~ via
control messages only, if you could trigger it via an impulse oscillator, you
could easy have hard synced oscillators, but no... if you want that, you need
to make a more complicated patch, but there are ways around
it._______________________________________________ Pd-list@lists.iem.at mailing
list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list[http://lists.puredata.info/listinfo/pd-list]
#N canvas 621 389 1000 320 10;
#X obj 80 224 wrap~;
#X obj 79 11 inlet~;
#X obj 201 22 inlet~;
#X obj 80 253 outlet~;
#X text 544 20 two phasors~ in hard sync;
#X obj 348 20 inlet;
#X text 132 9 slave;
#X text 200 2 master;
#X text 545 44 creation arguments: 1) mode;
#X text 545 70 inlets:;
#X text 547 94 1) <signal>: slave frequency;
#X text 547 117 2) <signal>: master frequency;
#X obj 80 197 +~;
#X obj 281 20 inlet~;
#X text 548 139 3) <signal>: phase offset;
#X text 570 204 mode <0 \, 1>: normal (0) or reversing (1);
#X text 548 229 outlets:;
#N canvas 0 50 450 300 normal 0;
#X obj 348 87 switch~;
#X obj 348 34 r \$0-mode;
#X obj 43 49 phasor~;
#X obj 46 158 -~;
#X obj 97 100 samphold~;
#X obj 188 63 phasor~;
#X obj 97 129 z~ 1;
#X obj 43 23 inlet~;
#X obj 188 38 inlet~;
#X obj 46 218 outlet~;
#X text 43 4 slave;
#X text 187 18 master;
#X text 137 129 hack (delay by 1 sample);
#X obj 348 60 == 0;
#X obj 247 36 r \$0-phase;
#X connect 1 0 13 0;
#X connect 2 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 9 0;
#X connect 4 0 6 0;
#X connect 5 0 4 1;
#X connect 6 0 3 1;
#X connect 7 0 2 0;
#X connect 8 0 5 0;
#X connect 13 0 0 0;
#X connect 14 0 5 1;
#X restore 80 69 pd normal;
#N canvas 492 82 450 300 reversing 0;
#X obj 71 189 outlet~;
#X obj 365 101 switch~;
#X obj 365 54 r \$0-mode;
#X obj 70 110 phasor~;
#X obj 207 75 phasor~;
#X obj 68 51 inlet~;
#X obj 207 50 inlet~;
#X obj 68 82 *~;
#X obj 208 98 >~ 0.5;
#X obj 208 119 -~ 0.5;
#X obj 207 148 *~ 2;
#X text 68 26 slave;
#X text 209 24 master;
#X obj 365 76 != 0;
#X obj 274 47 r \$0-phase;
#X connect 2 0 13 0;
#X connect 3 0 0 0;
#X connect 4 0 8 0;
#X connect 5 0 7 0;
#X connect 6 0 4 0;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 7 1;
#X connect 13 0 1 0;
#X connect 14 0 4 1;
#X restore 101 101 pd reversing;
#X msg 376 76 0;
#X obj 451 114 \$1;
#X obj 349 47 route float bang mode;
#X obj 346 102 s \$0-phase;
#X obj 418 144 s \$0-mode;
#X obj 452 84 loadbang;
#X text 548 162 4) <float>: set phase of master;
#X text 569 183 <bang>: reset phase of master;
#X text 548 252 1) <signal>: output (can be used for reading wavetables
or to drive the phase input of an oscillator);
#X connect 0 0 3 0;
#X connect 1 0 17 0;
#X connect 1 0 18 0;
#X connect 2 0 17 1;
#X connect 2 0 18 1;
#X connect 5 0 21 0;
#X connect 12 0 0 0;
#X connect 13 0 12 1;
#X connect 17 0 12 0;
#X connect 18 0 12 0;
#X connect 19 0 22 0;
#X connect 20 0 23 0;
#X connect 21 0 22 0;
#X connect 21 1 19 0;
#X connect 21 2 23 0;
#X connect 24 0 20 0;
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list