compressor algorithm(s)?

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
mofoman
Posts: 6
Joined: Thu Aug 02, 2012 12:01 am
Operating System: Please select

compressor algorithm(s)?

Post by mofoman » Tue Aug 07, 2012 7:16 pm

Hi gang,

Anyone have a good reference on an algorithm to apply dynamic compression to a sound file? I used Audacity (which is great) to conceptually do what I need and now would like to write a program that could take some command line arguments or even hard coded parameters to read in a file, apply dynamic compression with it and then write it to a file.

I could go and understand the source code if needed but hope there is a little tutorial out there that could explain it quicker before I go write code!

thx....

MFM

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: compressor algorithm(s)?

Post by kozikowski » Tue Aug 07, 2012 8:04 pm

apply dynamic compression to a sound file?
Books have been written. The problem is not how to apply compression. That's a relatively simple math function. The problem is compressing so it sounds good. That's where you write the books. Look-ahead attack, pumping suppression, compression recovery, etc. etc.

You might try taking Chris' Compressor apart and see how it works. He went through all the compression theories and product sound development. He did very well, but then he lost his life license.

http://theaudacitytopodcast.com/chriss- ... -audacity/

Koz

Post Reply