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@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@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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list