Hi
quick question regarding receive.
is there anyway to dynamically 'set' the object that receive is receiving?
in max (ya ya I know, im just trying to redo some of my old patches) one could do
:
'message' (name of origin send) | | 'prepend set' | | | 'receive' | | |
to destination
but since receive when instantiated with no argument doesnt have an input message, err.. you know.
is there any other object that can do this as simply, or a work around with messages that I havent thought of?
thanks much!
-dok
ps here is a sample from max where I find its really useful:
max v2; #N vpatcher 652 380 1042 743; #P user ubumenu 54 67 65 1050017801 0 1 1 0; #X setrgb 0 0 0 100 100 100 50 50 50 4 4 4 141 141 141 112 112 112; #X add none; #X add 1_movie; #X add 2_movie; #X add 3_movie; #X add 4_movie; #X prefix_set 0 0 <none> 0; #P window setfont "Sans Serif" 9.; #P newex 81 204 61 196617 gate; #P newex 106 124 21 196617 t 1; #P message 81 124 14 196617 0; #P newex 81 92 35 196617 sel off; #P hidden outlet 81 237 15 0; #P hidden newex 132 124 60 196617 prepend set; #P hidden newex 132 153 59 196617 r; #P comment 133 59 39 196617 source; #P connect 8 1 4 0; #P connect 4 0 5 0; #P fasten 6 0 7 0 111 172 86 172; #P connect 5 0 7 0; #P connect 7 0 3 0; #P connect 4 1 6 0; #P fasten 4 1 2 0 111 116 137 116; #P connect 2 0 1 0; #P connect 1 0 7 1; #P pop;
If you're just sending a string of numbers and nothing more, a cheap way to do it is to use any of the IEM GUI objects. Take a number box or something and use that as your receive object. If you check the help patch for it you should be able to find out how to change the receive symbol. (it might be "set rcv" or "rcv" or something like that)
Cheers, David . . David McCallum . Music wants to be free . http://mentalfloss.ca/sintheta .
doktorp wrote:
Hi
quick question regarding receive.
is there anyway to dynamically 'set' the object that receive is receiving?
in max (ya ya I know, im just trying to redo some of my old patches) one could do
:
'message' (name of origin send) | | 'prepend set' | | | 'receive' | | |
to destination
but since receive when instantiated with no argument doesnt have an input message, err.. you know.
is there any other object that can do this as simply, or a work around with messages that I havent thought of?
thanks much!
-dok
Hallo,
doktorp hat gesagt: // doktorp wrote:
quick question regarding receive.
is there anyway to dynamically 'set' the object that receive is receiving?
Use receive13 from the ext13 external collection available in the pure-data.sf.net-CVS.
This still needs to be added to the pd.org-FAQ, I think.
Frank Barknecht _ ______footils.org__
I read:
is there anyway to dynamically 'set' the object that receive is receiving?
Use receive13 from the ext13 external collection available in the pure-data.sf.net-CVS.
maxlib's dist is probaly safer but:
#N canvas 474 187 253 177 10; #X obj 123 91 r foo; #X floatatom 123 121 5 0 0 0 - - -; #X obj 45 85 pack s f; #X msg 45 59 foo $1; #X floatatom 45 34 5 0 0 0 - - -; #X msg 45 111 ; $1 $2; #X connect 0 0 1 0; #X connect 2 0 5 0; #X connect 3 0 2 0; #X connect 4 0 3 0;
might just explain what you need anyway,
HTH,
x