Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > DJing / Production / Promotion > Production Studio > Trying to understand compression
Pages (2): [1] 2 »   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Jimb0b
Senior tranceaddict



Registered: Jul 2007
Location:
Trying to understand compression

Well, ive been trying to get my head around compression, with limited sucsess!! haha

Anyway, in an attempt to try and further my understanding I decided to write a little app in VB.NET - that would allow me to enter some values, and it will spit out some values based on the input.

So, im just wondering if anyone out there who actually knows what there doing with a compressor (unlike myself!!!) would like to try it, and see if the values im outputting seem to be correct, it would be appreciated.

Bear in mind this is the first "program" ive ever written, so theres no error checking etc... (u can get a divide by zero error if you want), also im not sure if I just upload the .exe and it can be used ?! lol, I presume you will need the .net framework (which version I dont know!)

Anyway, enough of me talking crap as usual, the program:

[[ LINK REMOVED ]]

(its only 28kb)


___________________

Last edited by Jimb0b on Oct-10-2009 at 13:38

Old Post Oct-10-2009 13:10  United Kingdom
Click Here to See the Profile for Jimb0b Click here to Send Jimb0b a Private Message Add Jimb0b to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Zak McKracken
Trance



Registered: Jun 2003
Location:

does your prog has timespan output? caus compression is a function of time. if u think u can put one number in and get another number out and assume thats everythings going on your wrong. if your program print some sort of curvediagram with amplitude in the y-direction and time as x then maybe we could put a constant sinus at your input. but again rarely the inputs are constant so you can just throw that app in your bin lol.

read about it then try it. dont overdo it. try to mix your kick and your baseline into one channel and then add the compression and just turn the knobs and see whats gonna happen. As long as you have no idea what it does dont use it on masterchannel. Its easiest so understand/learn it over a baseline kick mix imo. Ive made some terrible tracks while learning this and i still do after 5 years lol

good luck

Old Post Oct-10-2009 13:26 
Click Here to See the Profile for Zak McKracken Click here to Send Zak McKracken a Private Message Add Zak McKracken to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jimb0b
Senior tranceaddict



Registered: Jul 2007
Location:

It is written, to essentially represent a moment in time for the sake of trying to understand some values.

The "Input" field represents the volume of the audio at this imaginary moment in time. (this would normally be the level going IN to the compressor from your DAW)


___________________

Old Post Oct-10-2009 13:29  United Kingdom
Click Here to See the Profile for Jimb0b Click here to Send Jimb0b a Private Message Add Jimb0b to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Zak McKracken
Trance



Registered: Jun 2003
Location:

that level in is also a function of time and not a constant value.

if ur lucky you can input a square puls and with the right compression settings you can get sinus out. lol. thats not really telling you anything right?

Old Post Oct-10-2009 13:32 
Click Here to See the Profile for Zak McKracken Click here to Send Zak McKracken a Private Message Add Zak McKracken to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jimb0b
Senior tranceaddict



Registered: Jul 2007
Location:

Yes, I realise that mate.

Just think of this program being a "freeze frame" of a moment in time, and you have to put the input level in manually, which would normally be done by the daw (over time)

Thanks for the advice though!


___________________

Old Post Oct-10-2009 13:36  United Kingdom
Click Here to See the Profile for Jimb0b Click here to Send Jimb0b a Private Message Add Jimb0b to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DigiNut
You kids get off my lawn!



Registered: Dec 2002
Location: Toronto, Self-proclaimed Centre of the Universe

It's the right idea, although you're ignoring common parameters like the attack, release, and knee, and as others have pointed out, a real compressor can't perform the "instant" compression you are assuming unless it has look-ahead (which most digital ones don't and no analog ones can).

Honestly, I think you're complicating a simple thing. A compressor reduces the gain above a certain level as opposed to the absolute volume. Maybe all these intermediate values will help you "understand", but they aren't going to help at all when it comes to applying it, which is almost all about having an intuitive sense of what parameters will cause what kind of change in the sound and dynamics.


___________________
My party schedule:
2009-02-21 - DJ Attention @ I'm So Popular
2009-06-18 - DJ Annoying @ People Need To Know Where I'll Be
2012-11-32 - DJ Insufferable ɸ Or At Least the Stalkers I Complain About
2048-06-66 - Spastic & Whocares Although I'm Actually Flattered
9999-45-81 - Tweaker Gimp I Probably Won't Even Go To This But I Have To Make Sure I Fill Up All The Available Space Here

Old Post Oct-10-2009 14:57  Canada
Click Here to See the Profile for DigiNut Click here to Send DigiNut a Private Message Add DigiNut to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jimb0b
Senior tranceaddict



Registered: Jul 2007
Location:

I have a habit of over-complicating things! lol

I know it doesnt include things like attack, release, knee, look ahead etc..., but I just was wanting to see if I had the theory right of what is actually happening at a given moment in time with the input signal and what effect the threshold / ratio has on the output volume.

I think doing this though has actually made me understand a little bit better what is actually going on, and now I may be able to apply this knowledge to some real world sounds!! haha

For example say I have a vocal that has an average db of -20db but has some peaks in it at -6db, then I could apply a compressor with a threshold of -20db and a ratio of say 10:1 to allow a more "even" dynamic range (the -6db peaks should now be at -18.6db ( -20 - (-20 - -6) / 10), I have yet to put this theory into practice though.


___________________

Old Post Oct-10-2009 15:29  United Kingdom
Click Here to See the Profile for Jimb0b Click here to Send Jimb0b a Private Message Add Jimb0b to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Beatflux
Rising Star in training



Registered: Mar 2006
Location: Planet Alf

Easiest way to understand it:

Go download s(m)exoscope vst plug-in, which is free. Adjust the time parameter and hit the freeze button to stop the time to see what compression is doing to the waveform. Or you could just render the output it and look at it through your DAW or audio editor.


___________________
quote:
Originally posted by dj_alfi
change your avatar for fucks sake.

Old Post Oct-10-2009 17:17  Trinidad and Tobago
Click Here to See the Profile for Beatflux Click here to Send Beatflux a Private Message Add Beatflux to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Zak McKracken
Trance



Registered: Jun 2003
Location:

why isnt it the easiest way to understand by trying and hear whats happening?

Old Post Oct-10-2009 17:21 
Click Here to See the Profile for Zak McKracken Click here to Send Zak McKracken a Private Message Add Zak McKracken to your buddy list Report this Post Reply w/Quote Edit/Delete Message
RichieV
Supreme tranceaddict



Registered: Aug 2003
Location:

compression is like a senior citizen with a tv remote.

Old Post Oct-10-2009 18:16  United States
Click Here to See the Profile for RichieV Click here to Send RichieV a Private Message Add RichieV to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DigiNut
You kids get off my lawn!



Registered: Dec 2002
Location: Toronto, Self-proclaimed Centre of the Universe

quote:
Originally posted by Jimb0b
For example say I have a vocal that has an average db of -20db but has some peaks in it at -6db, then I could apply a compressor with a threshold of -20db and a ratio of say 10:1 to allow a more "even" dynamic range (the -6db peaks should now be at -18.6db ( -20 - (-20 - -6) / 10), I have yet to put this theory into practice though.

No, no, no, NO. Jesus, compressing a vocal with a 10:1 ratio? This is exactly why I said that throwing around some trivial math isn't going to help you apply it.

You shouldn't even be considering trying to squash a dynamic range of 20 dB down to 2 dB. You might use a ratio that high with a very low threshold as a kind of leveler, to eliminate sudden and unintended peaks in the source. If it's really truly necessary to increase the gain by 18 dB then you might use multiple stages of compression. But much more likely you should be adjusting your actual levels, EQ, and other parts of the mix if it has those kinds of problems.

My advice is to stop worrying about the nitty gritty of how compression works and start learning about how it's actually used, in practice, otherwise you're going to end up with some awful mixes.


___________________
My party schedule:
2009-02-21 - DJ Attention @ I'm So Popular
2009-06-18 - DJ Annoying @ People Need To Know Where I'll Be
2012-11-32 - DJ Insufferable ɸ Or At Least the Stalkers I Complain About
2048-06-66 - Spastic & Whocares Although I'm Actually Flattered
9999-45-81 - Tweaker Gimp I Probably Won't Even Go To This But I Have To Make Sure I Fill Up All The Available Space Here

Old Post Oct-10-2009 18:49  Canada
Click Here to See the Profile for DigiNut Click here to Send DigiNut a Private Message Add DigiNut to your buddy list Report this Post Reply w/Quote Edit/Delete Message
music2dance2
Supreme tranceaddict



Registered: Jul 2001
Location: U.K.

Agreed with others, ditch the math for the time being. You can use what ever method to help you understand, but for now use the compressor tweak settings, raise the volume adjust settings on compressor hear whats happening.

Old Post Oct-10-2009 20:02  United Kingdom
Click Here to See the Profile for music2dance2 Click here to Send music2dance2 a Private Message Add music2dance2 to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > DJing / Production / Promotion > Production Studio > Trying to understand compression
Post New Thread    Post A Reply

Pages (2): [1] 2 »  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbacknice tune! ID pls =) [2002] [2]

Click here to listen to the sample!Pause playbackPeter Luts - "Long Island" (Original Mix) [2003]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 15:01.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!