KVR Audio is the Internet's number one news and information resource for open standard audio plugins. We report new releases, product announcements and product updates (major and minor) for all VST Plugins, DirectX Plugins and Audio Units Plugins. We manage a fully searchable audio plugin database (updated daily), and offer many free member services including user reviews, product update notifications and a very active discussion forum. We also host official support forums for many plugin developers plus the official Receptor support forum.
Plug-in Database: Virtual
Instruments, Effects & Hosts
Plug-in
Ranks
Banks & Patches
Download & Upload
Plug-in Ratings
by KVR Members
Wiki: Tutorials,
Audio Lexicon, ...
Listen to Music
by KVR Members
Search
KVR

Google Powered Search:

in new window

KVR Powered Plug-in Search:

Author Topic: Get an open source clipper plugin here...
Christian Budde
KVRian
- profile
- e-mail
- www
PostPosted: Sat Sep 20, 2008 9:45 am reply with quote
Hi,

another freebie here. Again only by accident I wrote this clipper plugin. I wanted to demonstrate the up/downsampling unit from my open source project.
The 'Advanced Clipper' is basically a hard clipping plugin with two stages. Additional oversampling reduces alias noise. The oversampling algorithm is based on butterworth filters (as can be found in rubberfilter) and thus will affect the group delay (you can notice a delay of some samples in extreme cases).

Some features:
- two stages of minimum phase, butterworth oversampler
- hard clip at higher sample rates
- oversampling of up to 16x (in both stages)
- filter order up to 64 (using the max. order will introduce noticable group delay)
- tunable transition frequency (in parameter view)
- several presets
- nice GUI Wink



Have fun,

Christian
^ Joined: 14 May 2004  Member: #25572  Location: Europe
Tp3
KVRist
- profile
- pm
PostPosted: Sat Sep 20, 2008 10:11 am reply with quote
SX3 Crash Rolling Eyes
^ Joined: 07 Feb 2007  Member: #139317  
Christian Budde
KVRian
- profile
- e-mail
- www
PostPosted: Sat Sep 20, 2008 10:38 am reply with quote
Tp3 wrote:
SX3 Crash Rolling Eyes

Should be fixed now. I tested it with Cubase 4 and it does work.
^ Joined: 14 May 2004  Member: #25572  Location: Europe
K-Slash
KVRian
- profile
- pm
PostPosted: Sat Sep 20, 2008 11:07 am reply with quote
Some thoughts about it ?
^ Joined: 09 Jul 2006  Member: #112735  Location: Paris, France
Tp3
KVRist
- profile
- pm
PostPosted: Sat Sep 20, 2008 11:09 am reply with quote
Christian Budde wrote:
Tp3 wrote:
SX3 Crash Rolling Eyes

Should be fixed now. I tested it with Cubase 4 and it does work.


Thanks
^ Joined: 07 Feb 2007  Member: #139317  
NEKRO.MACHINE
KVRAF
- profile
- pm
- e-mail
PostPosted: Sat Sep 20, 2008 11:18 am reply with quote
Thanks Christian again and that is twice in as many days: your accident's are pretty good ones Wink

Take care and best regards

Dean
^ Joined: 04 Oct 2007  Member: #162100  
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Sat Sep 20, 2008 11:35 am reply with quote
filter > limiting is a new concept for me.. it's to improve spectral fidelity i guess.

i never thought of it.. always figured distortion was a desirable aspect of dynamics.

sources archived! thank you again Smile
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
RunBeerRun
KVRAF
- profile
- pm
- e-mail
PostPosted: Sat Sep 20, 2008 1:31 pm reply with quote
Works fine in Reaper. Haven't found a spot-on use for it, but I'll drop it in here and there and see.
----
Free MIDI arpeggiators, clearest amp sims on the net: http://runbeerrun.blogspot.com
^ Joined: 02 Aug 2005  Member: #76855  
Christian Budde
KVRian
- profile
- e-mail
- www
PostPosted: Sat Sep 20, 2008 1:51 pm reply with quote
RunBeerRun wrote:
Haven't found a spot-on use for it, but I'll drop it in here and there and see.

It can be used during mastering to ensure the signal stays within the limits. If you only use hard clipping you can stay within the limits as well, but this introduces aliasing. Also you risk the so called intersample clippings. You can also use a limiter for this, but it has to be a look ahead limiter or a limiter that has a build in over sampler as well (to avoid the intersample thingies).

Btw. I uploaded a bug fix version, that will save presets correctly. Also I added an installer version.

Zip-File [629kB]
Installer [620kB]
^ Joined: 14 May 2004  Member: #25572  Location: Europe
shogger
KVRAF
- profile
- pm
- e-mail
PostPosted: Sat Sep 20, 2008 2:54 pm reply with quote
Thanx Christian,

will check it out soon.

Shogger
^ Joined: 11 Jun 2007  Member: #153609  
JCM
KVRer
- profile
- pm
PostPosted: Sat Sep 20, 2008 5:06 pm reply with quote
Nice accident!

Could you give us an overview of how each control affects clipping and the two stage concept.

Thanks.
^ Joined: 04 Sep 2008  Member: #188615  
martian
KVRian
- profile
- pm
PostPosted: Sun Sep 21, 2008 1:42 am reply with quote
thanks!

im slightly confused by the 2 stage concept. the 2nd oversampling stage reduces aliasing further? i guess the clipping occours once and after the 2nd stage?
^ Joined: 15 Mar 2005  Member: #61560  
Christian Budde
KVRian
- profile
- e-mail
- www
PostPosted: Sun Sep 21, 2008 3:57 am reply with quote
The two stages are necessary, because depending on the filter order, still some clipping can occur in the first stage.

The diagram is:

Input * InputGain > Upsampling Stage 1 (with the given filter order and the hidden transition bandwidth) > hard clip between +1/-1 > Downsampling Stage 1 (again with the given filter order and the hidden transition bandwidth) > Upsampling Stage 2 > hard clip between +1/-1 > Downsampling Stage 2 > Output Gain

If the oversampling factor is only 1 and the filter order 0, only a classic hardclip takes place (with all the aliasing).

I was also thinking about adding a second input gain, so that you can drive the second stage even more into clipping, but I discarded that idea. Anyway, the plugin is open source, so whoever likes to add more features is welcomed to do so.

Christian
^ Joined: 14 May 2004  Member: #25572  Location: Europe
meloco_go
KVRist
- profile
- pm
PostPosted: Sun Sep 21, 2008 6:47 am reply with quote
Wow, it's nice to find that someone thinks in the same way as you. For some time I use Cyanide 2 as my master clipper, and I use it in two passes - I reverse file for the second time - to compensate for group delay. I find that this way it is much better than simply rasing gain and much closer to clipping of ADC.

Is there a chance that you make FIR linear phase oversampling stage?
^ Joined: 21 Sep 2008  Member: #189780  
mauseoleum
KVRian
- profile
- pm
PostPosted: Sun Sep 21, 2008 6:51 am reply with quote
>>> I reverse file for the second time

hehe...
^ Joined: 29 Oct 2003  Member: #9992  
Reply to topic KVR Forum Index » Effects All times are GMT - 8 Hours

Printable version
Page 1 of 3
Goto page 1, 2, 3  Next
Display posts from previous:   
Post new topic
Previous Topic
Next Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Disclaimer: All communications made available as part of this forum and any opinions, advice, statements, views or other information expressed in this forum are solely provided by, and the responsibility of, the person posting such communication and not of kvraudio.com (unless kvraudio.com is specifically identified as the author of the communication).