This is likely caused by the “smoothing” that Renoise’s volume modulation has. I’ve run into this problem a few times, and I’ve found the gate device can be a decent substitute.
It’s not perfect, there’s still a tiny pop, but it’s a good temporary solution.
Skolskoly, you diabolical… I had a feeling that it might be due to smoothing somewhere in the chain. Your suggestion worked great, but I wasn’t satisfied using a a filter that does the extra work of analyzing audio, so I tried using a Gainer always set to -INFdb , and simply toggling it On/Off… This appears to be instant, and does exactly what I needed.
An other way to smooth out the abrupt changes is to use a formula device with the inertia preset. You can use it on every slider, but it will only delay the transition from one position to the other, so in your example it wouldn’t have worked if you want the slow attack.
I didn’t want to bog down the bug report with the particulars of what I’m trying to accomplish, so I posted the simplest demonstration possible to recreate my problem, but I suppose I need to clarify.
My Use Case:
I’m creating an instrument that simulates the NES sound chip. One of the features is to abruptly (in a single sample) change the Duty Cycle in quick succession to create a “plucky” sound you might remember from old NES games. So in my case, any smoothing ruins the effect. The way I’ve accomplished this is with the following structure:
Each Duty Cycle sample gets its own Effect Chain with a Formula Device and a completely muted Gain Device. The Formula Device takes a “Duty Cycle” input and determines if it’s the correct Duty Cycle sample for the job, then toggles it’s pre-muted Gain Device accordingly.
I then have a Dummy Effect Channel which uses a Key Tracker -> LFO -> Hydra to set all of the Duty Cycle Formula Devices.
Originally, my Formula Devices were setting their own Effect Channel Volume, but this caused the popping problem due to the inherent volume smoothing. Using pre-muted Gain devices solves that and I’m now perfectly happy with the result.
A benefit of this approach is that it leaves me with a single Modulation channel, which I can conveniently use for various envelopes that are unaffected by Duty Cycle.
Glad you’ve solved it and i hope you’ll post it in the Downloads later.
I’m not so shure this technically can be called a bug though, it has always been like this as far as i can remember, big sudden changes to just about any DSP introduces clicks.