[PD] mr peach language...xmlsocket
martin.peach at sympatico.ca
martin.peach at sympatico.ca
Tue Dec 12 17:59:09 CET 2006
Notice that [any2string] outputs a zero as the last element of a list of floats. The attached patch shows a way to replace the zero with the more usual carriage-return/line-feed combination.
Martin
>
> De: IOhannes m zmoelnig <zmoelnig at iem.at>
> Date: 2006/12/12 mar. AM 10:28:39 GMT-05:00
> À: Miguel Cardoso <mcardoso at soopa.org>
> Cc: pd-liste <pd-list at iem.at>, martin.peach at sympatico.ca
> Objet: Re: [PD] mr peach language...xmlsocket
>
> Miguel Cardoso wrote:
> > Hello!
> >
> > Im using mrpeach to send messages to flash, but all I can send is files...
> > so comunication is working and just need to understand the language...
> >
> > [ send 21 /test.xml 0 ]
> > I send to socket 21 the content of test.xml
> > 0 end the message (for flash) / the 0 byte flash needs
> >
> > How can I convert into bytes a message composed in pd, instead of
> > loading a file?
>
> with [any2string].
>
> mfgasdr
> IOhannes
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text_to_tcpclient.pd
Type: application/octet-stream
Size: 758 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061212/dea6a417/attachment.obj>
More information about the Pd-list
mailing list