CriWare Unreal Engine
Plug-ins for CriWare solutions.
Loading...
Searching...
No Matches
UAtomUtilitiesBlueprintLibrary Class Reference

#include <AtomBlueprintLibrary.h>

Inheritance diagram for UAtomUtilitiesBlueprintLibrary:

Static Public Member Functions

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)

Detailed Description

Atom Utilities Blueprint Function Library A library of Atom related functions for use in Blueprints

Member Function Documentation

◆ ConvertDecibelsToLinear()

float UAtomUtilitiesBlueprintLibrary::ConvertDecibelsToLinear ( float InDecibels,
const FVector2D & InRange )
static

Converts decibel to linear scale.

Parameters
InDecibelsThe decibels to convert to a linear gain scalar.
InRangeThe 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
InDecibelsThe decibels to convert to a linear gain scalar.
InRangeThe 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
InDecibelsThe decibels to convert to a linear gain scalar.
InRangeThe range to use when converting between linear and logarithmic scales.
InFloorThe 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
InLinearThe linear scalar value to convert to decibels.
InRangeThe range to use when converting between linear and logarithmic scales.
InFloorThe 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
InLinearThe linear scalar value to convert to decibels.
InRangeThe 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
InLinearThe linear scalar value to convert to decibels.
InRangeThe range to use when converting between linear and logarithmic scales.
InFloorThe 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
InValueThe logarithmic value to convert to linear frequency
InDomainThe domain to use when converting between linear and logarithmic scales
InRangeThe 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
InValueThe linear value to convert to logarithmic frequency
InDomainThe domain to use when converting between linear and logarithmic scales
InRangeThe 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: