[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Ugen creation q



Ok, so i understand most of it now.  What i dont get
though is:
phase += ZXP(freq) * freqmul;

so say freq is 600 and freqmul = 600 (freq is a
pointer to the input buffer for freq and freqmul is
the initial argument copied by the:

^this.multiNew('audio', freq, iphase, width).madd(mul,
> add)

right?)

so that would mean phase = phase + 36000?  so if the
freq stayed the same it would come out like (36000,
72000, 108000, etc)?  Unless, theres something im not
grasping like maybe the ZIN's scale the value between
-1 and 1?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com