how to avoid clicks when using fuction for monophonic synthesis

petterdass's icon

Hi,
I know I have read somewhere how to avoid clicks when using function and line~ for amplitude envelope,
but i cant find it.

Thanks for your time !

Emmanuel Jourdan's icon

The clicks usually comes from a discontinuity in the signal. This might happen when you trigger too fast an envelope because when you send bang to the function object it sends first a floating point value which specify the start, and the list of pairs (target, destination time). If you get rid of the first float value it'll be just a list of {target value, destination time} which makes that it won't click (if the destination time is "high" enough).

ej

sine's icon

This helped me a great deal as well. Thank you much.