surge icon indicating copy to clipboard operation
surge copied to clipboard

BLIT oscllators are a bit late

Open Andreya-Autumn opened this issue 11 months ago • 4 comments

Or should that be "a blit late"? :P

Anyway: Old vs  new?

Classic seems to start late by a varying amount somewhere between 40 and 80 samples, wavetable ditto by about 80-160 samples.

S&H Noise is interesting. With Correlation at max or min it behaves exactly like Classic. But with correlation at default it seems like it's accurate! As accurate as the MIDI block processing will let it that is. Maybe there's a clue there somehow?

Andreya-Autumn avatar Mar 13 '24 14:03 Andreya-Autumn

Lemme see if I can replicate this in a regtests as a first step

baconpaul avatar Mar 13 '24 15:03 baconpaul

I stumbled upon this bug as well. To me it looks like instead of starting on a random phase, it instead delays the signal for 0-1 cycle. So the delay varies depending on what note you are playing. On lower notes the delay can be quite substantial

blancoberg avatar Sep 12 '24 15:09 blancoberg

That's a plausible explanation!

mkruselj avatar Sep 12 '24 18:09 mkruselj

Yes that’s exactly what they do and what the test above shows.

the fix to in init start them at start phase - 1 then run them up to zero but when I did that they clicked like crazy at low attacks.

baconpaul avatar Sep 12 '24 21:09 baconpaul