[PD] signal weighted median filtering

Andy Farnell padawan12 at obiwannabe.co.uk
Sat May 26 11:02:53 CEST 2007


Nice. The graph says it all, it really snuffs out those spikes.
Yeah, and it eats way too much CPU, but I enjoy the instructional
value of seeing this filter done as signal expressions.

Andy

On Fri, 25 May 2007 14:01:21 -0500
"Charles Henry" <czhenry at gmail.com> wrote:

> Hi, list,
>   I've created an abstraction for performing weighted median filtering
> on a signal using 5 coefficients.  It's a real cpu hog.  It uses
> heavily the expr, expr~ and fexpr~ externals, which leads to some
> redundant calculations on each sample.
>   The test patch enclosed shows how effective this can be for removing
> impulsive noises from a signal (like the pops on a record).
> 
> Chuck
> 


-- 
Use the source




More information about the Pd-list mailing list