Increase Velocity

Could someone help with this? How can I increase incoming velocity by 40 or a different number on midi channel 1?


Input – Note on any note on channel 1 set channel to pp note to qq and velocity to rr


// increase velocity by 40


// midi velocity cannot exceed 127

if rr>127 then rr= 127


Note On channel pp, note qq velocity rr


Thank you, Steve, for your help. I sent you and Florian a message.

OK, I didn’t see it.