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@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