[PD] messages to messagebox
Bryan Jurish
moocow at ling.uni-potsdam.de
Tue Dec 10 03:10:31 CET 2002
Greetings all,
On 9 December 2002 at 17:10:31, IOhannes zmoelnig wrote:
> kristof lauwers wrote:
> > Hi,
> >
> > I'm trying to control PD from another app over UDP, connecting a
> > netreceive to a messagebox.
> > Now i thought that, if i have a message with
> >
> > ;
> > $1 $2
> >
> > (cfr. patch below)
> >
> > i could send for example "testrecv 10", and a receive named testrecv
> > would receive the number. i found out that for some reason you need to
> > send "foo testrecv 10" in stead..
> > can anyone tell me why? - what's happening to the foo?
[snip]
> furthermore, it might turn out dangerous to allow sends to every
> receive, because anybody can send you something like "pd quit" (which
> might not be what you want)
<plug src="shameless">
if it is however what you want, and if you might have other messages
with varying lengths and/or type-distributions, you can always use
'sprinkler':
</plug>
|testrecv 10(
|
[sprinkler]
[r testrecv]
|
[10\
... marmosets,
Bryan
ps - sprinkler is in cvs, otherwise available from me
at http://www.ling.uni-potsdam.de/~moocow/projects/pd.
More information about the Pd-list
mailing list