[PD] Setting properties of number object

MvH cola at looze.net
Sun Jul 18 21:15:35 CEST 2004


> Hallo,
> MvH hat gesagt: // MvH wrote:
>
> > > Use a [set $1( message before the slider when updating from the player
> > > or other objects in your patch.
> >
> > I tried this, and somehow it prevents the slider from updating 'itself'
> > through a feedback loop ( It is getting the data from the player (veejay), and
> > sending out data to veejay to change the position when I drag the
> > slider...).
>
> Hhm, maybe you could post a patch (excerpt) to let us see what exactly
> this is. "set $1" is supposed to just set the slider, without
> the slider outputting the value.
>
> Ciao
> --
>  Frank Barknecht                               _ ______footils.org__

Ok I understand: by using a message to set the new value, the slider does
noet output it's new value, but if I use a number, trigger, or other
slider, it outputs the value itself too. Great, this means I have a
difference between what goes in and what goes out, so in case of outgoing
signal I can block the ingoing signal, giving the slider a bit smoother
feeling ( like scratching an LP)

Here's a bit of a patch, that has current pos on slider 1 and scratches
with slider 2 to give you a bit of an idea what I'm doing.
You'll need the sendVIMS thingy from http://zwizwa.fartit.com/pd/sendVIMS/
together with one of the later veejay's
( this is a very simple 'newbie' patch; i work with pd since yesterday)

#N canvas 530 103 639 525 10;
#X obj 22 120 change;
#X obj 73 120 change;
#X msg 22 164 range \$1 \$2;
#X floatatom 22 100 5 0 0 0 - - -;
#X floatatom 73 100 5 0 0 0 - - -;
#X floatatom -17 100 5 0 0 0 - - -;
#X obj 22 142 pack 0 0;
#X obj -7 187 hsl 250 15 459 476 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 24900 1;
#X msg -221 278 video.set.frame \$1;
#X obj -9 208 hsl 250 15 459 476 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 8700 1;
#X obj -234 92 sendVIMS;
#X obj -234 61 unpack 0 0 0 0 0 0 0 0 0 0 0 0;
#X msg -215 223 disconnect;
#X msg -224 249 connect localhost 3490;
#X text -238 11 'Video Scratcher';
#X connect 0 0 6 0;
#X connect 1 0 6 1;
#X connect 2 0 7 0;
#X connect 2 0 9 0;
#X connect 3 0 0 0;
#X connect 4 0 1 0;
#X connect 5 0 7 0;
#X connect 6 0 2 0;
#X connect 8 0 10 0;
#X connect 9 0 8 0;
#X connect 10 0 11 0;
#X connect 11 3 5 0;
#X connect 11 9 3 0;
#X connect 11 10 4 0;
#X connect 12 0 10 0;
#X connect 13 0 10 0;






>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>





More information about the Pd-list mailing list