Navigation
API > API/Plugins > API/Plugins/SoundUtilities > API/Plugins/SoundUtilities/USoundUtilitiesBPFunctionLibrary
Description
Returns the log frequency of the input value. Maps linear domain and range values to log output (good for linear slider controlling frequency)
| Name | GetLogFrequencyClamped |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilities/Public/SoundUtilities.h |
| Include Path | #include "SoundUtilities.h" |
| Source | /Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilities/Private/SoundUtilities.cpp |
UFUNCTION (BlueprintCallable, Category="SoundUtilitiesBPLibrary")
static float GetLogFrequencyClamped
(
const float InValue,
const FVector2D & InDomain,
const FVector2D & InRange
)
The log frequency of the given input
Parameters
| Name | Remarks |
|---|---|
| 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 |