| Create a special damping envelope whose only job is removing clicks:
idampattack = .003
idamprelease = .005
iduration = p3
p3 = iduration + idampattack + idamprelease
adamping linseg 0.0, idampattack, 1.0, iduration, 1.0, idamprelease, 0.0
out asignal * adamping
Almost all my instruments have these. You adjust idampattack and
idamprelease to suit the instrument. This is NOT the main envelope. Because
it is arate it will help with ksmps laddering. This technique absolutely
ensures that the sound begins and ends at 0.0.
-----Original Message-----
From: owner-csound-outgoing@maths.ex.ac.uk
[mailto:owner-csound-outgoing@maths.ex.ac.uk]On Behalf Of Chad Lauber
Sent: Wednesday, October 13, 1999 6:42 PM
To: csound
Subject: clicking
I am new to csound, and I have been having problems eliminating clicking
when a sound ends. I have used 'linen', but the problem persists.
It sounds as if the sound never quite gets to 0 dbs, and consequently
produces a click.
Help?!
Chad |