[music-dsp] Waveshaping

paul Fultz pfultz2 at yahoo.com
Thu Oct 4 11:59:12 EDT 2007


i was wanting to implement some anti-aliased
waveshaping, i first thought about upsampling and then
downsampling, but i dont fully understand how to
implement a good filter for decimation, so i thought
about creating another way to do it without upsampling
and i came up with this formula:
where w(x) is the transfer function for waveshaping

(w(x[n]) - w(x[n-1]))/2 + w((x[n] + x[n-1])/2)


what do you think? when w(x) = ax then the formula
returns a*x[n] but i dont know how well it smooths out
aliasing maybe some people with better math skills
than me can analyze it deeper, or maybe have a better
formula. i know it doesnt get rid of all the aliasing,
but maybe its moving in that direction.
thanks,
paul


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/


More information about the music-dsp mailing list