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".
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list