1
$\begingroup$

I'm working on a vst plugin where a delay is used, the seek position of the delay sometimes changes gradually sometimes abruptly, when sudden changes occur sometimes a clicking sound is produced.

Some VSTs like GrossBeat (similar plugin) have an option to reduce clicking, what methods can they be using to reduce clicking sound when changing the playback position? If the solution is a cross-fade, any tips on how to implement it?

$\endgroup$
1
  • 2
    $\begingroup$ You could try to perform some kind of interpolation between the previous and the new sample. This in essence is kind of the same thing as the cross-fade suggested by SakSath in their answer below, but only for two samples (or possibly more past samples if you intend to try use anything other than linear interpolation). $\endgroup$
    – ZaellixA
    Dec 29, 2023 at 11:14

1 Answer 1

4
$\begingroup$

Clicking noise on seek is a result of discontinuity in the audio signal. One way of reducing this noise is applying a fade-in effect for few frames post seek.

$\endgroup$
5
  • 2
    $\begingroup$ You might want a slight fade out pre seek as well $\endgroup$
    – Jdip
    Dec 29, 2023 at 9:37
  • $\begingroup$ Yes, Fade out at the pre seek is good to have as well! @Jdip $\endgroup$
    – SakSath
    Dec 29, 2023 at 9:51
  • $\begingroup$ Thanks, I'm struggling with the implementation but sounds like the way to go, that or interpolation as Zaellix suggests. $\endgroup$
    – TiagoLr
    Dec 29, 2023 at 15:18
  • $\begingroup$ Managed to implement a cross-fade and the clicking is gone, thanks again. $\endgroup$
    – TiagoLr
    Dec 29, 2023 at 18:41
  • $\begingroup$ Great! Don’t forget to mark the answer as “accepted” ;) $\endgroup$
    – Jdip
    Dec 29, 2023 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.