Re: [linux-audio-dev] "declicking" algorithm?

From: Artemiy Pavlov <artemio@email-addr-hidden>
Date: Thu Dec 15 2005 - 19:31:50 EET

Hello,

when I made my very first saw and square LFOs I got the same problem as you -
clicks caused by fast (single-sample) changes of LFO output value - these
happen once in a saw cycle and twice for a square cycle.

What I did is make the LFO forms smoother, to have a soft knee. Such a method
for a saw wave, for example, means it grows from 0 to 1 in 1/20 of the
perioud and then decays from 1 to 0 in the rest 19/20 of the period. I can
send you the C code if you need, it implements basic LFO functions using very
simple math.

I hope this helps.

Artemiy.
Received on Thu Dec 15 20:15:12 2005

This archive was generated by hypermail 2.1.8 : Thu Dec 15 2005 - 20:15:12 EET