UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Dsp.h File Reference
#include "Containers/Array.h"
#include "DSP/AlignedBuffer.h"
#include "HAL/Platform.h"
#include "HAL/UnrealMemory.h"
#include "Logging/LogMacros.h"
#include "Math/UnrealMath.h"
#include "Misc/ScopeLock.h"
#include "SignalProcessingModule.h"
#include "Templates/IsFloatingPoint.h"
#include "Templates/IsIntegral.h"
#include "Templates/IsSigned.h"

Go to the source code of this file.

Classes

class  Audio::FSinOsc2DRotation
 
class  Audio::FExponentialEase
 
class  Audio::FLinearEase
 
class  Audio::TParams< T >
 
struct  Audio::DisjointedArrayView< SampleType >
 
class  Audio::TCircularAudioBuffer< SampleType, Alignment >
 
struct  Audio::TGetPower< Base, Exp >
 
struct  Audio::TGetPower< Base, 0 >
 
class  Audio::TSample< SampleType, Q >
 
class  Audio::TSampleRef< SampleType, Q >
 

Namespaces

namespace  Audio
 NO_LOGGING.
 

Macros

#define CHECK_SAMPLE(VALUE)   Audio::CheckSample(VALUE)
 
#define CHECK_SAMPLE2(VALUE)   Audio::CheckSample(VALUE)
 

Functions

void Audio::CheckSample (float InSample, float Threshold=0.001f)
 
float Audio::UnderflowClamp (const float InValue)
 
float Audio::ConvertToDecibels (const float InLinear, const float InFloor=UE_SMALL_NUMBER)
 
float Audio::ConvertToLinear (const float InDecibels)
 
float Audio::GetGainFromVelocity (const float InVelocity)
 
float Audio::FastSin (const float X)
 
float Audio::FastSin2 (const float X)
 
float Audio::FastSin3 (const float X)
 
float Audio::FastTanh (float X)
 
float Audio::FastTan (float X)
 
float Audio::GetBipolar (const float X)
 
float Audio::GetUnipolar (const float X)
 
void Audio::ConvertBipolarBufferToUnipolar (float *InAlignedBuffer, int32 NumSamples)
 
float Audio::GetFrequencyFromMidi (const float InMidiNote)
 
float Audio::GetLogFrequencyClamped (const float InValue, const FVector2D &Domain, const FVector2D &Range)
 
float Audio::GetLinearFrequencyClamped (const float InFrequencyValue, const FVector2D &Domain, const FVector2D &Range)
 
float Audio::GetMidiFromFrequency (const float InFrequency)
 
float Audio::GetPitchScaleFromMIDINote (int32 BaseMidiNote, int32 TargetMidiNote)
 
float Audio::GetFrequencyMultiplier (const float InPitchSemitones)
 
float Audio::GetSemitones (const float InMultiplier)
 
void Audio::GetStereoPan (const float InLinearPan, float &OutLeft, float &OutRight)
 
void Audio::EncodeMidSide (float &LeftChannel, float &RightChannel)
 
void Audio::EncodeMidSide (const FAlignedFloatBuffer &InLeftChannel, const FAlignedFloatBuffer &InRightChannel, FAlignedFloatBuffer &OutMidChannel, FAlignedFloatBuffer &OutSideChannel)
 
void Audio::DecodeMidSide (float &MidChannel, float &SideChannel)
 
void Audio::DecodeMidSide (const FAlignedFloatBuffer &InMidChannel, const FAlignedFloatBuffer &InSideChannel, FAlignedFloatBuffer &OutLeftChannel, FAlignedFloatBuffer &OutRightChannel)
 
float Audio::GetBandwidthFromQ (const float InQ)
 
float Audio::GetQFromBandwidth (const float InBandwidth)
 
bool Audio::QuadraticPeakInterpolation (const float InValues[3], float &OutPeakLoc, float &OutPeakValue)
 
float Audio::LagrangianInterpolation (const TArray< FVector2D > Points, const float Alpha)
 

Macro Definition Documentation

◆ CHECK_SAMPLE

#define CHECK_SAMPLE (   VALUE)    Audio::CheckSample(VALUE)

◆ CHECK_SAMPLE2

#define CHECK_SAMPLE2 (   VALUE)    Audio::CheckSample(VALUE)