Can 1 linnear potentiometer be used on two devices at once?

OK seen the picture and the answer is no.

In the mixer you have an AC sound signal running through the pot. In the MIDI controller you have the pot producing a DC signal for the electronics. If you put the two together you will screw up both systems.