Map Midi Velocities to Dynamics


I am wondering if it is possible to specify a range of velocities to correlate with a dynamic marking. For instance, if a midi note has a velocity between the range 0-21 a dynamic marking of mp will automatically be written in the score. I know with the dynamic markings you can have dynamic markings change velocities/cc volume ect but you cant seem to have a velocity affect a dynamic marking.

Any work arounds with the logical editor?

Thank you!