Made several attempts to fix its oscillating volume with the 'Smoothstep' formula instead of sinewave LFO, as the simple triangle crossfade worked but resulted in clicking.
With my faulty implementation, clicks anyway. Maybe it's the beat.
UPD: Maybe some odd harmonics can be added to the sine LFO to bring it closer to the triangle but keep it smooth. Best I can think of.
Stopped clicking with simple triangle LFO with frequency x2, less annoying tremolo but anyway. Tried to compensate with another tremolo, but it has to be adjusted by oscilloscope :) Also comb filtering, which is the nature of delays.
...Even better with an LFO like a hybrid of triangle and square (trapezoidal), but no good anyway. Has to be redesigned from scratch.
The tremolo on the 'scope is irregular so it's probably due to phase interference.
https://github.com/freealise/bilberry-pi/blob/main/discont.h
I'd turn it into a chorus instead, or tremolo & vibrato with only one varying delay line (done all in the same effect).
Made several attempts to fix its oscillating volume with the 'Smoothstep' formula instead of sinewave LFO, as the simple triangle crossfade worked but resulted in clicking.
With my faulty implementation, clicks anyway. Maybe it's the beat.
UPD: Maybe some odd harmonics can be added to the sine LFO to bring it closer to the triangle but keep it smooth. Best I can think of.
Stopped clicking with simple triangle LFO with frequency x2, less annoying tremolo but anyway. Tried to compensate with another tremolo, but it has to be adjusted by oscilloscope :) Also comb filtering, which is the nature of delays.
...Even better with an LFO like a hybrid of triangle and square (trapezoidal), but no good anyway. Has to be redesigned from scratch.
The tremolo on the 'scope is irregular so it's probably due to phase interference.
https://github.com/freealise/bilberry-pi/blob/main/discont.h
I'd turn it into a chorus instead, or tremolo & vibrato with only one varying delay line (done all in the same effect).