[PD] pd version of tosymbol or similar?

Iain Duncan iainduncanlists at gmail.com
Wed Apr 14 02:37:50 CEST 2021


Ah fantastic, that's exactly what I need. fudi looks like the route, and
the dev link was helpful too. Wasn't sure what list to put it on, but I
actually needed both the patcher and dev answer, so thanks for sending both!

iain



On Tue, Apr 13, 2021 at 5:28 PM Lucas Cordiviola <lucarda27 at hotmail.com>
wrote:

> Oops Iain, I thought this was on the Pd-Dev list :)
>
> you can do:
>
> [(out 0 :foobar)(       // <--  message object
> |
> [fudiformat -u]
> |
> [list tosymbol]
> |
>
>
> --
>
> Mensaje telepatico asistido por maquinas.
>
> On 4/13/2021 8:47 PM, Lucas Cordiviola wrote:
>
> May be this lines gives you lots of clues:
>
>
> https://github.com/pure-data/pure-data/blob/8743db3597c371a9491740ac3cbff0eababdd212/src/x_misc.c#L793
>
>
> PS: I'm on my second Pd external and found the binbuf thing very useful.
>
>
> :)
>
> Mensaje telepatico asistido por maquinas.
>
> On 4/13/2021 7:56 PM, Iain Duncan wrote:
>
> Hi folks, I'm trying to figure out how to have a bunch of text, with
> spacces, get treated as one symbol so that an external can work with it as
> one thing. In Max, I did this by using the tosymbol object, and then
> creating a message that was 'eval-string "(all my text as one string
> here)"'. Is there a Pd idiom for doing something similar that I should
> follow?  Use cases are
>
> a) someone enters code in a message box:  '(out 0 :foobar)'
> b) code is received as a long string over osc or other network, and needs
> to be sent to the external
>
> Apologies at the Pd ignorance, still trying to figure all this out while!
> iain
>
> _______________________________________________Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210413/d7392cb9/attachment.htm>


More information about the Pd-list mailing list