Increase Velocity

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

Thanks

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

Rules

// increase velocity by 40

rr=rr+40

// midi velocity cannot exceed 127

if rr>127 then rr= 127

Output

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.

bome@sniz.biz