[CM] is this the best way to do this?

Bill Schottstaedt bil@ccrma.Stanford.EDU
Mon, 3 Feb 2003 04:21:55 -0800


> seemed that in the case of an envelope with a base other than one or zero,
> if the original line data resulted in a zero crossing, the scaler and
> offset values contained in the actual env are readjusted to make such a
> thing possible

In the current version, mus-offset and mus-scaler will return the original values.
For the base, use mus-increment.

USER(2): (defvar e (make-env '(0 0 1 1 2 0) :offset .1 :scaler .2 :base .3 :end 10))
E
USER(3): (mus-scaler e)
0.2
USER(4): (mus-offset e)
0.1
USER(5): (mus-increment e)
0.3