New PWM

Post any examples or modules that you want to share here
k brown
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA
Contact:

Re: New PWM

Post by k brown »

I noticed this produces pretty severe distortion/aliasing on higher notes - any way to smooth that out?

Does this maybe only work best in blue?
Website for the plugins : http://kbrownsynthplugins.weebly.com/
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Post by BobF »

BobsAllWaveformPWM_1a Antialiased and white.fsm
(994.08 KiB) Downloaded 1062 times


Hi Kevin,

Try this one!

Good luck, BobF.....
k brown
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA
Contact:

Re: New PWM

Post by k brown »

Thanks for that - however I would describe the results as a mild improvement at the expense of noticeably duller sound.
Website for the plugins : http://kbrownsynthplugins.weebly.com/
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Post by BobF »

Hi again Kevin,

Unfortunately aliasing is common in many distortion and wave shaping devices. If you missed this post read it over for possibly a little more help.

Reducing aliasing of waveshaping using convolution.

Try the conv tanh.fsm and see if it helps any better than the anti-aliasing filter I added.

conv tanh.fsm
(867.53 KiB) Downloaded 1049 times


And last, you could also remove some of the 1 pole low pass filters from the 36db anti-aliasing filter, they are each 6db. This could add a LITTLE punch back in.

Good luck and please let me know how you make out.

Take care, BobF.....
k brown
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA
Contact:

Re: New PWM

Post by k brown »

A 'convoluted' answer! :) - I'll give it a try.
Website for the plugins : http://kbrownsynthplugins.weebly.com/
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: New PWM

Post by adamszabo »

Bob, unfortunately the 36 dB filter is just a simple filter its not anti-aliasing at all. You cannot remove aliasing by simply filtering the signal with a low pass filter, its not how it works.
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: New PWM

Post by martinvicanek »

A simple antialiasing technique consists in synthesizing the time integrated waveform and then numetically differentiate it. Example: a square wave is obtained by differentiating a triangle wave. The method is called DPW (differentiated polynomial waveform).
k brown
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA
Contact:

Re: New PWM

Post by k brown »

Easy for you to say! :shock: ;)
Website for the plugins : http://kbrownsynthplugins.weebly.com/
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Post by BobF »

My bad on the antialiasing filter, just found it in another schematic and well used it. Sorry!!!

Later then BobF.....
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Post by BobF »

Bobs3Freq_PWM.fsm
(836.92 KiB) Downloaded 1058 times


Hello all,

Had this laying around, so just thought I would add it for completeness.

Later then, BobF.....

@ Adam, it's fixed, very sorry!
Last edited by BobF on Wed May 13, 2020 5:49 pm, edited 1 time in total.
Post Reply