Glitching with oversampling on effects within instrument

Hello!

I’ve stumbled across a bug which I’ve managed to reproduce reliably on my setup with the attached XRNS file. I suspect it may have something to do with renoise instruments that have multiple internal effects chains with oversampling switched on.

The instrument in this file has two drum samples over two keygroups, one with an effects chain (containing a Digital Filter) and the other without. I get very noticeable sample playback glitches, which also seem to sneak into rendered output. I can see the glitches appearing on phase view during playback.

Curiously the glitching occurs regardless of whether the Digital Filter is bypassed or active. Switching oversampling to OFF resolves the glitching.

Does this happen for anyone else? Could this be an issue with oversampling within instruments that have multiple effects chains on different samples?

Renoise file here :point_down:
glitch.xrns (83.0 KB)

Setup:

  • Renoise 3.4.2
  • Focusrite Scarlett 18i8 (1st Gen) Firmware 608 ASIO driver v.4.65.5
  • 48000 kHz Sample Rate at 512 buffer
  • CPU usage for this file approximately 01.5%

This can all be avoided by not using multiple effects chains within instruments or just switching Oversampling off, but just letting Renoise developers know in the interests of improving my beloved DAW of so many years :slight_smile:

2 Likes

Oversampling introduces 15 Samples of delay.
Also this bug happens if and only if the kick and snare notes are on separate tracks, and if “Send To FX” is set to “None” for both.
Also enabling AntiAliasing in the Interpolation setting improves the playback quality, but does not resolve the issue completely.
Muting the snare before the kick sets in, also helps.
I think I observed the same issue with plugin synths. In my opinion it is a single sound source being redirected between different tracks, causing clicks and pops.
I hope this helps in resolving the bug.

Playing an instrument with FX chains on multiple tracks is generally troublesome. Ideally, we should not allow it, but that’s hard. What happens here is that each note immediately ‘moves’ the audio stream to a different track. This will definitely cause clicks when there are FX on the tracks as the track’s input constantly changes, moves around.

But you can make this work by routing the FX chains to their own tracks as described here: Sampler Effects - Renoise User Manual

Then the FX chains will not follow the notes, but stream into the desired tracks without being interrupted.

Ah cool, thank you @taktik that’s helpful!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.