DaisySP icon indicating copy to clipboard operation
DaisySP copied to clipboard

Shaper oscillators emit DC

Open madskjeldgaard opened this issue 3 years ago • 2 comments

Hello

Something I just noticed when using DaisySP in my SuperCollider plugins is that some of the shaper oscillators (ZOsc, VarShape and varSaw) emit DC and it is necessary to use a dc blocker in between their outputs and the system output at the moment. For ZOsc and VarShape it depends on the "shape" parameter it seems how much dc is in there.

ThankS!

madskjeldgaard avatar Mar 31 '21 17:03 madskjeldgaard

These are the affected oscillators :

  • formant
  • variablesawosc
  • variableshapeosc
  • vosim
  • Zoscillator

madskjeldgaard avatar Mar 31 '21 21:03 madskjeldgaard

I think, that behaves correctly. E.g. take a classic Pulse oscillator with PWM. Only at 50% it's free of DC, at any other pulse width, it has a DC offset. But I never saw an analog implementation removing it by a feedforward of the PW voltage to the oscillator. So, inserting a high pass filter is an requirement.

sdiedrichsen avatar Jun 08 '21 17:06 sdiedrichsen