transposes a percentage of input notes by two selectable ocatave shifts. The script supports polyphonic and MPE input and forwards all other midi events.
– Chances can only add up to 100% (ie always)
– Shifts can be adjusted between -2,-1,+1 and +2 octaves

Update v1.1
– The script now handles special cases for polyphonic input, where the remapped note is already active.
Would be great if you make the transpose amount any number rather than entire octaves. Eg plus or minus 7 semitones would shift to perfect 5th intervals which could be very interesting.
Hi juliusa, i have written you a PM
Update v1.2
– Fixed bug in state saving code
Update v1.3
– Fixed the bug that even for 0% chance a note could be transposed