Hi Dean! Sorry for the delay! .width() has been added to TriOsc. In fact, we've added TriOsc.width(), PulseOsc.width(), SawOsc.width(), and SqrOsc.width(). We've also removed SqrOsc.width( float ), since the pulsewidth is always .5. We've also tuned the oscillator code a bit, please check if it breaks anything. Thanks1 The code is in CVS and will be in 1.2.1.2. Thanks! Best, Ge!
Date: Tue, 29 Jan 2008 21:40:58 -0200 From: Dean McNamee
To: gewang@CS.Princeton.EDU Subject: Fwd: TriOsc.width() Wasn't sure if you saw this, it would be nice to get it applied...
Thanks
---------- Forwarded message ---------- From: Dean McNamee
Date: Sep 26, 2007 2:14 PM Subject: TriOsc.width() To: chuck-dev@lists.cs.princeton.edu From looking at the code, since there was already an unused osc_cget_width I figured this was just missed, or is there any reason why you wouldn't want a width getter?
Didn't test the patch at all but I figure it should work.
Thanks very much for ChucK
participants (1)
-
Ge Wang