public void setPan(int pan) {
		if (clip.isControlSupported(FloatControl.Type.PAN)) {
			FloatControl panControl = (FloatControl) clip.getControl(FloatControl.Type.PAN);
			panControl.setValue(pan);
		}
	}