Get Gain from Midi Velocity

Get Gain from Midi Velocity

Windows
MacOS
Linux

Given a velocity value [0,127], return the linear gain

Target is Sound Utilities BPFunction Library

Get Gain from Midi Velocity
In Velocity
0
Return Value
0.0

Inputs

In
Exec
In Velocity
Integer

The MIDI velocity value to calculate the gain of

Outputs

Out
Exec
Return Value
Float

The gain corresponding to the MIDI value

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