[PD] sending TCP data to Pd as a list

Hans-Christoph Steiner hans at eds.org
Fri May 20 01:04:53 CEST 2005


Commas serve as separators for messages.  Check section "2.3.4 message  
boxes" of the Pd manual:

http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s2.3

It discusses the difference between commas and semi-colons as messages  
separators.

.hc

On May 16, 2005, at 1:51 PM, Pall Thayer wrote:

> On second thought, maybe you're looking for something slightly more  
> detailed. You can send something that looks like this "steve george  
> mike;" connect [netreceive] to [unpack s s s] and steve will go to  
> outlet 1, george to outlet 2 and mike to outlet 3. I think the thing  
> with comma's is that PD doesn't recognize them so it just stops  
> reading when it encounters one. Could throw everything off because it  
> wouldn't receive the line terminator (;) either.
>
> Pall
>
> David NG McCallum wrote:
>> Dear list,
>> I'm sure the answer's incredibly simple, but how can I format TCP data
>> going to Pd so that Pd can parse it like a list? At the moment it sees
>> everything as a big string.
>> I've also noticed that commas seem to split the data going in, is  
>> there
>> anything else like this I should know when sending raw TCP to Pd?
>> I'm using python to send all this data, btw...
>> Cheers,
>> David
>
> --  
> _______________________________
> Pall Thayer
> artist/teacher
> http://www.this.is/pallit
> http://pallit.lhi.is/panse
>
> Lorna
> http://www.this.is/lorna
> _______________________________
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  
> http://lists.puredata.info/listinfo/pd-list
>

________________________________________________________________________ 
____

                     There is no way to peace, peace is the way.
										-A.J. Muste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2353 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050519/62f4d992/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050519/62f4d992/attachment.pgp>


More information about the Pd-list mailing list