Method | Defined By | ||
---|---|---|---|
concaveUnipolar(parameter:Number):Number [static]
Compute a normalized concave unipolar control signal going from +1 to 0
as the input goes from 0 to +1;
| AudioUtils | ||
decibelsToFactor(dB:Number):Number [static]
Convert a gain in decibels to a pure proportional factor. | AudioUtils | ||
factorToDecibels(gain:Number):Number [static]
Convert a pure proportional factor to a gain in decibels. | AudioUtils | ||
[static]
Obtain an IRandomAccessSource for a given audio source by caching it if necessary. | AudioUtils |
Constant | Defined By | ||
---|---|---|---|
DECIBELS_PER_DECADE : Number = 20.0 [static] The base 10 exponent multiplier for decibels. | AudioUtils | ||
MINIMUM_CONTROL : Number = 0.0078125 [static] The smallest parametric control signal. | AudioUtils | ||
MINIMUM_CONTROL_LN : Number [static] The natural log of the gain of an inaudible sound. | AudioUtils | ||
MINIMUM_SIGNAL : Number = 1.52587890625E-5 [static] The smallest audible signal strength. | AudioUtils | ||
ZERO_GAIN_DECIBELS : Number [static] The decibel gain at which a sound becomes inaudible at 16 bit sample size. | AudioUtils |
concaveUnipolar | () | method |
public static function concaveUnipolar(parameter:Number):Number
Compute a normalized concave unipolar control signal going from +1 to 0 as the input goes from 0 to +1;
Parameters
parameter:Number |
Number |
decibelsToFactor | () | method |
public static function decibelsToFactor(dB:Number):Number
Convert a gain in decibels to a pure proportional factor.
Parameters
dB:Number |
Number |
factorToDecibels | () | method |
public static function factorToDecibels(gain:Number):Number
Convert a pure proportional factor to a gain in decibels.
Parameters
gain:Number |
Number |
toRandomAccessSource | () | method |
public static function toRandomAccessSource(source:IAudioSource):IRandomAccessSource
Obtain an IRandomAccessSource for a given audio source by caching it if necessary.
Parameters
source:IAudioSource |
IRandomAccessSource |
DECIBELS_PER_DECADE | Constant |
public static const DECIBELS_PER_DECADE:Number = 20.0
The base 10 exponent multiplier for decibels.
MINIMUM_CONTROL | Constant |
public static const MINIMUM_CONTROL:Number = 0.0078125
The smallest parametric control signal.
MINIMUM_CONTROL_LN | Constant |
public static const MINIMUM_CONTROL_LN:Number
The natural log of the gain of an inaudible sound.
MINIMUM_SIGNAL | Constant |
public static const MINIMUM_SIGNAL:Number = 1.52587890625E-5
The smallest audible signal strength.
ZERO_GAIN_DECIBELS | Constant |
public static const ZERO_GAIN_DECIBELS:Number
The decibel gain at which a sound becomes inaudible at 16 bit sample size.