| 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):NumberCompute 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):NumberConvert a gain in decibels to a pure proportional factor.
Parameters
dB:Number |
Number |
| factorToDecibels | () | method |
public static function factorToDecibels(gain:Number):NumberConvert a pure proportional factor to a gain in decibels.
Parameters
gain:Number |
Number |
| toRandomAccessSource | () | method |
public static function toRandomAccessSource(source:IAudioSource):IRandomAccessSourceObtain 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.0The base 10 exponent multiplier for decibels.
| MINIMUM_CONTROL | Constant |
public static const MINIMUM_CONTROL:Number = 0.0078125The smallest parametric control signal.
| MINIMUM_CONTROL_LN | Constant |
public static const MINIMUM_CONTROL_LN:NumberThe natural log of the gain of an inaudible sound.
| MINIMUM_SIGNAL | Constant |
public static const MINIMUM_SIGNAL:Number = 1.52587890625E-5The smallest audible signal strength.
| ZERO_GAIN_DECIBELS | Constant |
public static const ZERO_GAIN_DECIBELS:NumberThe decibel gain at which a sound becomes inaudible at 16 bit sample size.