HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Sep 2, 2005, 02:57 PM   #1
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
Rep Power: 0
eyagos is on a distinguished road

e-Compressor

This is my new compressor for KX. It is a simple compressor, that works in Joint Stereo mode, has a RMS and/or a Peak level detector, a Soft Knee option, and a function that reduces makeup gain when a clip is detected.
The GUI is compact and simple (thanks to townkat and Russ for their help with the text edit controls).
The kxl file includes two plugins, 'e-Compressor' and 'e-Compressor Lite'. The second is a smaller version wich uses less resources. What we loose is:
1.- Less precission. The LOG and EXP instructions are not very precise. Without some corrections made in the complete version, the sound is not so 'linear'.
2.- No RMS detector. Eliminating this does not save resources, but it has not enough precission without the LOG and EXP corrections.
3.- No Soft Knee operation.

Read the next post for an explanation of all the parameters.



New version: V1.1

Changes:



  1. Added e-Expander and e-ExpanderLite plugins.
  2. A serious error with gain attack time has been corrected. Due to a little fail in coding, in previous version gain attack and release times where always the same, and equal to release time.
  3. Now, in mono mode, only the left input/output are active.
  4. Some numbers optimizations.
  5. A little modification in AGR funtion.
  6. Little color changes in GUI.
You can download it at the same link. It is compiled for 3538i, 3538, and 3537 versions of KX Drivers (I have not tested the 3538 and 3537 versions, so report here if they don't work. And if you find any bug, please report too).

>>> Capture

>>> Download page



eYagos.

Last edited by eyagos; Sep 25, 2005 at 06:55 PM.
eyagos is offline   Reply With Quote


Old Sep 2, 2005, 03:03 PM Threadstarter Thread Starter   #2
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
Rep Power: 0
eyagos is on a distinguished road

Parameters of e-compressor explained

e-Compressor PARAMETERS

Envelope (level) Detector part:


  • Joint Stereo Mode: e-Compressor can work as a Mono Compressor or a Joint Stereo Compressor (for Stereo Compressor you’ll have to load two instances). For the joint-stereo operation, plugin can use the mean of left and right, or the max of left and right channels.
  • Level Detector Mode: A compressor needs an envelope detector of the input to work. Peak Detector has a more ‘aggressive’ behaviour; RMS Detector is more ‘warm’.
  • Level Attack / Release times: The peak or the RMS values needs to be smoothed in time to give us the envelope of the signal. These times are used to smooth the peak (or RMS) value. Recommendable values are 0.5ms-2ms for attack and 100ms-300ms for release.
    Note:
    Level values are monitored in VU-Level. It is besides Threshold slider, and has the same scale than it. This helps to choose the appropriate Threshold.

Dynamics part:

  • Threshold: The plugin reduces the amplitude of sound when his envelope value goes above this value. Range form -60dB to 0dB. A reason for a -60dB bottom value is that it is sufficient for common uses. Other reason is that with values lower than -60dB, the plugin is not precise (due to numbers limitation).
  • Ratio: Controls the amount of amplitude reduction, when level is above threshold. Range for 1: 1 to 1: infinite.
    • 1: 1 > No amplitude reduction (no dynamic change).
    • 1: 2 > If input envelope is 12dB greater than threshold value, the amplitude of the input is reduced 12dB / 2 = 6dB.
    • Values greater than 1: 10 > Makes compressor to act as a hard-limiter.
  • Gain Attack / Release times: These times are used to smooth the gain. Note that gain is already smoothed, because of Level Attack / Release times. The reason of using another smoothing times here is that you must not change the level detector times, otherwise the value of the envelope should change and so you shall have to update the threshold value. You can think that these times are ‘added’ to the level times.
    Note: Gain values are monitored in VU-Gain. It is besides Ratio slider, and has the same scale than Threshold slider. This helps to choose the appropriate Ratio.
  • Look Ahead Time: The dynamic gain is calculated instantly from the input, and it is applied to the input delayed, to avoid undesired clips. This delay time is the look ahead time.
  • Knee Softness: This parameter controls the way ratio is applied. In ‘Hard Knee Mode’, ratio value ‘jumps’ from 1:1 to the value specified when level goes above threshold. In ‘Soft Knee Mode’, ratio value varies smoothly from 1:1 to the value specified when level is between [(threshold - range) , (threshold + range)]. Range is the parameter that we change in this control:

    • 0% <> Hard Knee
    • 25% <> Range = 2dB
    • 50% <> Range = 4dB
    • 100% <> Range = 8dB

Output part:


  • Makeup Gain: This gain is the final part of the process. It don’t change the dynamics, it is only used to compensate the gain reduction applied before. The ideal situation should be a compressed sound, but with the maximum amplitude, and without clipping. You can achieve this situation by adjusting Makeup Gain.
  • Auto Reduce Gain Function: This function helps to achieve the situation commented above: You set the Makeup Gain to a high value. If this function is activated, the gain is reduced automatically when a clip is detected, based on the clip value.
    Note: This function only works when the tweak window is opened. If it is closed, the Makeup Gain does not change, although the function is activated.
eyagos is offline   Reply With Quote
Old Sep 2, 2005, 04:26 PM   #3
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I have two questions.

How did you place two plugins into the same kxl file?

When do people usually use a compressor?


It seems very impressive. I thank you eYagos, for all the people that will use it and never reply to your thread.
Tril is offline   Reply With Quote
Old Sep 2, 2005, 05:17 PM   #4
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Good stuff

Quote:
Originally Posted by eyagos
Note: This function only works when the tweak window is opened. If it is closed, the Makeup Gain does not change, although the function is activated.
I am guessing that is because you need a window handle for a callback function (a timer or something)? If that is the case then you might consider creating an invisible window yourself (that exists as long as the plugin is loaded) for that purpose.
Russ is online now   Reply With Quote
Old Sep 2, 2005, 06:57 PM   #5
kX user
 
Join Date: Apr 2004
Posts: 851
Rep Power: 0
Tiger M is on a distinguished road

New great stuff by eyagos!

I've been waiting for something new for a long time. Thanks.
Tiger M is offline   Reply With Quote
Old Sep 2, 2005, 07:11 PM   #6
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Yes that is a nice piece of work, I can't wait to try it out. Tril, Compressors are usually used in the final mastering stage-used to raise the preceived volume of the track but it reduces the dynamic range though. THink of it as a person with there hand on the volume knob of a stereo, when the signal goes quiet..they turn it up, when the signal goes loud, they turn it down..how fast and how much this is done is what the controls on the plugin are for. That is just an analogy..hope it's correct. See the output is usually just set to under the cieling 0.0db..the compressor will make the track loud but won't allow it to go above the out ceiling. THere are different types but they all follow the same principles. Again nice job..Thank you.
ROBSCIX is offline   Reply With Quote
Old Sep 2, 2005, 08:13 PM   #7
Long Time ***** Friend
 
thomasabarnes's Avatar
 
Join Date: Jan 2003
Location: USA
Posts: 1,375
Rep Power: 0
thomasabarnes will become famous soon enough
System Specs

I'm always glad to have another good hardware based effect. thanks.
__________________

May a song always touch you in a positive way.
SONAR X1D Expanded, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB x2 HDD 7200 rpm

My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs
thomasabarnes is offline   Reply With Quote
Old Sep 2, 2005, 11:44 PM   #8
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Yeah it's great to see more development.
ROBSCIX is offline   Reply With Quote
Old Sep 3, 2005, 01:01 AM   #9
DriverHeaven Lover
 
Join Date: Sep 2003
Location: Romania
Posts: 123
Rep Power: 0
townkat is on a distinguished road

good job and i am glad i could help

cya
__________________
mixy kx plugins
http://mixy.0fees.net/
townkat is offline   Reply With Quote
Old Sep 3, 2005, 05:33 AM Threadstarter Thread Starter   #10
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
Rep Power: 0
eyagos is on a distinguished road

Tril:
"How did you place two plugins into the same kxl file?"
To place two plugins in the same kxl file, you only has to add the files of all effects to the project, and add a few lines in simple.cpp for each effect.

"When do people usually use a compressor?"
Final mastering is the most. A popular use of a compressor too, is for listening music or movies at night: You compress the sound, and the difference between low and high volume sounds is decreased.

Russ:
"I am guessing that is because you need a window handle for a callback function (a timer or something)? If that is the case then you might consider creating an invisible window yourself (that exists as long as the plugin is loaded) for that purpose."

You are true, it uses a timer in the dll, the same timer used for vu-meters. Ussing an invisible window should be the perfect solution if I'll want this funtion to work allways. But if the ARG function would work all the time the plugin is conected, the gain would be decreasing allways, and this is not very confortable. I prefer that it only works when tweak window is opened.

Thanks for all your replys.
eyagos is offline   Reply With Quote
Old Sep 3, 2005, 03:51 PM   #11
HardwareHeaven Lover
 
Join Date: Apr 2005
Location: Gold Coast Australia
Posts: 118
Rep Power: 0
TheKezReturns will become famous soon enough

Nice work eyagos. I'll be putting this one to good use. I find no need for so many controls as with the dynamics plugin.



btw. Everyone has their own view on compression but I use it in some form in just about everything. If you like your sounds big fat and dirty rather than pristine clean and 'made it on my computer'-digital, then don't wait for mastering, whack some on your tracks, especially bass, drums, clean guitar and vocals. If ya use 'em properly, you'll find your stuff sounding alot more like your favourite cd and less like the music from an 80's computer game.
For example, run lemury's drum synth thru the 10-band and then into the compressor and (and maybe a small bit of tigers' tubedrive) and then tweak. Not bad huh?
TheKezReturns is offline   Reply With Quote
Old Sep 7, 2005, 09:33 PM   #12
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

First of all thank you VERY much eyagos, this is an excellent addition to the plugin family. I've already put it to great use in my DSP window, emulating some pretty wicked multiband compression solutions to make my music sound even sweeter.

I am going to be really cheeky and ask if it would be at all possible to make a version which can also expand (is that possible?). I know that would bring the e-Compressor closer to the functionality of the current dynamic processor and might be too much to ask but here are some of the reasons why it would be great:

-The new interface rocks, much more practical in my humble opinion than the dynamic processor interface.
-RMS/Peak detection
-Much more finely modulated trigger curves
-Joint Mean/Max
-Lower resource usage allows for more instances, allows for preciser tweaking.

So why do I need the expander? Well I am trying to beef up, add warmth and optimize my mixes, using some of the techniques I've seen in Dx/DSP Plugins like iZotope Ozone3 etc. I was using the dynamic processor to do this with generally good but slightly unpredictable results. My new setup works really well at the top end, now I would love to bump at the low end as well. I can (and am at the moment) use a dynamic processor but I would love the flexibility of revamped e-Expander/Compressor.
nyquility is offline   Reply With Quote
Old Sep 9, 2005, 01:19 AM Threadstarter Thread Starter   #13
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
Rep Power: 0
eyagos is on a distinguished road

Thanks, but... emm..., I'm loving this plugin too . The RMS detector, and some changes made in times calculators, have been the keys, I think. Btw nyquility, what do you mean with 'Much more finely modulated trigger curves' ?

An expand/compress option is easy to implement in the actual code (I had this idea in mind jet). In the next release there will be an e-Compressor and an e-Expander, in order to mantain the actual interface.
eyagos is offline   Reply With Quote
Old Sep 9, 2005, 02:14 AM   #14
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Quote:
Btw nyquility, what do you mean with 'Much more finely modulated trigger curves' ?
This:
Quote:
Quote:
Knee Softness: This parameter controls the way ratio is applied. In ‘Hard Knee Mode’, ratio value ‘jumps’ from 1:1 to the value specified when level goes above threshold. In ‘Soft Knee Mode’, ratio value varies smoothly from 1:1 to the value specified when level is between [(threshold - range) , (threshold + range)]. Range is the parameter that we change in this control:
The dynamic processor only has 3 settings, hard, soft, softer, theoretically with this setting I can be even more precise with triggering and softening the envelope. Not that I would know right now how exactly this influences my mixes but maybe one day I will understand the mechanics of compression to such a degree that I will have finetuning it down to an artform.

And all thanks to you, eyagos

Great news on the expander, I will come and check this thread every day, maybe even twice a day to see if its done

PS: I've spent so much of my spare time reading up on compression etc. lately that I think you have started me on a path to addiction. I don't know whether to thank you or curse you eyagos

PPS: I might sit down an write a guide to compression with kX soon, when I feel my knowledge is up to scratch so I can share some of the joy with others.

Last edited by nyquility; Sep 9, 2005 at 09:37 AM.
nyquility is offline   Reply With Quote
Old Sep 9, 2005, 09:30 AM   #15
Apple Fanboy?
 
dj_stick's Avatar
 
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 17,485
Rep Power: 190
dj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his status
System Specs

Quote:
Originally Posted by nyquility
PPS: I might sit down an right a guide to compression with kX soon, when I feel my knowledge is up to scratch so I can share some of the joy with others.
drop me a PM when you do this, i can host it on the knowledgebase
__________________
Chris - The Aussie Super Mod
Hardwareheaven Rules - Sig Request Thread

How you can help HardwareHeaven by using Digg!

Hardwareheaven Super-Moderator

Quote:
Originally Posted by OmegaRED View Post
You know, there's "off topic" and then there's so freakin' off topic it you gotta wear a straitjacket to join the conversation.
dj_stick is offline   Reply With Quote
Old Sep 9, 2005, 09:38 AM   #16
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Will do stick and I'll even spellcheck it after I have written it
nyquility is offline   Reply With Quote
Old Sep 9, 2005, 05:26 PM   #17
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Any chance for a 3538h version?
Maddogg6 is offline   Reply With Quote
Old Sep 9, 2005, 06:02 PM   #18
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Hey NYQ, if you want an cheap easy way to get Ozone mastering for free, you can use winamp as a catalyst, use the wave out, run your mix throught the winamp, OZone will process it and write the new wave file...Thought you might like to know, thats an easy way to get some tube warmth added..and it's free...sorry for getting off topic guys..thx
ROBSCIX is offline   Reply With Quote
Old Sep 15, 2005, 06:14 PM   #19
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Hey ROBSCIX, sorry I missed your answer and thanks for the advice. I used that method for a while but as sweet as Ozone for winamp can be, it works its voodoo without giving the user total control. I was more referring to Ozone3 the DX plugin which has multiband-compression, an exciter (which I think is a fancy name for a reverb) and lots of other things. My friend has it and I've had a chance to play with it but it's beyond my budget, can do more than I need it to and I don't approve of using a pirated version. So I looked for alternatives before realizing I could do a lot of the pre-mastering just with the DSP and kX drivers. It's a huge kick!

BTW eyagos, any chance at all you could compile a 3537 version. With LeMury releasing his ProFX for 3537 and UFX (especially the parametric EQ) I can tweak my setup even more, so it looks like its time to "downgrade".
nyquility is offline   Reply With Quote
Old Sep 15, 2005, 08:08 PM   #20
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Yeah, I was just giving you an option, You cannot acces anything on the Ozone for winamp module unless you pay the $50..then you can access all the parameters. I have seen the DX version also very Nice, I think I may invest in it for my studio, once I get my Delta 1010. I am also using 3537 for UFX, and now I have ProFX also..thats great...btw the Exciter in Ozone is a Tube Modeler, You could do alot of the Mastering step in KX, but I don't think you would get anything close to what the Ozone DX accomplishes..then again if you have a compressor and know how to use it..but you wouldn't have that tube warmth or sparkle...good luck

I also vote for a 3537 version of the E-compressor, how about your other compressors as well? if it's not to much trouble.. THX
ROBSCIX is offline   Reply With Quote
Old Sep 15, 2005, 11:16 PM   #21
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Yeah thanks ROBSCIX, I didn't mean to sound condescending (if I did), it really was a useful suggestion. BTW just incase you don't know, there was a 3537 version of the Dynamic Processor if I recall correctly, should be able to do pretty much what the new compressor does, even if all the sweet features are missing.
nyquility is offline   Reply With Quote
Old Sep 15, 2005, 11:39 PM   #22
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

I have a dynamic processor in my DSP list. is that what your speaking of or do you mean another one? I am asking becuase I love new effects to play with! the more the merrier. So are you saying there is another version for 3537 or just the one thats included with the driver?
ROBSCIX is offline   Reply With Quote
Old Sep 16, 2005, 01:37 AM   #23
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Not sure to be honest, its been so long since I had 3537 installed. Probably is the one in the list.
nyquility is offline   Reply With Quote
Old Sep 18, 2005, 12:20 PM   #24
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
Rep Power: 0
radiocolonel.it is on a distinguished road

Donator
Hola, Eyagos, come estas?
I would ask ask if u can compile it for 3537, i guess other people woul like to use this fantastic mastering tool!
Thanks anyway for your plugins!!! Your work is really appreciated!!!
__________________

http://www.rossanodembech.it
radiocolonel.it is offline   Reply With Quote
Old Sep 18, 2005, 01:16 PM Threadstarter Thread Starter   #25
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
Rep Power: 0
eyagos is on a distinguished road

Hola.

I have compiled it for 3538h and aded to the web today. But for 3537 I must make some changes in the code. My plans are to realease next version soon (maybe next week). I'll add a 3537 compiled archive for that version.

About Dynamics processor, there are three versions. Actual version is 4.0, included in 3538i. It is the most recomendable, but it can't be compiled for 3537, because 3537 does not support the skin. In 3537 there is the 2.0 version, wich has lots of bugs.
eyagos is offline   Reply With Quote
Old Sep 18, 2005, 06:55 PM   #26
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

thanks for clearin gthat up, Ok but when you release the Last version of this compressor your gonna do a 3537 version for us guys using that version? Thanx that is much appreciated..
ROBSCIX is offline   Reply With Quote
Old Sep 19, 2005, 01:34 AM   #27
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Quote:
My plans are to realease next version soon (maybe next week). I'll add a 3537 compiled archive for that version.
This is excellent news eyagos. I can't wait for the next version to appear.....

No seriously, I can't wait! Hurry Up! I am just kidding, I am pretty certain you are an incredibly busy man and I am glad you take some time out to make your great plugins.

As for the 3537 version, personally I probably won't be needing it (I tried going back to 3537 but had some serious stability issues) but I am sure there are plenty of people (especially our impatient friend ROBSCIX ) who will be totally thrilled.

Thank you again for everything eyagos!
nyquility is offline   Reply With Quote
Old Sep 19, 2005, 01:38 AM   #28
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

No actually I am not impatient at all. I can wait until it's done. I was just clarifying as he said he was doing a version for 3537 and I am using 3537 and I like plugins...But I can wait as long as it takes. Can't rush these things.
ROBSCIX is offline   Reply With Quote
Old Sep 19, 2005, 04:01 AM   #29
DriverHeaven Junior Member
 
Join Date: May 2004
Posts: 29
Rep Power: 0
nyquility is on a distinguished road

Hehe, no I didn't mean you were impatient for the compressor more impatient elsewhere in other threads.. and I didn't mean that in a bad way either, you're a very eager kX user, I am just the same... also just as frustrated that I can not quite get it together to actually code my own plugins.
nyquility is offline   Reply With Quote
Old Sep 19, 2005, 04:43 PM   #30
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Well yes I am eager to help. I would like to design my own plugins using my own ideas. But for now it's all in the studying phase..I will leave that subject alone. Well I was shackled with creative drivers for along time..now with KX I have my guitar hooked in...everything sound better than it EVER did..it makes me eager because..I like Audio. I think I may be upgrading though. I want an A2..
ROBSCIX is offline   Reply With Quote
Reply

Thread Tools