Old 06-27-2023, 11:45 AM   #1
PhilRanger
Human being with feelings
 
Join Date: Oct 2019
Location: Quebec (Canada)
Posts: 28
Default Oversampling/Anti-Aliasing

Hello,

I would like to add to add oversampling/anti aliasing to one of my jsfx plugins. Apart from Stillwell's "Bad BussMojo Waveshaper w/AA", which uses a simple 2nd order low pass pre- and post-filter, are there any resources that could help me to get a better performance at a reasonable CPU load?

I could extrapolate from Liteon's "Chebyshev 4-Pole Filter" and/or put several low-pass filters, but would like some advice.

Would an FFT - convolve - IFFT slow things down a lot compared to IIR filters? What about a FIR?

Thanks!

Last edited by PhilRanger; 06-27-2023 at 12:36 PM.
PhilRanger is offline   Reply With Quote
Old 06-27-2023, 11:23 PM   #2
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,653
Default

I have a FIR based 2x oversampler JSFX library (oversample.jsfx-inc) in my JSFX pack, which I use in my tube_amp JSFX plugin.

BTW, you could also use FX instance oversampling, and let REAPER handle it.
Tale is offline   Reply With Quote
Old 06-28-2023, 07:11 AM   #3
PhilRanger
Human being with feelings
 
Join Date: Oct 2019
Location: Quebec (Canada)
Posts: 28
Default

Thank you very much for both of your answers!

I'm in 6.12 so I don't have this option and didn't know about it (I'll update when I get authorization, it is a "company laptop" with a lot of safety freak measures).

It could be nice to trigger it by changing a variable inside the plugin, so each plugin programmer could decide to do it or not, or even offer it on a slider.

I'm also wondering: if there are several non-linear stages, I think it would need low-pass filtering between each of those stages as well, isn't it?
PhilRanger is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.