[chuck-dev] TriOsc.width()

Ge Wang ge at ccrma.Stanford.EDU
Mon Jul 7 22:01:00 EDT 2008

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



>> Date: Tue, 29 Jan 2008 21:40:58 -0200
>> From: Dean McNamee <dean.mcnamee at gmail.com>
>> To: gewang at 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 <dean.mcnamee at gmail.com>
>> Date: Sep 26, 2007 2:14 PM
>> Subject: TriOsc.width()
>> To: chuck-dev at 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

More information about the chuck-dev mailing list