2d.wave~ clicks when changing rows number - gen~ implementation

Giovanni Corgiat's icon

Giovanni Corgiat

9月 04 2024 | 11:50 午前

I'm making a granular engine using mc.2dwave~ as sample playback. Everything works properly but mc.2d.wave~ clicks whenever i change the number of rows of the object, i tried to remake the object in gen~ then i don't have any click when change the number of rows dynamically, but a lot of clicks when scrubbing through the samples (so changing rows). Has anyone ever faced such a problem?

Pedro Santos's icon

Pedro Santos

9月 05 2024 | 11:59 午前

Hi Giovanni. Yes, I've had that problem before while building a wavetable synth.

The problem arises from the immediate change of the waveform ("rows") mid-cycle, often resulting in sudden amplitude "jumps".

My solution was to use a sychronized sample & hold mechanism that only changed the waveform when restarting the cycle.