[PD] specifying time

Hans-Christoph Steiner hans at at.or.at
Wed Feb 15 19:21:25 CET 2012


Should be easy enough to implement since it would be a symbol, so it would be clearly separated from the currently arg, which is always a float.

.hc

On Feb 15, 2012, at 1:57 AM, Andy Farnell wrote:

> 
> Great suggestion. It makes sense.
> And numerical strings are already parsed for e
> (exponent) and - (minus) aren't they?
> 
> Andy
> 
> On Tue, Feb 14, 2012 at 10:10:54PM -0800, Jonathan Wilkes wrote:
>> [del 4m33s]
>> 
>> [1 3s(
>> |
>> [line]
>> 
>> [metro 1d2h4m3s21ms]
>> 
>> That last one is overkill. :)
>> But sometimes you want to work in something other than ms, and it's a pain to make convenience abstractions.
>> Kinda like [f $0]--[set $1-blah( is a pain
>> 
>> If a class with a float method that has no symbol method receives ([0-9]+[wdhms]+)+ 
>> then couldn't pd just convert it to a millisecond float value?
>> 
>> -Jonathan
>> 
>> 
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers.      - General Smedley Butler





More information about the Pd-list mailing list