frac32.positive vel
frac32.positive sensitivity
frac32.positive envelope
frac32 output
outlet_result = ___SMMUL(((___SMMUL(inlet_vel << 3, inlet_sensitivity << 2)) +
(0x07FFFFFF - inlet_sensitivity))
<< 3,
inlet_envelope << 2);