[PD] waveshaping with a lookup table (idiot question)

federico xaero at inwind.it
Tue Nov 22 02:08:57 CET 2005

Michael Berkowski ha scritto:

> Greetings,
> A 4096 point table works well for limiting the prominence of artifacts 
> when waveshaping with tabread4~.  With a linear table that size, you 
> will still hear a significant amount of distortion on a sine tone, but 
> it will become much less noticeable with more complex input signals.
you can also adapt my patch, which actually draws curves into an array.

> Keep in mind though, that if your hope is to be able to draw a shaping 
> function into the table with a mouse, you will have reduced the table 
> size to the resolution of your monitor, throwing away lots of data.  
> For this purpose, I've been thinking about building an abstraction to 
> copy a hand-drawn table into a larger array, upsampling it with 
> interpolation.

More information about the Pd-list mailing list