[PD] anti-aliasing filtering (was Re: a slightly nicer saturator than tanh~)
ch at chnry.net
Sat Oct 28 22:30:35 CEST 2017
well, I don't understand why you send a patch regarding a phasor while we where speaking about distortion...
Its very different : a sawtooth have an infinite number of harmonics, but not a signal distorted with tanh. And a band limited sawtooth is lot's better (from sound and performance perspective) than an oversampled / filtered phasor.
When you say 512, are you talking about phasor or an tanh distortion?
Le 28/10/2017 à 18:04, Alexandre Torres Porres a écrit :
> 2017-10-28 13:01 GMT-02:00 cyrille henry <ch at chnry.net <mailto:ch at chnry.net>>:
> I don't understand.
> can you share your patch?
> What don't you understand? Anyway, here's a patch. I was exaggerating, actually is not that 512 is still not good enough, it seems it is ok, but it's just an insane amount of oversampling to achieve a nice anti-aliasing filter, and it goes over 80% CPU load on a previous generation, top of the food chain, macbook pro. Here's a patch where you can test different oversampling factors. If you go to 64, for instance, seems still bad for what I hoped for.
> Anyway, I usually go to 16x, which seems like a good compromise.
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
More information about the Pd-list