(anon cow steps outta shadows)
Hello All,
Can anyone advise on how to replicate the URN object from Max in PD? And while we're at it, COUNTER and DRUNK? The PD-Lib project at Sourceforge haven't got to it yet...I tried with != and == constructs, even tried to do Anti-bis from RTC-Lib out of Rowe's machine musicianship, but I guess my pd skills aren't up to it yet. The main problem was trying to get the equivalent of:
if ($i1!=$i2) then $i1 else out2 bang
to work in PD. Tried expr (this is where I belate dumbness, surely) with no success. There's gotta be an easy way...right?
David
David Casal ¬ d.casal@uea.ac.uk http://ariada.uea.ac.uk/~dcasal
ARTWORLD Project Sainsbury Centre For Visual Arts University of East Anglia
01603-593246 --- 07803-173959
David Casal wrote:
(anon cow steps outta shadows)
Hello All,
Can anyone advise on how to replicate the URN object from Max in PD? And while we're at it, COUNTER and DRUNK?
unfortunately i do not know, what the URN object does.
COUNTER: there are various types of counters in the examples at doc/2.control.examples/06.counter.pd doc/2.control.examples/07.more_counters.pd you can easily design your own counter (even one, that behaves like the max-object)
DRUNK: if you edit your counter, so that the stepsize becomes a random value (with the "random" object) this will behave somehow like drunk.
The PD-Lib project at Sourceforge haven't got to it yet...I tried with != and == constructs, even tried to do Anti-bis from RTC-Lib out of Rowe's machine musicianship, but I guess my pd skills aren't up to it yet. The main problem was trying to get the equivalent of:
if ($i1!=$i2) then $i1 else out2 bang
#N canvas 241 175 450 300 10; #X obj 85 30 inlet; #X obj 197 30 inlet; #X obj 85 103 select 1 0; #X obj 85 54 t f f; #X obj 85 186 outlet; #X obj 160 188 outlet; #X obj 85 158 f; #X obj 85 80 != $2; #X connect 0 0 3 0; #X connect 1 0 7 1; #X connect 2 0 6 0; #X connect 2 1 5 0; #X connect 3 0 7 0; #X connect 3 1 6 1; #X connect 6 0 4 0; #X connect 7 0 2 0;
to work in PD. Tried expr (this is where I belate dumbness, surely) with no success. There's gotta be an easy way...right?
David
David Casal ¬ d.casal@uea.ac.uk http://ariada.uea.ac.uk/~dcasal
ARTWORLD Project Sainsbury Centre For Visual Arts University of East Anglia
01603-593246 --- 07803-173959
hi,
the closest 'urn' alike is probably 'shuffle' object from motex library, but it does not report (and does not stop at) the last possible value -- after reaching the end you get the reshuffle instead (no second outlet). The extra bonus is that you can perform step scaling and range shifting internally through shuffle arguments or inlets.
Krzysztof
David Casal wrote: ...
Can anyone advise on how to replicate the URN object from Max in PD? And
...