<br>Hi there , this is my first post ! <br>I&#39;m looking for an extern which avoids clips in signals [~] i dont know if it exist on pd own objects or if it is on the repositori.<br>I coudnt find an efficent way to know which are the externs in the repositori, looking in each folder is the only way to know it&#39;s content ?<br>
<br>Here goes a detailed explanation of what i mean by avoid clipping:<br><br>I&#39;m playing blocks of signal from diferent arrays, when one stops playing the other starts, the problem is that most of them dosnt start and end at 0 value and a clip sounds between in the change of block. Due to the whole project aim i cannot use crossfading between blocks.<br>
<br>I&#39;ve been thinking in a possible solution :<br><br>1- take the last value of one block and build a linear ramp of N samples to the N value of the subsequent block and add all the values to that ramp<br>&nbsp;this solution would require the whole block as an input and wouldnt work as a in-out object&nbsp; -&gt;[~smoothclips]-&gt;<br>
<br>2- Dettect a clip as a suddent fall of values between two samples <i>abs(X(-1)-X(0))&gt;threshold</i> and for the N subsequent samples X(i)&nbsp; do :<br>&nbsp;X(0)= 0.8*X(-1) + 0.2* (0)<br>&nbsp;X(1)= 0.6*X(-1) + 0.4* (1)<br>&nbsp;X(2)= 0.4*X(-1) + 0.6* (2)<br>
... and so on<br><br>Thank you ! <br>