[PD] [oscparse] parsing address patterns with integers differently

Chris McCormick chris at mccormick.cx
Wed Oct 29 05:25:53 CET 2014


Hi Miller,

Yeah but try replacing the 'print' with a float box.

Cheers,

Chris.

On October 29, 2014 12:22:47 PM GMT+08:00, Miller Puckette <msp at ucsd.edu> wrote:
>Sorry if this patch gives you nightmares:
>
>[bang(
>|
>[oscformat 0]
>|
>[oscparse]
>|
>[set $1, bang(
>|
>[  (
>|
>[print]
>
>Hit the bang, and the empty message box gets a "0", and the print says,
>"0".
>
>cheers
>Miller
>
>On Sun, Oct 26, 2014 at 10:02:17PM +0800, Chris McCormick wrote:
>> Hi Frank,
>> 
>> On 13/10/14 21:40, Frank Barknecht wrote:
>> >  [bang(
>> >  |
>> >  [oscformat 0]
>> >  |
>> >  [oscparse]
>> >  |
>> >  [print]
>> > 
>> > It will print "symbol 0"!
>> 
>> Seems you can do this with "list tosymbol" and also "makefilename %d"
>-
>> any idea how I can get from one of those symbols back to a proper
>float
>> again? I am sure I should know this by now!
>> 
>> Cheers,
>> 
>> Chris.
>> 
>> -- 
>> http://mccormick.cx/
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>http://lists.puredata.info/listinfo/pd-list

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141029/ff27f65c/attachment.html>


More information about the Pd-list mailing list