[PD] a slightly nicer saturator than tanh~

cyrille henry ch at chnry.net
Sat Oct 28 15:12:56 CEST 2017



Le 28/10/2017 à 14:27, Alexandre Torres Porres a écrit :
> 
> 
> 2017-10-28 9:51 GMT-02:00 cyrille henry <ch at chnry.net <mailto:ch at chnry.net>>:
> 
> 
>     I think added harmonics are : 2, 4, 8, 16...
> 
> 
> No, they're all multiples of the fundamental frequency. You can debate wether the 1st harmonic or 1st partial is the fundamental, people use this in different ways. I see the fundamental as the first partial component and the first harmonic on top op that, but usually just consider both as the fundamental, so 10th harmonic would be 10Khz (or 11Khz).

yes, sorry, I made a mistake.
if your distortion is symmetrical, it can't produce even harmonics, so added harmonics are 3, 5, 7, 9...
see patch or snapshot : the 4th partial of 350Hz is 1500Hz and is not present in the distorted sinus.

(if distortion is not symmetrical, then you are right and produce all partial)

So, oversampling by 512 must kill all aliasing.

cheers
c


> 
> cheers
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture du 2017-10-28 15-05-11.png
Type: image/png
Size: 25288 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20171028/f5f4582d/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disto_harmonics.pd
Type: text/x-puredata
Size: 282 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20171028/f5f4582d/attachment-0001.bin>


More information about the Pd-list mailing list