Pan Video audio

Hello, i trying to pan audio from a video using the standard processing video player.
I want to be able to pan audio of a video based on the position of mouseX position.

There is no video.pan option in the standard video player, what can I do?