Audio::GetPitchScaleFromMIDINote

Return a pitch scale factor based on the difference between a base midi note and a target midi note. Useful for samplers.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/Dsp.h"

Syntax

namespace Audio
{
    static float Audio::GetPitchScaleFromMIDINote
    (
        int32 BaseMidiNote,
        int32 TargetMidiNote
    )
}

Remarks

Return a pitch scale factor based on the difference between a base midi note and a target midi note. Useful for samplers.

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