AmpCompA:
Filter:
Classes | UGens > Analysis > Amplitude

AmpCompA : AmpComp : PureUGen : UGen : AbstractFunction : Object

Basic psychoacoustic amplitude compensation (ANSI A-weighting curve).
Source: Line.sc

Description

Higher frequencies are normally perceived as louder, which AmpCompA compensates. Following the measurements by Fletcher and Munson, the ANSI standard describes a function for loudness vs. frequency.

Note that this curve is only valid for standardized amplitude. 1

For a simpler but more flexible curve, see AmpComp

Class Methods

AmpCompA.ar(freq: 1000, root: 0, minAmp: 0.32, rootAmp: 1.0)

AmpCompA.kr(freq: 1000, root: 0, minAmp: 0.32, rootAmp: 1.0)

AmpCompA.ir(freq: 1000, root: 0, minAmp: 0.32, rootAmp: 1.0)

Arguments:

freq

Input frequency value. For freq == root, the output is rootAmp.

root

Root freq relative to which the curve is calculated (usually lowest freq). Non-modulatable.

minAmp

Amplitude at the minimum point of the curve (around 2512 Hz). Non-modulatable.

rootAmp

Amplitude at the root frequency. Non-modulatable.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

[1] - Function freq → dB, derived from http://www.beis.de/Elektronik/AudioMeasure/WeightingFilters.html and modified to map freq → amp.