[chuck] (no subject)
philipd at alumni.princeton.edu
Wed Feb 16 18:11:36 EST 2005
math on durs is supported, but not completely
( some revision to dur handing is needed )
dur * float => dur ; should work.
not sure about float * dur => dur;
I don't believe that division is properly supported.
this code would work
1::second => dur beat;
beat * 0.5 => dur h;
beat * 0.5 => now;
where it stands for now...
On Feb 16, 2005, at 5:43 PM, Michael Heuer wrote:
> Hello ChucKers,
> Is there any way to go from an int or float value of a variable to a
> duration? e.g.
> 1 => int value;
> value::second => dur some_unknown_number_of_seconds;
> What I'm really trying to do is math with durations and numbers,
> 1::second => dur w;
> (w / 2) => dur h;
> Thank you,
> chuck mailing list
> chuck at lists.cs.princeton.edu
More information about the chuck