[PD] To pack or not to be packed that is the question ! (?)

meino.cramer at gmx.de meino.cramer at gmx.de
Wed Mar 3 21:05:30 CET 2010


I removed the [t b f] from the frist slider and connected it
to the hot inlet of [pack] directly.

But no change...the first sliders seems to know "on off" only.

Patch attached....

Keep hacking!
mcc


Derek Holzer <derek at umatic.nl> [10-03-03 20:08]:
> The [pack] object and the [trigger] object should be separate. First 
> create this:
> 
>  [pack 0 0 0 0 0 0 0 0 0 0 0]
> 
> then each number box should look like this:
> 
> [0]
> |
> [t b f]
> 
> where the "f" outlet is connected to the corresponding inlet in [pack], 
> and the "b" outlet is connected to the first, "hot" inlet of [pack].
> 
> [pack] only gives output when the "hot" inlet has input, so the "bang" 
> message sent after the "float" triggers it and gives output no matter 
> which number box you change.
> 
> Read more about "hot" and "cold" in the HTML manual or in the FLOSS 
> Manual for details. Or see attached patch.
> 
> Best!
> Derek
> 
> 
> On 3/3/10 7:43 PM, meino.cramer at gmx.de wrote:
> >
> >Hi,
> >
> >  I made a [pack t b f f f f f f f f f f ]
> >  And connect ten vertical sliders to inlet 2-10 (1-based).
> >
> >  Then I connected the outlet of the [pack] to
> >  a message box with the following contents:
> >
> >  [wave1 sinesum $1 $2 $3 $4 $5 $6 $7 $8 $9 $10]
> >
> >  I added a tabread4-mimic and could display the wave in an array
> >  visually.
> >
> >  So nice so mysterious ( at least for me ;)  )
> >
> >  Slider 1 to slider 8 are working as exspected, moving slider
> >  nine and ten results in nothing but the pure sound of silence
> >  (visually spoken...).
> >
> >  For what I read about [pack] the inlets sequence follows
> >  the arguments or in my case inlet #2 up to #10 are exspecting
> >  float arguments, which are given by the vsliders.
> >
> >  A [BANG] at inlet #2 send a bang into the pack.
> >
> >  But the reason, why slider #9 and slider #10 are on holidays
> >  is not very obvious to me.
> >
> >  The aim of all this should be a wave, which reacts on changes of 
> >each
> >  of the sliders instantly without sending an extra bang.
> >  And I want to have all slider (better: much more than ten) working.
> >  And if there is a way to normalize the result instantly I would
> >  one step nearer to eternity ;))))
> >
> >  I know, that there are obviously far better and total different ways
> >  to accomplish what I want to acchieve, but for the first I only
> >  want to understand, why this beast is only running on eight instead
> >  of ten legs (my be a spider therefore... ;)
> >
> >  Thanks a lot for any help in advance!
> >  Best regards
> >  mcc
> >
> >
> >
> >
> >
> 
> -- 
> ::: derek holzer ::: http://macumbista.net :::
> ---Oblique Strategy # 19:
> "Be dirty"

> #N canvas 249 81 755 492 10;
> #X floatatom 44 142 5 0 0 0 - - -;
> #X floatatom 86 142 5 0 0 0 - - -;
> #X floatatom 44 203 5 0 0 0 - - -;
> #X obj 44 174 +;
> #X text 41 117 "hot";
> #X text 81 117 "cold";
> #X floatatom 144 142 5 0 0 0 - - -;
> #X floatatom 186 142 5 0 0 0 - - -;
> #X floatatom 144 243 5 0 0 0 - - -;
> #X obj 144 214 +;
> #X text 141 117 "hot";
> #X text 181 117 "cold";
> #X obj 186 169 trigger bang float;
> #X obj 45 343 trigger bang float;
> #X text 44 374 can be abbreviated with;
> #X obj 46 405 t b f;
> #X text 332 301 [trigger] can send an arbitrary number of things out:
> ;
> #X obj 335 343 trigger bang float anything bang bang float bang float
> ;
> #X obj 336 405 t b f a b b f b f;
> #X text 335 374 or:;
> #X text 174 452 derek at umatic.nl;
> #X text 330 167 [trigger] outputs according to its creation arguments
> in right to left order. In this case \, when it receives input \, it
> will first send out a "float" (i.e. a floating point number) from its
> right outlet \, then it will send a "bang" out its left outlet.;
> #X text 26 20 The object [trigger] can be used to change the order
> of operations in a patch by sending a message "bang" to the "hot" inlet
> of an object. "Bang" means "do it now!" \, and will cause the object
> to output.;
> #X connect 0 0 3 0;
> #X connect 1 0 3 1;
> #X connect 3 0 2 0;
> #X connect 6 0 9 0;
> #X connect 7 0 12 0;
> #X connect 9 0 8 0;
> #X connect 12 0 9 0;
> #X connect 12 1 9 1;

> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
-------------- next part --------------
#N canvas 617 28 961 863 24;
#N canvas 0 0 450 300 (subpatch) 0;
#X array wave1 4 float 1;
#A 0 -1.87937e-05 0 1.87937e-05 3.75873e-05;
#X coords 0 1 3 -1 200 140 1;
#X restore 47 664 graph;
#X obj 458 835 dac~;
#X obj 458 694 metro 200;
#X msg 80 515 \; wave1 normalize 1;
#X obj 603 572 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 1400 1;
#X obj 600 603 mtof~;
#X obj 600 647 phasor~;
#X obj 601 696 *~ 2051;
#X obj 458 781 tabread4~ wave1;
#X obj 109 3 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07 -228856
-258113 -1 0 0;
#X msg 146 422 \; wave1 sinesum \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9
\$10 \$11;
#X obj 212 -27 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 15000 0;
#X obj 213 252 t b f;
#X obj 296 -24 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 7200 0;
#X obj 298 253 t b f;
#X obj 380 -24 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 11500 0;
#X obj 380 257 t b f;
#X obj 465 -23 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 5700 0;
#X obj 467 254 t b f;
#X obj 551 -22 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 11100 0;
#X obj 553 255 t b f;
#X obj 633 -21 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 11800 0;
#X obj 635 256 t b f;
#X obj 716 -18 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 11600 0;
#X obj 716 261 t b f;
#X obj 801 -17 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 12500 0;
#X obj 803 260 t b f;
#X obj 887 -16 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 11100 0;
#X obj 884 265 t b f;
#X obj 969 -15 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07
-228856 -258113 -1 16200 0;
#X obj 971 268 t b f;
#X obj 263 383 pack 0 0 0 0 0 0 0 0 0 0 0;
#X connect 2 0 8 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 1 0;
#X connect 8 0 1 1;
#X connect 9 0 31 0;
#X connect 11 0 12 0;
#X connect 12 0 31 0;
#X connect 12 1 31 1;
#X connect 13 0 14 0;
#X connect 14 0 31 0;
#X connect 14 1 31 2;
#X connect 15 0 16 0;
#X connect 16 0 31 0;
#X connect 16 1 31 3;
#X connect 17 0 18 0;
#X connect 18 0 31 0;
#X connect 18 1 31 4;
#X connect 19 0 20 0;
#X connect 20 0 31 0;
#X connect 20 1 31 5;
#X connect 21 0 22 0;
#X connect 22 0 31 0;
#X connect 22 1 31 6;
#X connect 23 0 24 0;
#X connect 24 0 31 0;
#X connect 24 1 31 7;
#X connect 25 0 26 0;
#X connect 26 0 31 0;
#X connect 26 1 31 8;
#X connect 27 0 28 0;
#X connect 28 0 31 0;
#X connect 28 1 31 9;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 30 1 31 10;
#X connect 31 0 10 0;


More information about the Pd-list mailing list