Processing stereo volume control using sound library

I agree that minim is the way to go for stereo.

For the Processing Sound library, according to the reference (untested), if your sound is mono, you can set the stereo ratio with pan:

https://processing.org/reference/libraries/sound/SoundFile_pan_.html