More often than not, the MIDI velocity value serves its namesake purpose, directly controlling the amplitude of a sound to simulate the fluctuating dynamics of striking an acoustic instrument with different "velocity". It's also sometimes used to achieve the same variable-strike effect by controlling less obvious parameters, like modulating the frequency of a filter and the release time of an envelope for dampening on "softer" hits.