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).

minAmp

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

rootAmp

Amplitude at the root frequency.

Discussion:

Apart from freq, the values are not modulatable

Inherited class methods

Instance Methods

Inherited instance methods

Examples

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