[open] panning a sound defining the channel through another variable
hello. I have to present some words and sound simultaneously on either the left or the right. The location of the words in the sketchpad has been randomized to coordenates 300 and -300, so when the location is 300 the sound should use the right channel. I know this has to be done with the pan sampler function, but just dont really know how to write the code, or where.