#include <AtomBlueprintLibrary.h>
|
| static float | ConvertDecibelsToLinear (float InDecibels, const FVector2D &InRange) |
| static float | ConvertDecibelsToLinearSlower (float InDecibels, const FVector2D &InRange) |
| static float | ConvertDecibelsToLinearSlowerFromFloor (float InDecibels, const FVector2D &InRange, float InFloor=1.e-4) |
| static float | ConvertLinearToDecibels (float InLinear, const FVector2D &InRange, float InFloor=1.e-8) |
| static float | ConvertLinearToDecibelsSlower (float InLinear, const FVector2D &InRange) |
| static float | ConvertLinearToDecibelsSlowerFromFloor (float InLinear, const FVector2D &InRange, float InFloor=1.e-4) |
| static float | GetLinearFrequencyClamped (const float InValue, const FVector2D &InDomain, const FVector2D &InRange) |
| static float | GetLogFrequencyClamped (const float InValue, const FVector2D &InDomain, const FVector2D &InRange) |
Atom Utilities Blueprint Function Library A library of Atom related functions for use in Blueprints
◆ ConvertDecibelsToLinear()
| float UAtomUtilitiesBlueprintLibrary::ConvertDecibelsToLinear |
( |
float | InDecibels, |
|
|
const FVector2D & | InRange ) |
|
static |
Converts decibel to linear scale.
- Parameters
-
| InDecibels | The decibels to convert to a linear gain scalar. |
| InRange | The range to use when converting between linear and logarithmic scales. |
- Returns
- The resulting linear gain.
◆ ConvertDecibelsToLinearSlower()
| float UAtomUtilitiesBlueprintLibrary::ConvertDecibelsToLinearSlower |
( |
float | InDecibels, |
|
|
const FVector2D & | InRange ) |
|
static |
Converts decibel to linear scale with a slower end from 1.e-3 (60dB).
- Parameters
-
| InDecibels | The decibels to convert to a linear gain scalar. |
| InRange | The range to use when converting between linear and logarithmic scales. |
- Returns
- The resulting linear gain.
◆ ConvertDecibelsToLinearSlowerFromFloor()
| float UAtomUtilitiesBlueprintLibrary::ConvertDecibelsToLinearSlowerFromFloor |
( |
float | InDecibels, |
|
|
const FVector2D & | InRange, |
|
|
float | InFloor = 1.e-4 ) |
|
static |
Converts decibel to linear scale with a slower end from a choosen floor.
- Parameters
-
| InDecibels | The decibels to convert to a linear gain scalar. |
| InRange | The range to use when converting between linear and logarithmic scales. |
| InFloor | The floor value to start slower end. (1.e-3 => 60dB, 1.e-4 => 80dB ...) |
- Returns
- The resulting linear gain.
◆ ConvertLinearToDecibels()
| float UAtomUtilitiesBlueprintLibrary::ConvertLinearToDecibels |
( |
float | InLinear, |
|
|
const FVector2D & | InRange, |
|
|
float | InFloor = 1.e-8 ) |
|
static |
Converts linear scale volume to decibels.
- Parameters
-
| InLinear | The linear scalar value to convert to decibels. |
| InRange | The range to use when converting between linear and logarithmic scales. |
| InFloor | The floor value to check against. |
- Returns
- The decibel value of the inputted linear scale.
◆ ConvertLinearToDecibelsSlower()
| float UAtomUtilitiesBlueprintLibrary::ConvertLinearToDecibelsSlower |
( |
float | InLinear, |
|
|
const FVector2D & | InRange ) |
|
static |
Converts linear scale volume to decibels with a slower end from 1.e-3 (60dB).
- Parameters
-
| InLinear | The linear scalar value to convert to decibels. |
| InRange | The range to use when converting between linear and logarithmic scales. |
- Returns
- The decibel value of the inputted linear scale.
◆ ConvertLinearToDecibelsSlowerFromFloor()
| float UAtomUtilitiesBlueprintLibrary::ConvertLinearToDecibelsSlowerFromFloor |
( |
float | InLinear, |
|
|
const FVector2D & | InRange, |
|
|
float | InFloor = 1.e-4 ) |
|
static |
Converts linear scale volume to decibels with a slower end from a choosen floor.
- Parameters
-
| InLinear | The linear scalar value to convert to decibels. |
| InRange | The range to use when converting between linear and logarithmic scales. |
| InFloor | The floor value to start slower end. (1.e-3 => 60dB, 1.e-4 => 80dB ...) |
- Returns
- The decibel value of the inputted linear scale.
◆ GetLinearFrequencyClamped()
| float UAtomUtilitiesBlueprintLibrary::GetLinearFrequencyClamped |
( |
const float | InValue, |
|
|
const FVector2D & | InDomain, |
|
|
const FVector2D & | InRange ) |
|
static |
Returns the linear frequency of the input value. Maps log domain and range values to linear output (good for linear slider representation/visualization of log frequency). Reverse of GetLogFrequencyClamped.
- Parameters
-
| InValue | The logarithmic value to convert to linear frequency |
| InDomain | The domain to use when converting between linear and logarithmic scales |
| InRange | The range to use when converting between linear and logarithmic scales |
- Returns
- The linear frequency of the given logarithmic input
◆ GetLogFrequencyClamped()
| float UAtomUtilitiesBlueprintLibrary::GetLogFrequencyClamped |
( |
const float | InValue, |
|
|
const FVector2D & | InDomain, |
|
|
const FVector2D & | InRange ) |
|
static |
Returns the log frequency of the input value. Maps linear domain and range values to log output (good for linear slider controlling frequency)
- Parameters
-
| InValue | The linear value to convert to logarithmic frequency |
| InDomain | The domain to use when converting between linear and logarithmic scales |
| InRange | The range to use when converting between linear and logarithmic scales |
- Returns
- The log frequency of the given input
The documentation for this class was generated from the following files: