[PD] specifying time

Mathieu Bouchard matju at artengine.ca
Thu Feb 16 19:23:30 CET 2012


Le 2012-02-15 à 06:57:00, Andy Farnell a écrit :
> On Tue, Feb 14, 2012 at 10:10:54PM -0800, Jonathan Wilkes wrote:
>> 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?
>
> Great suggestion. It makes sense.
> And numerical strings are already parsed for e
> (exponent) and - (minus) aren't they?

e+- are parsed because they are related to the float format itself.

float format doesn't imply milliseconds, far from it.

[osc~] and [lop~] use hertz as their implicit unit. What would [osc~ 0.1s] 
mean, and how would the parser know which one should be which ?

[rpole~]'s units are in radians (that is, rad/s of cutoff per Hz of 
sampling rate).

[mtof]'s units are midi frequencies... and the number has to come from 
outside of the box. The originating messagebox (or whatever else) has no 
idea that it's going towards [mtof].

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Pd-list mailing list