Audio::QuadraticPeakInterpolation

Given three values, determine peak location and value of quadratic fitted to the data.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h

Include

#include "DSP/Dsp.h"

Syntax

namespace Audio
{
    static bool Audio::QuadraticPeakInterpolation
    (
        const float InValues,
        float & OutPeakLoc,
        float & OutPeakValue
    )
}

Remarks

Given three values, determine peak location and value of quadratic fitted to the data.

Returns

True if a peak was found, false if the values do not represent a peak.

Parameters

Parameter

Description

InValues

An array of 3 values with the maximum value located in InValues[1].

OutPeakLoc

The peak location relative to InValues[1].

OutPeakValue

The value of the peak at the peak location.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss