[PD] is there a way to get symbol length?

Matt Barber brbrofsvl at gmail.com
Sun Nov 15 05:40:18 CET 2009


Here's a vanilla approach using the .n sprintf function of
makefilename.  Not completely tested...

Matt


> On Nov 10, 2009, at 3:47 PM, Roman Haefeli wrote:
>
>> On Tue, 2009-11-10 at 15:26 -0500, Ivica Ico Bukvic wrote:
>>> title says it all. Any external capable of doing this (other than
>>> resorting to something like a pyext)?
>>>
>>> Ico
>>
>> [symbol yoursymbol(
>> |
>> |          [loadbang]
>> |          |
>> |          [symbol( <- empty symbol
>> |          |
>> [symbol2list] <- from  zexy
>> |
>> [list length]
>>
>> though, i haven't checked, if this approach still works, when the
>> incoming symbol contains spaces (or other 'special' characters).
>>
>> roman
>
>
> That would make a nice object, like [symbollength].
>
> .hc
>
> ----------------------------------------------------------------------------
>
> "Making boring techno music is really easy with modern tools," he
> says, "but with live coding, boring techno is much harder." - Chris
> McCormick
>
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Pd-list mailing list
> Pd-list at iem.at
> to manage your subscription (including un-subscription) see
> http://lists.puredata.info/listinfo/pd-list
>
>
> End of Pd-list Digest, Vol 56, Issue 46
> ***************************************
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbollength-help.pd
Type: text/x-puredata
Size: 397 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091114/d0b9d18b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbollength.pd
Type: text/x-puredata
Size: 1351 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091114/d0b9d18b/attachment-0001.bin>


More information about the Pd-list mailing list