[PD] specifying time

Jonathan Wilkes jancsika at yahoo.com
Wed Feb 15 20:48:29 CET 2012





----- Original Message -----
> From: Miller Puckette <msp at ucsd.edu>
> To: Hans-Christoph Steiner <hans at at.or.at>
> Cc: "pd-list at iem.at" <pd-list at iem.at>
> Sent: Wednesday, February 15, 2012 1:26 PM
> Subject: Re: [PD] specifying time
> 
> A better way might be to give the line~ (etc) objects optional arguments to
> specify units.  I think there aren't many of them (line, line~, vline~, 
> delay,
> metro, delread~, vd~).  I also think that's how Max dealt with it.
> 
> In particular, it would be very useful to be able to specify a delay in
> samples or "blocks".

Could you just convert to ms, or would this require changes to the code in 
order to be sufficiently precise?

-Jonathan

> 
> cheers
> Miller
> 
> On Wed, Feb 15, 2012 at 01:21:25PM -0500, Hans-Christoph Steiner wrote:
>> 
>>  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
>> 
>> 
>> 
>>  _______________________________________________
>>  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
> 



More information about the Pd-list mailing list