Enable context variables in midi transformer

This would enable us to use the transformer to for example extract a bassline in realtime or modify the velocity of the highest note in a chord.

very cool idea.