Repository navigation
Audiocomplib v0.1.3
What's New in Version 0.1.3
-
Fixed Soft Knee Implementation:
- The soft knee implementation was incorrect in previous versions. This has been fixed to ensure a smooth quadratic transition within the knee region.
- The new implementation uses the equation:
where:
y = x + ((1 / R - 1) * (x - T + W/2)^2) / (2 * W)xis the input level (in dB),yis the output level (in dB),Ris the compression ratio,Tis the threshold (in dB),Wis the knee width (in dB).
- This ensures a seamless transition between the uncompressed and compressed regions.
-
Moved Target Gain Reduction Calculation to
target_gain_reductionPublic Method:- The calculation of the target gain reduction has been moved to the
target_gain_reductionpublic method. - This makes the method more accessible and reusable for users who want to compute gain reduction without processing the entire signal.
- The calculation of the target gain reduction has been moved to the
-
Added Example for Computing and Drawing Transfer Curves:
- A new example has been added to demonstrate how to compute and draw the transfer curves of
AudioCompressorandPeakLimiterusing thetarget_gain_reductionmethod. - The example uses
matplotlibto visualize the input-output relationship in both linear and dB scales.
- A new example has been added to demonstrate how to compute and draw the transfer curves of