Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

New PWM

Post any examples or modules that you want to share here

Re: New PWM

Postby k brown » Mon May 11, 2020 9:43 pm

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/
k brown
 
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA

Re: New PWM

Postby BobF » Mon May 11, 2020 10:49 pm

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


Hi Kevin,

Try this one!

Good luck, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Postby k brown » Tue May 12, 2020 12:21 am

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/
k brown
 
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA

Re: New PWM

Postby BobF » Tue May 12, 2020 4:22 am

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 968 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.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New PWM

Postby k brown » Tue May 12, 2020 5:43 am

A 'convoluted' answer! :) - I'll give it a try.
Website for the plugins : http://kbrownsynthplugins.weebly.com/
k brown
 
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA

Re: New PWM

Postby adamszabo » Tue May 12, 2020 7:09 am

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.
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: New PWM

Postby martinvicanek » Tue May 12, 2020 9:36 am

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).
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: New PWM

Postby k brown » Tue May 12, 2020 9:43 am

Easy for you to say! :shock: ;)
Website for the plugins : http://kbrownsynthplugins.weebly.com/
k brown
 
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA

Re: New PWM

Postby BobF » Tue May 12, 2020 3:07 pm

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

Postby BobF » Tue May 12, 2020 5:16 pm

Bobs3Freq_PWM.fsm
(836.92 KiB) Downloaded 969 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.
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

PreviousNext

Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 85 guests