Hi,
I am trying to create a patch for distortion using waveshaping. I want to distort (overdrive) an incoming sound (from [adc~]) with a square wave that is built gradually and automatically acording to the parameters I defined.
I am changing five harmonics in real time, using a message box to send them to the array, but off course, they are clicking. I have tried to solve this problem by my own, and then look upon the manuals but I couldn't found anything to help me. Can you tell me how do I change the harmonics in real time from a square wavetable without the clicks?
Thanks a lot.
(part of the patch is attached below).
-
Waveshaping
-
bump
this question i would also like to know the answer to
-
I am changing five harmonics in real time, using a message box to send them to the array, but off course, they are clicking. I have tried to solve this problem by my own, and then look upon the manuals but I couldn't found anything to help me. Can you tell me how do I change the harmonics in real time from a square wavetable without the clicks?
aliiii
-
If you are jumping from one value to another, try using [line] to create a ramp.
Also, [lop~] can filter out some clicks.
-
@LiamG I think you meant [line~], right? I don't see his patch here, but I guess he is simply changing the volume of each partial via a [*~]. So it's better to use [line~], since it outputs numbers at the sample rate.
And indeed [lop~] can filter clicks, but I think the clicks shouldn't be there in the first place. The method described above will solve them without the need to filter anything.
Cheers,
Gilberto -
This post is deleted!