Navigation
API > API/Plugins > API/Plugins/SoundUtilities
Sound Utilities Blueprint Function Library A library of Sound related functions for use in Blueprints
| Name | USoundUtilitiesBPFunctionLibrary |
| Type | class |
| Header File | /Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilities/Public/SoundUtilities.h |
| Include Path | #include "SoundUtilities.h" |
Syntax
UCLASS (MinimalAPI)
class USoundUtilitiesBPFunctionLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → USoundUtilitiesBPFunctionLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float ConvertDecibelsToLinear
(
const float InDecibels |
Converts decibel to linear scale | SoundUtilities.h |
|
static float ConvertLinearToDecibels
(
const float InLinear, |
Converts linear scale volume to decibels | SoundUtilities.h |
|
static float GetBandwidthFromQ
(
const float InQ |
Helper function to get bandwidth from Q | SoundUtilities.h |
|
static float GetBeatTempo
(
float BeatsPerMinute, |
Calculates a beat time in seconds from the given BPM, beat multiplier and divisions of a whole note. | SoundUtilities.h |
|
static float GetFrequencyFromMIDIPitch
(
const int32 MidiNote |
Calculates Frequency values based on MIDI Pitch input | SoundUtilities.h |
|
static float GetFrequencyMultiplierFromSemitones
(
const float InPitchSemitones |
Returns the frequency multiplier to scale a base frequency given the input semitones | SoundUtilities.h |
|
static float GetGainFromMidiVelocity
(
int InVelocity |
Given a velocity value [0,127], return the linear gain | SoundUtilities.h |
|
static float GetLinearFrequencyClamped
(
const float InValue, |
Returns the linear frequency of the input value. | SoundUtilities.h |
|
static float GetLogFrequencyClamped
(
const float InValue, |
Returns the log frequency of the input value. | SoundUtilities.h |
|
static int32 GetMIDIPitchFromFrequency
(
const float Frequency |
Calculates MIDI Pitch values based on frequency input | SoundUtilities.h |
|
static float GetPitchScaleFromMIDIPitch
(
const int32 BaseMidiNote, |
Calculates Pitch Scalar based on starting frequency and desired MIDI Pitch output | SoundUtilities.h |
|
static float GetQFromBandwidth
(
const float InBandwidth |
Helper function to get Q from bandwidth | SoundUtilities.h |
|