[PD] Implementing "switch-and-ramp" technique to cancel discontinuities

simon wise simonxwise at hotmail.com
Wed May 2 11:14:30 CEST 2007

On 2 May 2007, at 5:35 PM, Frank Barknecht wrote:

> it only works if the discontinuity is one starting a zero
> again

isn't the book describing a way to switch from a playing wave form to  
a new one which starts at zero?

The example refers to re-triggering something like a percussion  
sample - it is a way to fix the glitch resulting from suddenly  
cutting off the 'old' sample (which is likely not at a zero-crossing)  
and replacing it by a new one (which starts at zero). The flowchart  
shows adding a signal ramping to zero from the last value of the  
'old' sample.

That is: the whole example/technique described depends on the  
assumption that the re-triggered sample starts from zero, it doesn't  
make sense otherwise.


More information about the Pd-list mailing list