VCV Rack 2 crashes - SOLVED

It’s one of these:

void OnePoleLPFilter::setCutoffFreq(double cutoffFreq)
//...
    assert(cutoffFreq > 0.0);
    assert(cutoffFreq <= _maxCutoffFreq);

The question is how the cutoffFreq is going out of range, or the _maxCutoffFreq is getting set badly (it’s derived from sampleRate: sampleRate / 2.0 - 1.0).

Just browsing the code randomly, it looks like this might happen if you have a sample rate < 20khz Default cutoff it sets is double inputHighCut = 10000.0;, so if you’re sample rate is < 20k this will assert initializing the cutoff with this default. But, I haven’t attempted to reproduce that.

So maybe don’t try to use Plateau to do lofi. (that’s really just a weird joke).

2 Likes