VCVRack / Fundamental

https://vcvrack.com/Fundamental
Other
236 stars 76 forks source link

VCO-1 PWM produces clicks/artifacts #114

Open espenstoro opened 4 years ago

espenstoro commented 4 years ago

Plugin version 1.4.0, Rack 1.1.6, Windows 8.1

I have noticed that when I modulate the pulse width of Fundamental VCO-1 that it produces intermittent clicking and popping. This happens even when the modulation is moderate – it’s not getting near the ends where the pulse width goes to zero. It only happens with PWM, never happens on other waveforms, and doesn’t happen if the pulse width in constant. I have used VCV Recorder to verify that it's not my system or output, you can see it on the scope and in a wave editor.

Untitled 765j45 b34n5m

How to repro: Modulate PWM with sine LFO, it's pretty obvious above 50% PWM CV.

The following is over my head, but it's what I've been told after asking around a bit:

It’s my understanding (via google) that is it difficult to get PWM to work with MinBLEP. As you know, it’s very important that the waveform crossing detector fire once and only once for every time the phase crosses the trigger threshold. It sounds like what’s happening is that the detector is firing more than once, adding extra bleps every now and then.

Hope that's helpful in any way.

E

cvpines commented 2 years ago

This forum thread contains a possible fix for the issue: https://community.vcvrack.com/t/clicks-and-pops-from-pwm/15824/4