Thanks for the answer! Unfortunately, that won't work. The endgame is to stop clicks when mono notes overlap (this is more obvious in samples with low frequencies). Currently, when a new note silences the current note, its amplitude is instantly dropped to zero, which can cause a click. There needs to be a small crossfade between the notes to negate this.