pub fn param_value(v: f32) -> u8Expand description
Performs a linear conversion from [0.0, 1.0] to [0, 127]. If v is smaller than 0.0 return
0. If v is greater than 1.0 return 127. The main purpose of this function is to be used with
MIDI control changes (CC).