I want to efficiently map MIDI velocity (0 to 127) into an amplitude range from 0 to 1. I want it to be a non-linear mapping.
I'm doing this:
input_value (0 to 127 MIDI velocities)
output_value (0. to 1. for use with a [*~] object)
Is there a more efficient way to do this using standard math objects?
Also, how would I write the above using the [expr ] object?
Thanks in advance,