With ChucK-1.2.0.7, triosc value is -1.0 at phase 0, and reaches 1.0 at phase 0.5. Does this happen for a specific reason, or is this accidental behavior? This appears wrong because the fundamental frequency of a triangle oscillator is a quarter wavelength ahead from a sine oscillator operating at the same frequency and same nominal phase. A similar issue exists with sqrosc, except the phase appears to be the opposite from expected when compared to a sine wave. I haven't looked at how any other oscillators behave yet. -Jukka
Hi Jukka!
With ChucK-1.2.0.7, triosc value is -1.0 at phase 0, and reaches 1.0 at phase 0.5.
Yup, you are right. The TriOsc/PulseOsc/SqrOsc phase don't really follow convention so much. It's been fixed in CVS. The actual release is later today, we hope. Thanks! Best, Ge!
participants (2)
-
Ge Wang
-
Jukka Akkanen