I was wondering if it's possible to pan audio with processing? I'm trying to create a puzzle game that has the player solve the puzzle through sound cues. I'd like to be able control whether a certain soundfile is played through the left ear or the right ear of a pair of headphones, depending on the situation.
I've had some trouble finding the answer to this. I'd like to implement audio into a game project I'm working on. I want to make it so that when a player lands on specific "tiles", a sound will play. How could I go about implementing sound into processing?